JP7201415B2 - Information processing device and program - Google Patents

Information processing device and program Download PDF

Info

Publication number
JP7201415B2
JP7201415B2 JP2018229403A JP2018229403A JP7201415B2 JP 7201415 B2 JP7201415 B2 JP 7201415B2 JP 2018229403 A JP2018229403 A JP 2018229403A JP 2018229403 A JP2018229403 A JP 2018229403A JP 7201415 B2 JP7201415 B2 JP 7201415B2
Authority
JP
Japan
Prior art keywords
medical
processor
self
medication
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018229403A
Other languages
Japanese (ja)
Other versions
JP2020091750A (en
Inventor
昇 荻野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2018229403A priority Critical patent/JP7201415B2/en
Publication of JP2020091750A publication Critical patent/JP2020091750A/en
Application granted granted Critical
Publication of JP7201415B2 publication Critical patent/JP7201415B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)
  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)

Description

本発明の実施形態は、情報処理装置及びプログラムに関する。 TECHNICAL FIELD Embodiments of the present invention relate to an information processing apparatus and a program.

画像形成装置(情報処理装置)には、病院で発行された領収書を集計し、合計金額などを印刷するものがある。そのような画像形成装置は、所定のシステムを導入している病院から情報を取得することで、各病院で発行された領収書を集計することができる。 Some image forming apparatuses (information processing apparatuses) totalize receipts issued by hospitals and print the total amount of money. Such an image forming apparatus can collect receipts issued by each hospital by acquiring information from hospitals that have introduced a predetermined system.

しかしながら、従来、画像形成装置は、医療費又はセルフメディケーション費を集計し明細書を生成することができないという課題がある。 However, conventionally, the image forming apparatus has a problem that it is impossible to generate a detailed statement by adding up medical expenses or self-medication expenses.

特開2015-32138号公報Japanese Unexamined Patent Application Publication No. 2015-32138

上記の課題を解決するため、医療費又はセルフメディケーション費に関する明細書を生成することができる情報処理装置及びプログラムを提供する。 In order to solve the above problems, an information processing device and a program are provided that can generate a statement regarding medical expenses or self-medication expenses.

実施形態によれば、情報処理装置は、画像インターフェースと、記憶部と、プロセッサと、を備える。画像インターフェースは、画像を取得する。プロセッサは、前記画像から、医療機関名及び医療費、又は、店舗名及びセルフメディケーション費を取得し、前記記憶部に、前記医療機関名及び前記医療費、又は、前記店舗名及び前記セルフメディケーション費を格納し、医療費控除の明細書を生成する場合、前記記憶部が格納する前記医療費を合算して第1の合計金額を算出し、前記医療機関名、前記医療費及び前記第1の合計金額に基づいて、前記医療費控除の明細書を生成し、セルフメディケーション税制の明細書を生成する場合、前記記憶部が格納する前記セルフメディケーション費を合算して第2の合計金額を算出し、前記店舗名、前記セルフメディケーション費及び前記第2の合計金額に基づいて前記セルフメディケーション税制の明細書を生成する。前記プロセッサは、前記セルフメディケーション費を取得する場合、取得した前記店舗名に対応する記号領域情報に基づいて前記画像においてセルフメディケーション税制の対象となる商品を示す指定記号が記載される記号領域を前記画像から特定し前記指定記号を読み取り、前記指定記号に基づいてセルフメディケーション税制の対象となる商品を特定し、特定された商品の金額を合算して前記セルフメディケーション費を取得する。
According to an embodiment, an information processing device includes an image interface, a storage unit, and a processor. The image interface acquires images. The processor obtains the name of the medical institution and the medical expenses or the name of the store and the self-medication expenses from the image, and stores the name of the medical institution and the medical expenses or the name of the shop and the self-medication expenses in the storage unit. When the medical expenses are stored and a medical expense deduction statement is generated, the medical expenses stored in the storage unit are summed to calculate a first total amount, and the medical institution name, the medical expenses, and the first total amount are calculated. When generating the medical expense deduction statement and the self-medication tax system statement based on the total amount of 1, the self-medication expenses stored in the storage unit are added to obtain a second total An amount is calculated, and a statement of the self-medication tax system is generated based on the store name, the self-medication fee, and the second total amount. When the processor acquires the self-medication fee, the processor writes a designated symbol representing a product subject to the self-medication tax system in the image based on the acquired symbol region information corresponding to the store name. is specified from the image, the specified symbol is read, products subject to the self-medication tax system are specified based on the specified symbol, and the amounts of the specified products are added up to obtain the self-medication fee.

図1は、実施形態に係る画像形成装置の構成例を示すブロック図である。FIG. 1 is a block diagram showing a configuration example of an image forming apparatus according to an embodiment. 図2は、実施形態に係る画像形成装置の表示例を示す図である。FIG. 2 is a diagram showing a display example of the image forming apparatus according to the embodiment. 図3は、実施形態に係る画像形成装置の表示例を示す図である。FIG. 3 is a diagram showing a display example of the image forming apparatus according to the embodiment. 図4は、実施形態に係る画像形成装置の表示例を示す図である。FIG. 4 is a diagram showing a display example of the image forming apparatus according to the embodiment. 図5は、実施形態に係る画像形成装置の動作例を示すフローチャートである。FIG. 5 is a flow chart showing an operation example of the image forming apparatus according to the embodiment. 図6は、実施形態に係る画像形成装置の動作例を示すフローチャートである。FIG. 6 is a flow chart showing an operation example of the image forming apparatus according to the embodiment. 図7は、実施形態に係る画像形成装置の動作例を示すフローチャートである。FIG. 7 is a flowchart illustrating an operation example of the image forming apparatus according to the embodiment;

以下、図面を参照しながら実施形態について説明する。
実施形態に係る画像形成装置は、スキャナなどを用いて、病院などの医療機関が発行する領収書(第1の領収書)又は薬局などの店舗が発行する領収書(第2の領収書)を読み取る。画像形成装置は、読取結果に基づいて、医療費又はセルフメディケーション費の合計金額を示す明細書を生成する。画像形成装置は、明細書を用紙に印刷する。
Hereinafter, embodiments will be described with reference to the drawings.
The image forming apparatus according to the embodiment uses a scanner or the like to read a receipt (first receipt) issued by a medical institution such as a hospital or a receipt (second receipt) issued by a store such as a pharmacy. read. The image forming apparatus generates a statement indicating the total amount of medical expenses or self-medication expenses based on the reading result. The image forming apparatus prints the specification on paper.

次に、画像形成装置10について説明する。図1は、画像形成装置10(情報処理装置)の構成例を示すブロック図である。図1が示すように、画像形成装置10は、プロセッサ11、ROM12、RAM13、NVM14、通信部15、操作部インターフェース16、表示部インターフェース17、プリンタインターフェース18、スキャナインターフェース19、操作部26、表示部27、プリンタ28及びスキャナ29などを備える。 Next, the image forming apparatus 10 will be described. FIG. 1 is a block diagram showing a configuration example of an image forming apparatus 10 (information processing apparatus). As shown in FIG. 1, the image forming apparatus 10 includes a processor 11, a ROM 12, a RAM 13, an NVM 14, a communication section 15, an operating section interface 16, a display section interface 17, a printer interface 18, a scanner interface 19, an operating section 26, and a display section. 27, a printer 28, a scanner 29, and the like.

プロセッサ11と、ROM12、RAM13、NVM14、通信部15、操作部インターフェース16、表示部インターフェース17、プリンタインターフェース18及びスキャナインターフェース19と、は、データバスなどを介して互いに接続する。操作部インターフェース16は、操作部26に接続する。表示部インターフェース17は、表示部27に接続する。プリンタインターフェース18は、プリンタ28に接続する。スキャナインターフェース19は、スキャナ29に接続する。 The processor 11, ROM 12, RAM 13, NVM 14, communication section 15, operation section interface 16, display section interface 17, printer interface 18 and scanner interface 19 are connected to each other via a data bus or the like. The operation unit interface 16 connects to the operation unit 26 . The display interface 17 connects to the display 27 . Printer interface 18 connects to printer 28 . Scanner interface 19 connects to scanner 29 .

なお、画像形成装置10は、図1が示すような構成の他に必要に応じた構成を具備したり、画像形成装置10から特定の構成が除外されたりしてもよい。 In addition to the configuration shown in FIG. 1, the image forming apparatus 10 may have a configuration according to need, or a specific configuration may be excluded from the image forming apparatus 10 .

プロセッサ11は、画像形成装置10全体の動作を制御する機能を有する。プロセッサ11は、内部キャッシュ及び各種のインターフェースなどを備えてもよい。プロセッサ11は、内部メモリ、ROM12又はNVM14が予め記憶するプログラムを実行することにより種々の処理を実現する。 The processor 11 has a function of controlling the overall operation of the image forming apparatus 10 . Processor 11 may include an internal cache, various interfaces, and the like. The processor 11 implements various processes by executing programs pre-stored in the internal memory, ROM 12 or NVM 14 .

なお、プロセッサ11がプログラムを実行することにより実現する各種の機能のうちの一部は、ハードウエア回路により実現されるものであってもよい。この場合、プロセッサ11は、ハードウエア回路により実行される機能を制御する。 Note that some of the various functions realized by the processor 11 executing the program may be realized by hardware circuits. In this case, processor 11 controls the functions performed by the hardware circuits.

ROM12は、制御プログラム及び制御データなどが予め記憶された不揮発性のメモリである。ROM12に記憶される制御プログラム及び制御データは、画像形成装置10の仕様に応じて予め組み込まれる。 The ROM 12 is a nonvolatile memory in which control programs, control data, and the like are stored in advance. The control programs and control data stored in the ROM 12 are installed in advance according to the specifications of the image forming apparatus 10 .

RAM13は、揮発性のメモリである。RAM13は、プロセッサ11の処理中のデータなどを一時的に格納する。RAM13は、プロセッサ11からの命令に基づき種々のアプリケーションプログラムを格納する。また、RAM13は、アプリケーションプログラムの実行に必要なデータ及びアプリケーションプログラムの実行結果などを格納してもよい。 RAM 13 is a volatile memory. The RAM 13 temporarily stores data being processed by the processor 11 . RAM 13 stores various application programs based on instructions from processor 11 . Also, the RAM 13 may store data necessary for executing the application program, execution results of the application program, and the like.

NVM14(記憶部)は、データの書き込み及び書き換えが可能な不揮発性のメモリである。NVM14は、たとえば、HDD(Hard Disk Drive)、SSD(Solid State Drive)又はフラッシュメモリなどから構成される。NVM14は、画像形成装置10の運用用途に応じて制御プログラム、アプリケーション及び種々のデータなどを格納する。 The NVM 14 (storage unit) is a non-volatile memory in which data can be written and rewritten. The NVM 14 is composed of, for example, an HDD (Hard Disk Drive), SSD (Solid State Drive), flash memory, or the like. The NVM 14 stores control programs, applications, various data, and the like according to the operational use of the image forming apparatus 10 .

NVM14は、第1の領域情報データベース、第2の領域情報データベース、医療費レコードデータベース及びセルフメディケーション費レコードデータベースなどを格納する。第1の領域情報データベース、第2の領域情報データベース、医療費レコードデータベース及びセルフメディケーション費レコードデータベースについては、後述する。 The NVM 14 stores a first area information database, a second area information database, a medical expense record database, a self-medication expense record database, and the like. The first area information database, the second area information database, the medical expense record database, and the self-medication expense record database will be described later.

通信部15は、外部装置とデータを送受信するためのインターフェースである。通信部15は、所定のネットワークに接続するものであってもよい。通信部15は、たとえば、有線又は無線のLAN接続をサポートするインターフェースである。 The communication unit 15 is an interface for transmitting and receiving data to and from an external device. The communication unit 15 may be connected to a predetermined network. The communication unit 15 is, for example, an interface that supports wired or wireless LAN connection.

操作部インターフェース16は、操作部26とデータを送受信するためのインターフェースである。たとえば、操作部インターフェース16は、操作部26に入力された操作を示す信号をプロセッサ11に送信する。また、操作部インターフェース16は、操作部26に電力を供給するものであってもよい。 The operation unit interface 16 is an interface for transmitting and receiving data to and from the operation unit 26 . For example, the operation unit interface 16 transmits to the processor 11 a signal indicating the operation input to the operation unit 26 . Also, the operation unit interface 16 may supply power to the operation unit 26 .

表示部インターフェース17は、表示部27とデータを送受信するためのインターフェースである。たとえば、表示部インターフェース17は、プロセッサ11の制御に基づいて、画像データを表示部27に送信する。また、表示部インターフェース17は、表示部27に電力を供給するものであってもよい。 The display unit interface 17 is an interface for transmitting and receiving data to and from the display unit 27 . For example, display interface 17 transmits image data to display 27 under the control of processor 11 . Also, the display interface 17 may supply power to the display 27 .

プリンタインターフェース18は、プリンタ28とデータを送受信するためのインターフェースである。たとえば、プリンタインターフェース18は、プロセッサ11の制御に基づいて、イメージデータをプリンタ28に送信する。また、プリンタインターフェース18は、プリンタ28に電力を供給するものであってもよい。 The printer interface 18 is an interface for transmitting/receiving data to/from the printer 28 . For example, printer interface 18 transmits image data to printer 28 under the control of processor 11 . Printer interface 18 may also provide power to printer 28 .

スキャナインターフェース19(画像インターフェース)は、スキャナ29とデータを送受信するためのインターフェースである。たとえば、スキャナインターフェース19は、スキャナ29からのスキャンデータ(画像)を取得しプロセッサ11に送信する。また、スキャナインターフェース19は、スキャナ29に電力を供給するものであってもよい。 A scanner interface 19 (image interface) is an interface for transmitting and receiving data to and from the scanner 29 . For example, scanner interface 19 acquires scan data (images) from scanner 29 and transmits them to processor 11 . The scanner interface 19 may also supply power to the scanner 29 .

操作部26は、オペレータから種々の操作の入力を受け付ける。操作部26は、操作部インターフェース16を通じて、入力された操作を示す信号をプロセッサ11へ送信する。ここでは、操作部26は、タッチパネルから構成される。 The operation unit 26 receives input of various operations from the operator. The operation unit 26 transmits a signal indicating the input operation to the processor 11 through the operation unit interface 16 . Here, the operation unit 26 is composed of a touch panel.

表示部27は、プロセッサ11からの画像データを表示する。たとえば、表示部27は、液晶モニタから構成される。ここでは、表示部27は、操作部26と一体的に形成される。 The display unit 27 displays image data from the processor 11 . For example, the display unit 27 is composed of a liquid crystal monitor. Here, the display section 27 is formed integrally with the operation section 26 .

プリンタ28は、プロセッサ11からのイメージデータなどに基づいて画像を用紙に印刷する。たとえば、プリンタ28は、用紙を供給する供給部及び用紙に画像を印字する印字部などから構成される。 The printer 28 prints an image on paper based on the image data from the processor 11 and the like. For example, the printer 28 includes a supply unit for supplying paper and a printing unit for printing an image on the paper.

プリンタ28は、用紙部から用紙を取り出して印字部まで搬送する。プリンタ28は、印字部を用いて用紙に画像を形成する。印字部は、たとえば、インクジェット方式又は電子写真方式で用紙に画像を形成する。プリンタ28の構成は、特定の構成に限定されるものではない。 The printer 28 takes out the paper from the paper section and conveys it to the printing section. The printer 28 forms an image on paper using a printing unit. The printing unit forms an image on paper by, for example, an inkjet method or an electrophotographic method. The configuration of printer 28 is not limited to any particular configuration.

スキャナ29は、原稿からスキャンデータを取得するインターフェースである。たとえば、スキャナ29は、画像形成装置10の上部に形成される。スキャナ29は、原稿を光学的に走査し、原稿の画像を読み取る。スキャナ29は、原稿をセットする透明な原稿台及び主走査方向に形成されるセンサ列などから構成される。スキャナ29は、原稿台にセットされた原稿を下方から読み取る。スキャナ29は、副走査方向にセンサ列を移動し、原稿全体を読み取る。なお、スキャナ29は、用紙を副走査方向に搬送して用紙全体を読み取ってもよい。また、スキャナ29は、原稿を照らす光源などを備えてもよい。 A scanner 29 is an interface that acquires scan data from a document. For example, scanner 29 is formed on top of image forming apparatus 10 . The scanner 29 optically scans the original and reads the image of the original. The scanner 29 is composed of a transparent platen on which a document is set, a sensor array formed in the main scanning direction, and the like. The scanner 29 reads the document set on the document table from below. The scanner 29 moves the sensor array in the sub-scanning direction to read the entire document. Note that the scanner 29 may convey the paper in the sub-scanning direction and read the entire paper. The scanner 29 may also include a light source for illuminating the document.

次に、第1の領域情報データベースについて説明する。 Next, the first area information database will be explained.

第1の領域情報データベースは、医療機関ごとに、第1の領収書において住所が記載される領域(第1の住所領域)、日付が記載される領域(第1の日付領域)及び医療費が記載される領域(医療費領域)を示す。 The first area information database includes, for each medical institution, an area in which an address is written (first address area), an area in which a date is written (first date area), and medical expenses in the first receipt. Indicate the area covered (Medical expense area).

住所は、医療機関の所在である。 The address is the location of the medical institution.

日付は、ユーザが当該医療機関において治療を受けた日時である。 The date is the date and time when the user received treatment at the medical institution.

医療費は、治療に掛かった費用である。 Medical expenses are expenses incurred for treatment.

たとえば、第1の領域情報データベースは、医療機関名と、第1の住所領域を示す第1の住所領域情報、第1の日付領域を示す第1の日付領域情報及び医療費領域を示す医療費領域情報とを対応付けて格納する。 For example, the first area information database includes a medical institution name, first address area information indicating a first address area, first date area information indicating a first date area, and medical expense information indicating a medical expense area. Stored in association with area information.

たとえば、第1の住所領域情報は、第1の領収書において医療機関名が記載される領域(医療機関名領域)と相対的な位置(たとえば、第1の住所領域の4頂点の座標など)を示す。同様に、第1の日付領域情報は、医療機関名領域と相対的な位置(たとえば、第1の日付領域の4頂点の座標など)を示す。また、医療費領域情報は、医療機関名領域と相対的な位置(たとえば、医療費領域の4頂点の座標など)を示す。 For example, the first address area information is the area (medical institution name area) in which the medical institution name is described in the first receipt and the relative position (for example, the coordinates of the four vertices of the first address area). indicates Similarly, the first date area information indicates the position relative to the medical institution name area (eg, the coordinates of the four vertices of the first date area). In addition, the medical expense area information indicates the position relative to the medical institution name area (for example, the coordinates of the four vertices of the medical expense area).

次に、第2の領域情報データベースについて説明する。 Next, the second area information database will be explained.

第2の領域情報データベースは、店舗ごとに、第2の領収書において住所が記載される領域(第2の住所領域)、日付が記載される領域(第2の日付領域)、指定記号が記載される領域(記号領域)及び金額が記載される領域(金額領域)を示す。なお、金額領域は、金額及び商品名が記載される領域であってもよい。 The second area information database stores, for each store, an area where an address is written (second address area), an area where a date is written (second date area), and a designated symbol on the second receipt. area (symbol area) where the amount is written and area (amount area) where the amount is written. Note that the amount area may be an area in which the amount and product name are described.

住所は、店舗の所在である。 The address is the location of the store.

日付は、ユーザが当該店舗において商品を購入した日時である。 The date is the date and time when the user purchased the product at the store.

指定記号は、セルフメディケーション税制の対象となる医薬品を示す記号である。たとえば、指定記号は、セルフメディケーション税制の対象となる医薬品の商品名などの近傍に表示されるマークなどである。 Designated symbols are symbols that indicate drugs that are subject to the self-medication tax system. For example, the designation symbol is a mark displayed near the product name of pharmaceuticals subject to the self-medication tax system.

金額は、ユーザが購入した商品の金額である。 The amount is the amount of the product purchased by the user.

たとえば、第2の領域情報データベースは、店舗名と、第2の住所領域を示す住所領域情報、第2の日付領域を示す第2の日付領域情報、記号領域を示す指定記号領域情報及び金額領域を示す金額領域情報とを対応付けて格納する。 For example, the second area information database contains store names, address area information indicating the second address area, second date area information indicating the second date area, specified symbol area information indicating the symbol area, and money amount area. is stored in association with the amount region information indicating .

たとえば、住所領域情報は、第2の領収書において店舗名が記載される領域(店舗名領域)と相対的な位置(たとえば、第1の住所領域の4頂点の座標など)を示す。同様に、日付領域情報は、店舗名領域と相対的な位置(たとえば、第2の日付領域の4頂点の座標など)を示す。また、指定記号領域情報は、店舗名領域と相対的な位置(たとえば、記号領域の4頂点の座標など)を示す。また、金額領域情報は、店舗名領域と相対的な位置(たとえば、金額領域の4頂点の座標など)を示す。 For example, the address area information indicates the area (store name area) where the store name is written on the second receipt and the relative position (for example, the coordinates of the four vertices of the first address area). Similarly, the date area information indicates the position relative to the store name area (for example, the coordinates of the four vertices of the second date area). Also, the specified symbol area information indicates the relative position to the store name area (for example, the coordinates of the four vertices of the symbol area). Also, the money amount area information indicates the position relative to the store name area (for example, the coordinates of the four vertices of the money amount area).

次に、医療費レコードデータベースについて説明する。 Next, the medical expense record database will be explained.

医療費レコードデータベースは、ユーザが治療を受けた医療機関名、住所、日付及び医療費などを示す医療費レコードを格納する。 The medical expense record database stores medical expense records indicating the medical institution name, address, date, medical expense, etc. where the user received treatment.

医療費レコードは、医療機関名、住所、日付及び医療費を対応付けて格納する。 The medical expense record stores medical institution names, addresses, dates, and medical expenses in association with each other.

医療機関名、住所、日付及び医療費については、前述の通りである。 The medical institution name, address, date and medical expenses are as described above.

次に、セルフメディケーション費レコードデータベースについて説明する。 Next, the self-medication expense record database will be described.

セルフメディケーション費レコードデータベースは、ユーザが医薬品を購入した店舗名、日付及びセルフメディケーション費などを示すセルフメディケーション費レコードを格納する。 The self-medication expense record database stores self-medication expense records indicating the name of the store where the user purchased the drug, the date, the self-medication expense, and the like.

セルフメディケーション費レコードは、店舗名、日付及びセルフメディケーション費を対応付けて格納する。 The self-medication expense record stores store name, date, and self-medication expense in association with each other.

店舗名及び日付については、前述の通りである。 The store name and date are as described above.

セルフメディケーション費は、セルフメディケーション税制の対象となる医薬品の金額である。即ち、セルフメディケーション費は、指定記号が示す医薬品の金額である。 Self-medication expenses are the amount of drugs subject to the self-medication tax system. That is, the self-medication fee is the amount of medicine indicated by the designated symbol.

次に、画像形成装置10が実現する機能について説明する。画像形成装置10が実現する機能は、プロセッサ11がROM12又はNVM14などに格納されるプログラムを実行することで実現される。 Next, functions realized by the image forming apparatus 10 will be described. Functions realized by the image forming apparatus 10 are realized by the processor 11 executing a program stored in the ROM 12, the NVM 14, or the like.

まず、画像形成装置10のプロセッサ11は、医療費レコードの登録又はセルフメディケーション費レコードの登録の何れを行うかを選択する機能を有する。 First, the processor 11 of the image forming apparatus 10 has a function of selecting either registration of a medical expense record or registration of a self-medication expense record.

たとえば、プロセッサ11は、医療費レコードの登録を示すアイコン及びセルフメディケーション費レコードの登録を示すアイコンを表示部27に表示する。プロセッサ11は、操作部26を通じて両アイコンの何れかへのタップを受け付け、タップされたアイコンに基づいて医療費レコードの登録又はセルフメディケーション費レコードの登録の何れかを選択する。 For example, the processor 11 displays an icon indicating registration of a medical expense record and an icon indicating registration of a self-medication expense record on the display unit 27 . The processor 11 accepts a tap on either of the two icons through the operation unit 26, and selects either registration of the medical expense record or registration of the self-medication expense record based on the tapped icon.

また、プロセッサ11は、医療費レコードの登録を選択した場合、スキャナ29を用いて、医療機関が発行する第1の領収書の画像を取得する機能を有する。 The processor 11 also has a function of acquiring an image of a first receipt issued by a medical institution using the scanner 29 when registration of a medical expense record is selected.

ここでは、ユーザは、医療機関が発行する第1の領収書をスキャナ29にセットするものとする。 Here, it is assumed that the user sets the first receipt issued by the medical institution on the scanner 29 .

プロセッサ11は、スキャナ29に対してスキャンを開始させる信号を送信する。スキャナ29は、当該信号に従って第1の領収書をスキャンする。スキャナ29は、スキャンして得られたスキャンデータをプロセッサ11に送信する。 Processor 11 sends a signal to scanner 29 to start scanning. Scanner 29 scans the first receipt according to the signal. The scanner 29 transmits scan data obtained by scanning to the processor 11 .

プロセッサ11は、スキャンデータを第1の領収書の画像として取得する。 Processor 11 acquires the scan data as an image of the first receipt.

また、プロセッサ11は、第1の領収書の画像から第1の領域情報データベースの医療機関名を抽出する機能を有する。 The processor 11 also has a function of extracting the medical institution name of the first region information database from the image of the first receipt.

プロセッサ11は、OCR(Optical Character Recognition)処理によって第1の領収書の画像からテキストを抽出する。テキストを抽出すると、プロセッサ11は、抽出したテキストに第1の領域情報データベースの医療機関名が含まれるか判定する。たとえば、プロセッサ11は、第1の領域情報データベースの各医療機関名を当該テキストから検索する。 The processor 11 extracts the text from the image of the first receipt by OCR (Optical Character Recognition) processing. After extracting the text, processor 11 determines whether the extracted text contains the name of the medical institution in the first regional information database. For example, processor 11 searches the text for each medical institution name in the first regional information database.

また、プロセッサ11は、第1の領収書の画像から医療機関名の抽出に成功した場合、第1の領域情報データベースから第1の住所領域情報、第1の日付領域情報及び医療費領域情報を取得する機能を有する。 Further, when the name of the medical institution is successfully extracted from the image of the first receipt, the processor 11 retrieves the first address area information, the first date area information, and the medical expense area information from the first area information database. It has a function to acquire.

プロセッサ11は、第1の領域情報データベースから、第1の領収書の画像から抽出した医療機関名に対応する第1の住所領域情報、第1の日付領域情報及び医療費領域情報を検索し取得する。 The processor 11 searches and acquires first address area information, first date area information, and medical expense area information corresponding to the medical institution name extracted from the image of the first receipt from the first area information database. do.

また、プロセッサ11は、第1の領収書の画像から医療機関名の抽出に失敗した場合、医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける機能を有する。 Further, the processor 11 has a function of accepting inputs of a medical institution name area, a first address area, a first date area, and a medical expense area when extraction of the medical institution name from the image of the first receipt fails. have.

たとえば、プロセッサ11は、読み取った第1の領収書の画像を表示部27に表示する。また、プロセッサ11は、医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を促すメッセージなどを表示部27に表示する。 For example, processor 11 displays the image of the read first receipt on display unit 27 . In addition, the processor 11 displays on the display unit 27 a message prompting the user to enter the medical institution name area, the first address area, the first date area, and the medical expense area.

第1の領収書の画像を表示部27に表示すると、プロセッサ11は、操作部26を通じて、ユーザから医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける。たとえば、プロセッサ11は、操作部26をタップした位置などに基づいて、医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける。 When the image of the first receipt is displayed on the display unit 27, the processor 11 accepts the input of the medical institution name area, the first address area, the first date area, and the medical expense area from the user through the operation unit 26. . For example, the processor 11 accepts input of a medical institution name area, a first address area, a first date area, and a medical expense area based on the position where the operation unit 26 is tapped.

図2は、プロセッサ11が第1の領収書の画像を表示部27に表示する表示例を示す。図2が示すように、プロセッサ11は、表示領域30に第1の領収書の画像を表示する。 FIG. 2 shows a display example in which the processor 11 displays the image of the first receipt on the display unit 27. As shown in FIG. As FIG. 2 shows, processor 11 displays an image of the first receipt in display area 30 .

プロセッサ11は、表示領域30において、ユーザからのタップによって医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける。ここでは、プロセッサ11は、医療機関名領域31、第1の住所領域32、第1の日付領域33及び医療費領域34の入力を受け付ける。 The processor 11 accepts input of a medical institution name area, a first address area, a first date area, and a medical expense area by tapping from the user in the display area 30 . Here, the processor 11 accepts inputs for the medical institution name area 31 , first address area 32 , first date area 33 and medical expense area 34 .

また、プロセッサ11は、入力された医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域を用いて、第1の領域情報データベースにレコードを登録する機能を有する。 The processor 11 also has a function of registering a record in the first area information database using the entered medical institution name area, first address area, first date area, and medical expense area.

プロセッサ11は、入力された医療機関名領域から医療機関名を読み取る。医療機関名を読み取ると、プロセッサ11は、第1の住所領域情報、第1の日付領域情報及び医療費領域情報を生成する。たとえば、プロセッサ11は、医療機関名領域の位置と第1の住所領域の位置とから第1の住所領域情報を生成する。同様に、プロセッサ11は、医療機関名領域の位置と第1の日付領域の位置とから第1の日付領域情報を生成する。また、プロセッサ11は、医療機関名領域の位置と医療費領域の位置とから医療費領域情報を生成する。 The processor 11 reads the medical institution name from the input medical institution name area. Upon reading the medical institution name, processor 11 generates first address region information, first date region information and medical expense region information. For example, processor 11 generates first address area information from the location of the medical institution name area and the location of the first address area. Similarly, processor 11 generates first date field information from the position of the medical institution name field and the position of the first date field. The processor 11 also generates medical expense area information from the location of the medical institution name area and the location of the medical expense area.

第1の住所領域情報、第1の日付領域情報及び医療費領域情報を生成すると、プロセッサ11は、医療機関名と第1の住所領域情報、第1の日付領域情報及び医療費領域情報とを対応付けたレコードを第1の領域情報データベースに登録する。 After generating the first address region information, the first date region information and the medical cost region information, the processor 11 combines the medical institution name with the first address region information, the first date region information and the medical cost region information. The associated record is registered in the first area information database.

また、プロセッサ11は、第1の住所領域情報、第1の日付領域情報及び医療費領域情報に基づいて住所、日付及び医療費を読み取る機能を有する。 The processor 11 also has the ability to read addresses, dates and medical expenses based on the first address area information, the first date area information and the medical expense area information.

プロセッサ11は、第1の住所領域情報に基づいて、第1の領収書の画像において第1の住所領域を特定する。たとえば、プロセッサ11は、医療機関名領域の位置と第1の住所領域情報とに基づいて第1の住所領域を特定する。なお、プロセッサ11は、医療機関名の傾きにさらに基づいて第1の住所領域を特定してもよい。 Processor 11 identifies the first address area in the image of the first receipt based on the first address area information. For example, processor 11 identifies the first address area based on the location of the medical institution name area and the first address area information. Note that the processor 11 may specify the first address area further based on the inclination of the medical institution name.

第1の住所領域を特定すると、プロセッサ11は、第1の住所領域から住所を読み取る。 Having identified the first address area, processor 11 reads the address from the first address area.

また、プロセッサ11は、第1の住所領域情報を第1の領域情報データベースに登録した場合、入力された第1の住所領域から住所を読み取ってもよい。 Further, when the first address area information is registered in the first area information database, the processor 11 may read the address from the input first address area.

同様に、プロセッサ11は、第1の日付領域情報に基づいて、第1の領収書の画像において第1の日付領域を特定する。第1の日付領域を特定すると、プロセッサ11は、第1の日付領域から日付を読み取る。 Similarly, processor 11 identifies a first date field in the image of the first receipt based on the first date field information. Having identified the first date field, processor 11 reads the date from the first date field.

また、プロセッサ11は、医療費領域情報に基づいて、第1の領収書の画像において医療費領域を特定する。医療費領域を特定すると、プロセッサ11は、医療費領域から医療費を読み取る。 Also, the processor 11 identifies the medical expense area in the image of the first receipt based on the medical expense area information. Having identified the medical expense area, processor 11 reads the medical expense from the medical expense area.

また、プロセッサ11は、読み取った医療機関名、住所、日付及び医療費を対応付けた医療費レコードを医療費レコードデータベースに登録する機能を有する。 The processor 11 also has a function of registering a medical expense record in which the read medical institution name, address, date, and medical expense are associated with each other in the medical expense record database.

プロセッサ11は、読み取った医療機関名、住所、日付及び医療費を対応付けた医療費レコードを生成し医療費レコードデータベースに登録する。 The processor 11 generates a medical expense record in which the read medical institution name, address, date, and medical expense are associated with each other, and registers it in the medical expense record database.

また、プロセッサ11は、セルフメディケーション費レコードの登録を選択した場合、スキャナ29を用いて、店舗が発行する第2の領収書の画像を取得する機能を有する。 The processor 11 also has a function of acquiring an image of the second receipt issued by the store using the scanner 29 when registering the self-medication expense record is selected.

ここでは、ユーザは、店舗が発行する第2の領収書をスキャナ29にセットするものとする。 Here, it is assumed that the user sets the second receipt issued by the store on the scanner 29 .

プロセッサ11は、スキャナ29に対してスキャンを開始させる信号を送信する。スキャナ29は、当該信号に従って第2の領収書をスキャンする。スキャナ29は、スキャンして得られたスキャンデータをプロセッサ11に送信する。 Processor 11 sends a signal to scanner 29 to start scanning. Scanner 29 scans the second receipt according to the signal. The scanner 29 transmits scan data obtained by scanning to the processor 11 .

プロセッサ11は、スキャンデータを第2の領収書の画像として取得する。 Processor 11 acquires the scan data as an image of the second receipt.

また、プロセッサ11は、第2の領収書の画像から第2の領域情報データベースの店舗名を抽出する機能を有する。 The processor 11 also has a function of extracting the store name of the second area information database from the image of the second receipt.

プロセッサ11は、OCR処理によって第2の領収書の画像からテキストを抽出する。テキストを抽出すると、プロセッサ11は、抽出したテキストに第2の領域情報データベースの店舗名が含まれるか判定する。たとえば、プロセッサ11は、第2の領域情報データベースの各店舗名を当該テキストから検索する。 Processor 11 extracts the text from the second receipt image by OCR processing. After extracting the text, the processor 11 determines whether the extracted text includes the store name of the second area information database. For example, processor 11 retrieves each store name in the second area information database from the text.

また、プロセッサ11は、第2の領収書の画像から店舗名の抽出に成功した場合、第2の領域情報データベースから第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報を取得する機能を有する。 Further, when the processor 11 succeeds in extracting the store name from the image of the second receipt, the processor 11 extracts the second address area information, the second date area information, the symbol area information and the amount area from the second area information database. It has a function to acquire information.

プロセッサ11は、第2の領域情報データベースから、第2の領収書の画像から抽出した店舗名に対応する第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報を検索し取得する。 The processor 11 retrieves second address area information, second date area information, symbol area information, and money amount area information corresponding to the store name extracted from the image of the second receipt from the second area information database. and get.

また、プロセッサ11は、第2の領収書の画像から店舗名の抽出に失敗した場合、店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける機能を有する。 Further, the processor 11 has a function of accepting inputs of a store name area, a second address area, a second date area, a symbol area, and an amount area when the extraction of the store name from the image of the second receipt fails. have.

たとえば、プロセッサ11は、読み取った第2の領収書の画像を表示部27に表示する。また、プロセッサ11は、店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を促すメッセージなどを表示部27に表示する。 For example, processor 11 displays the image of the read second receipt on display unit 27 . Also, the processor 11 displays on the display unit 27 a message prompting the user to enter the store name area, the second address area, the second date area, the symbol area, and the amount area.

第2の領収書の画像を表示部27に表示すると、プロセッサ11は、操作部26を通じて、ユーザから店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける。たとえば、プロセッサ11は、操作部26をタップした位置などに基づいて、店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける。 When the image of the second receipt is displayed on the display unit 27, the processor 11 prompts the user to input a store name area, a second address area, a second date area, a symbol area and an amount area through the operation unit 26. accept. For example, the processor 11 accepts inputs of a store name area, a second address area, a second date area, a symbol area, and an amount area based on the position where the operation unit 26 is tapped.

図3は、プロセッサ11が第2の領収書の画像を表示部27に表示する表示例を示す。図3が示すように、プロセッサ11は、表示領域40に第2の領収書の画像を表示する。 FIG. 3 shows a display example in which the processor 11 displays the image of the second receipt on the display unit 27. As shown in FIG. As FIG. 3 shows, processor 11 displays an image of the second receipt in display area 40 .

プロセッサ11は、表示領域40において、ユーザからのタップによって店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける。ここでは、プロセッサ11は、店舗名領域41、第2の住所領域42、第2の日付領域43、記号領域44及び金額領域45の入力を受け付ける。 The processor 11 accepts input of a store name area, a second address area, a second date area, a symbol area, and an amount area by tapping from the user in the display area 40 . Here, the processor 11 accepts inputs for the store name area 41 , the second address area 42 , the second date area 43 , the symbol area 44 and the amount area 45 .

また、プロセッサ11は、入力された店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域を用いて、第2の領域情報データベースにレコードを登録する機能を有する。 The processor 11 also has a function of registering a record in the second area information database using the entered store name area, second address area, second date area, symbol area and amount area.

プロセッサ11は、入力された店舗名領域から店舗名を読み取る。店舗名を読み取ると、プロセッサ11は、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報を生成する。たとえば、プロセッサ11は、店舗名領域の位置と第2の住所領域の位置とから第2の住所領域情報を生成する。同様に、プロセッサ11は、店舗名領域の位置と第2の日付領域の位置とから第2の日付領域情報を生成する。また、プロセッサ11は、店舗名領域の位置と記号領域の位置とから記号領域情報を生成する。また、プロセッサ11は、店舗名領域の位置と金額領域の位置とから金額領域情報を生成する。 The processor 11 reads the store name from the input store name area. Upon reading the store name, processor 11 generates second address field information, second date field information, symbol field information and amount field information. For example, processor 11 generates second address area information from the location of the store name area and the location of the second address area. Similarly, processor 11 generates second date area information from the location of the store name area and the location of the second date area. Also, the processor 11 generates symbol area information from the position of the store name area and the position of the symbol area. Also, the processor 11 generates amount area information from the position of the store name area and the position of the amount area.

第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報を生成すると、プロセッサ11は、店舗名と第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報とを対応付けたレコードを第2の領域情報データベースに登録する。 After generating the second address area information, the second date area information, the symbol area information and the amount area information, the processor 11 generates the store name, the second address area information, the second date area information, the symbol area information and the amount area information. A record associated with the amount area information is registered in the second area information database.

また、プロセッサ11は、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報に基づいて住所、日付、指定記号及び金額を読み取る機能を有する。 Also, the processor 11 has a function of reading an address, a date, a designated symbol and an amount based on the second address area information, the second date area information, the symbol area information and the amount area information.

プロセッサ11は、第2の住所領域情報に基づいて、第2の領収書の画像において第2の住所領域を特定する。たとえば、プロセッサ11は、店舗名領域の位置と第2の住所領域情報とに基づいて第2の住所領域を特定する。なお、プロセッサ11は、店舗名の傾きにさらに基づいて第2の住所領域を特定してもよい。 Processor 11 identifies the second address area in the image of the second receipt based on the second address area information. For example, processor 11 identifies the second address area based on the location of the store name area and the second address area information. Note that the processor 11 may specify the second address area further based on the inclination of the store name.

第2の住所領域を特定すると、プロセッサ11は、第2の住所領域から住所を読み取る。 Upon identifying the second address field, processor 11 reads the address from the second address field.

また、プロセッサ11は、第2の住所領域情報を第2の領域情報データベースに登録した場合、入力された第2の住所領域から住所を読み取ってもよい。 Further, when the second address area information is registered in the second area information database, the processor 11 may read the address from the input second address area.

同様に、プロセッサ11は、第1の日付領域情報に基づいて、第2の領収書の画像において第2の日付領域を特定する。第2の日付領域を特定すると、プロセッサ11は、第2の日付領域から日付を読み取る。 Similarly, processor 11 identifies a second date field in the image of the second receipt based on the first date field information. Upon identifying the second date field, processor 11 reads the date from the second date field.

また、プロセッサ11は、記号領域情報に基づいて、第2の領収書の画像において記号領域を特定する。記号領域を特定すると、プロセッサ11は、記号領域から指定記号を読み取る。 Also, the processor 11 identifies the symbol area in the image of the second receipt based on the symbol area information. After identifying the symbol area, processor 11 reads the designated symbol from the symbol area.

また、プロセッサ11は、読み取った店舗名、住所、日付、指定記号及び金額に基づいて、セルフメディケーション費レコードをセルフメディケーション費レコードデータベースに登録する機能を有する。 The processor 11 also has a function of registering a self-medication expense record in the self-medication expense record database based on the read store name, address, date, specified symbol and amount.

プロセッサ11は、読み取った指定記号に基づいてセルフメディケーション税制の対象となる商品を特定する。たとえば、プロセッサ11は、読み取った記号に近接する商品をセルフメディケーション税制の対象となる商品として特定する。 The processor 11 identifies products subject to the self-medication tax system based on the read designation symbol. For example, the processor 11 identifies products close to the read symbol as products subject to the self-medication tax system.

商品を特定すると、プロセッサ11は、読み取った金額から当該商品の金額を抽出する。たとえば、プロセッサ11は、当該商品の商品名が記載される領域に隣接する金額を抽出する。金額を抽出すると、プロセッサ11は、当該金額をセルフメディケーション費として取得する。 After specifying the product, the processor 11 extracts the price of the product from the read price. For example, the processor 11 extracts the amount adjacent to the area in which the product name of the product is described. After extracting the amount, the processor 11 obtains the amount as a self-medication fee.

なお、プロセッサ11は、セルフメディケーション税制の対象となる商品を複数個特定した場合、各商品の金額を合算した値をセルフメディケーション費として取得する。 When a plurality of commodities subject to the self-medication tax system are specified, the processor 11 acquires a value obtained by adding up the amounts of the respective commodities as the self-medication fee.

セルフメディケーション費を取得すると、プロセッサ11は、店舗名、住所、日付及びセルフメディケーション費を対応付けたセルフメディケーション費レコードを生成する。セルフメディケーション費レコードを生成すると、プロセッサ11は、セルフメディケーション費レコードをセルフメディケーション費レコードデータベースに登録する。 After obtaining the self-medication cost, the processor 11 generates a self-medication cost record in which the store name, address, date and self-medication cost are associated with each other. After generating the self-medication expense record, the processor 11 registers the self-medication expense record in the self-medication expense record database.

また、プロセッサ11は、出力する明細書を選択する機能を有する。 The processor 11 also has a function of selecting statements to be output.

たとえば、プロセッサ11は、医療費控除の明細書を示すアイコン及びセルフメディケーション税制の明細書を示すアイコンを表示部27に表示する。プロセッサ11は、操作部26を通じて両アイコンの何れかへのタップを受け付け、タップされたアイコンに基づいて出力する明細書を選択する。 For example, the processor 11 displays on the display unit 27 an icon representing the statement of medical expense deduction and an icon representing the statement of the self-medication tax system. The processor 11 accepts a tap on either of the two icons through the operation unit 26, and selects a specification to be output based on the tapped icon.

また、プロセッサ11は、明細書の年度を選択してもよい。たとえば、プロセッサ11は、各年度を示すアイコンを表示部27に表示する。プロセッサ11は、操作部26を通じてアイコンへのタップを受け付け、タップされたアイコンに基づいて明細書の年度を選択する。 Processor 11 may also select the year of the statement. For example, processor 11 displays an icon indicating each year on display unit 27 . The processor 11 accepts a tap on an icon through the operation unit 26, and selects the year of the statement based on the tapped icon.

また、プロセッサ11は、明細書の出力形式を選択してもよい。たとえば、プロセッサ11は、「印刷」、「CSV」及び「出力しない」をそれぞれ示すアイコンを表示する。「印刷」は、明細書を用紙に印刷することを示す。「CSV」は、明細書をCSV(Comma Separated Value)形式のファイルとして出力することを示す。また、「出力しない」は、明細書を表示部27に表示することを示す。プロセッサ11は、操作部26を通じてアイコンへのタップを受け付け、タップされたアイコンに基づいて出力形式を選択する。 Also, the processor 11 may select the output format of the specification. For example, the processor 11 displays icons respectively indicating "print", "CSV" and "no output". "Print" indicates to print the specification on paper. "CSV" indicates that the specification is to be output as a CSV (Comma Separated Value) format file. "Do not output" indicates that the statement is to be displayed on the display unit 27. FIG. The processor 11 accepts a tap on an icon through the operation unit 26 and selects an output format based on the tapped icon.

図4は、プロセッサ11が明細書、年度及び出力形式の入力を受け付けるために表示部27に表示する画面である。 FIG. 4 shows a screen displayed on the display section 27 by the processor 11 to accept the input of the specification, year and output format.

図4が示すように、プロセッサ11は、アイコン51(51a並びに51b)、アイコン52(52a並びに52b)及びアイコン53(53a乃至53c)を表示する。 As FIG. 4 shows, the processor 11 displays icons 51 (51a and 51b), icons 52 (52a and 52b) and icons 53 (53a to 53c).

アイコン51は、明細書の年度を選択するためのアイコンである。アイコン51aは、2016年度を示す。また、アイコン51bは、2017年度を示す。 Icon 51 is an icon for selecting the year of the specification. The icon 51a indicates the 2016 fiscal year. Also, the icon 51b indicates the 2017 fiscal year.

アイコン52は、出力する明細書を選択するためのアイコンである。アイコン52aは、医療費の明細書を示す。アイコン52bは、セルフメディケーション税制の明細書を示す。 An icon 52 is an icon for selecting a specification to be output. The icon 52a indicates a detailed statement of medical expenses. Icon 52b indicates the statement of the self-medication tax system.

アイコン53は、出力形式を選択するためのアイコンである。アイコン53aは、「印刷」を示すアイコンである。アイコン53bは、「CSV」を示すアイコンである。アイコン53cは、「出力しない」を示すアイコンである。 An icon 53 is an icon for selecting an output format. The icon 53a is an icon indicating "print". The icon 53b is an icon indicating "CSV". The icon 53c is an icon indicating "no output".

また、プロセッサ11は、選択した明細書を出力する機能を有する。 The processor 11 also has a function of outputting the selected statement.

まず、プロセッサ11が医療費控除の明細書を選択した場合について説明する。 First, a case where the processor 11 selects a medical expense deduction statement will be described.

プロセッサ11は、医療費レコードデータベースから、選択した年度の医療費レコードを抽出する。即ち、プロセッサ11は、日付が当該年度の含まれる医療費レコードを抽出する。 The processor 11 extracts medical expense records for the selected year from the medical expense record database. That is, the processor 11 extracts medical expense records that include the date of the year.

医療費レコードを抽出すると、プロセッサ11は、各医療費レコードの医療費を合算して合計金額(第1の合計金額)を算出する。合計金額を算出すると、プロセッサ11は、控除を受けることができる控除額を算出する。たとえば、プロセッサ11は、合計金額から所定の金額(たとえば、100000円)を減算して控除額を算出する。 After extracting the medical expense records, the processor 11 adds up the medical expenses of each medical expense record to calculate a total amount (first total amount). After calculating the total amount, the processor 11 calculates the deductible amount that can be deducted. For example, processor 11 subtracts a predetermined amount (for example, 100,000 yen) from the total amount to calculate the deduction amount.

控除額を算出すると、プロセッサ11は、抽出した医療費レコード、合計金額及び控除額を示すCSVデータを生成する。たとえば、プロセッサ11は、抽出した各医療費レコードの医療機関名、住所、日付及び医療費を示すCSVデータを生成する。プロセッサ11は、CSVデータに合計金額及び控除額を追加する。 After calculating the deductible amount, the processor 11 generates CSV data showing the extracted medical expense record, the total amount and the deductible amount. For example, the processor 11 generates CSV data indicating the medical institution name, address, date, and medical expenses of each extracted medical expense record. Processor 11 adds the total amount and deductible amount to the CSV data.

CSVデータを生成すると、プロセッサ11は、選択した出力形式に従って医療費控除の明細書を出力する。プロセッサ11は、出力形式として「CSV」を選択した場合、医療費控除の明細書としてCSVデータを出力する。たとえば、プロセッサ11は、外部メモリ(たとえば、USBメモリ)などにCSVデータを格納する。また、プロセッサ11は、通信部15を通じて外部装置にCSVデータを送信してもよい。 After generating the CSV data, processor 11 outputs a statement of medical expense deductions according to the selected output format. When the processor 11 selects "CSV" as the output format, the processor 11 outputs CSV data as a medical expense deduction statement. For example, processor 11 stores CSV data in an external memory (eg, USB memory) or the like. Also, the processor 11 may transmit CSV data to an external device through the communication unit 15 .

また、プロセッサ11は、出力形式として「印刷」又は「出力しない」を選択した場合、CSVデータから、医療費控除の明細書のイメージデータを生成する。たとえば、プロセッサ11は、国税庁に提出可能なフォーマットに従って、医療費控除の明細書のイメージデータを生成する。 Further, when the processor 11 selects "print" or "not output" as the output format, the processor 11 generates image data of the medical expense deduction statement from the CSV data. For example, processor 11 generates image data of a statement of medical expense deductions in accordance with a format that can be submitted to the National Tax Agency.

プロセッサ11は、「印刷」を選択した場合、プリンタ28を用いて、生成したイメージデータを用紙に印刷する。即ち、プロセッサ11は、生成したイメージデータをプリンタ28に送信する。 When "print" is selected, the processor 11 uses the printer 28 to print the generated image data on paper. That is, the processor 11 transmits the generated image data to the printer 28 .

また、プロセッサ11は、出力形式として「出力しない」を選択した場合、生成したイメージデータを表示部27に表示する。 In addition, the processor 11 displays the generated image data on the display unit 27 when "not output" is selected as the output format.

次に、プロセッサ11がセルフメディケーション税制の明細書を選択した場合について説明する。 Next, a case where the processor 11 selects the statement of the self-medication tax system will be described.

プロセッサ11は、セルフメディケーション費レコードデータベースから、選択した年度のセルフメディケーション費レコードを抽出する。即ち、プロセッサ11は、日付が当該年度の含まれるセルフメディケーション費レコードを抽出する。 The processor 11 extracts the self-medication expense record for the selected year from the self-medication expense record database. That is, the processor 11 extracts the self-medication expense records that include the date of the year.

セルフメディケーション費レコードを抽出すると、プロセッサ11は、各セルフメディケーション費レコードのセルフメディケーション費を合算して合計金額(第2の合計金額)を算出する。合計金額を算出すると、プロセッサ11は、控除を受けることができる控除額を算出する。たとえば、プロセッサ11は、合計金額から所定の金額(たとえば、10000円)を減算して控除額を算出する。 After extracting the self-medication expense records, the processor 11 adds up the self-medication expenses of each self-medication expense record to calculate a total amount (second total amount). After calculating the total amount, the processor 11 calculates the deductible amount that can be deducted. For example, processor 11 subtracts a predetermined amount (for example, 10000 yen) from the total amount to calculate the deduction amount.

控除額を算出すると、プロセッサ11は、抽出したセルフメディケーション費レコード、合計金額及び控除額を示すCSVデータを生成する。たとえば、プロセッサ11は、抽出した各セルフメディケーション費レコードの店舗名、住所、日付及びセルフメディケーション費を示すCSVデータを生成する。プロセッサ11は、CSVデータに合計金額及び控除額を追加する。 After calculating the deduction amount, the processor 11 generates CSV data indicating the extracted self-medication expense record, the total amount, and the deduction amount. For example, the processor 11 generates CSV data indicating the store name, address, date and self-medication cost of each extracted self-medication cost record. Processor 11 adds the total amount and deductible amount to the CSV data.

CSVデータを生成すると、プロセッサ11は、選択した出力形式に従ってセルフメディケーション税制の明細書を出力する。プロセッサ11は、出力形式として「CSV」を選択した場合、セルフメディケーション税制の明細書としてCSVデータを出力する。たとえば、プロセッサ11は、外部メモリ(たとえば、USBメモリ)などにCSVデータを格納する。また、プロセッサ11は、通信部15を通じて外部装置にCSVデータを送信してもよい。 After generating the CSV data, processor 11 outputs a self-medication tax statement according to the selected output format. When "CSV" is selected as the output format, the processor 11 outputs CSV data as a statement of the self-medication tax system. For example, processor 11 stores CSV data in an external memory (eg, USB memory) or the like. Also, the processor 11 may transmit CSV data to an external device through the communication unit 15 .

また、プロセッサ11は、出力形式として「印刷」又は「出力しない」を選択した場合、CSVデータから、セルフメディケーション税制の明細書の画像データを生成する。たとえば、プロセッサ11は、国税庁に提出可能なフォーマットに従って、セルフメディケーション税制の明細書のイメージデータを生成する。 Further, when the processor 11 selects “print” or “not output” as the output format, the processor 11 generates image data of the statement of the self-medication tax system from the CSV data. For example, the processor 11 generates image data of a statement of the self-medication tax system according to a format that can be submitted to the National Tax Agency.

プロセッサ11は、「印刷」を選択した場合、プリンタ28を用いて、生成したイメージデータを用紙に印刷する。即ち、プロセッサ11は、生成したイメージデータをプリンタ28に送信する。 When "print" is selected, the processor 11 uses the printer 28 to print the generated image data on paper. That is, the processor 11 transmits the generated image data to the printer 28 .

また、プロセッサ11は、出力形式として「出力しない」を選択した場合、生成したイメージデータを表示部27に表示する。 In addition, the processor 11 displays the generated image data on the display unit 27 when "not output" is selected as the output format.

次に、画像形成装置10の動作例について説明する。 Next, an operation example of the image forming apparatus 10 will be described.

まず、画像形成装置10が医療費レコード又はセルフメディケーション費レコードを登録する動作例について説明する。図5及び図6は、画像形成装置10が医療費レコード又はセルフメディケーション費レコードを登録する動作例について説明するためのフローチャートである。 First, an operation example in which the image forming apparatus 10 registers a medical expense record or a self-medication expense record will be described. FIGS. 5 and 6 are flowcharts for explaining an operation example of the image forming apparatus 10 registering a medical expense record or a self-medication expense record.

まず、画像形成装置10のプロセッサ11は、医療費レコードの登録を選択したか判定する(ACT11)。医療費レコードの登録を選択したと判定すると(ACT11、YES)、プロセッサ11は、スキャナ29を用いて医療機関の第1の領収書をスキャンする(ACT12)。 First, the processor 11 of the image forming apparatus 10 determines whether registration of a medical expense record has been selected (ACT 11). Upon determining that registration of the medical expense record has been selected (ACT 11, YES), processor 11 uses scanner 29 to scan the first medical institution receipt (ACT 12).

第1の領収書をスキャンすると、プロセッサ11は、第1の領収書の画像に対してOCR処理を行う(ACT13)。第1の領収書の画像に対してOCR処理を行うと、プロセッサ11は、読取結果に基づいて、第1の領収書から第1の領域情報データベースの医療機関名の抽出に成功したか判定する(ACT14)。 Upon scanning the first receipt, processor 11 performs OCR processing on the image of the first receipt (ACT 13). After performing OCR processing on the image of the first receipt, the processor 11 determines whether or not the name of the medical institution in the first area information database has been successfully extracted from the first receipt based on the reading result. (ACT 14).

第1の領収書から第1の領域情報データベースの医療機関名の抽出に成功したと判定すると(ACT14、YES)、プロセッサ11は、抽出した医療機関名に対応する第1の住所領域情報、第1の日付領域情報及び医療費領域情報を取得する(ACT15)。 When it is determined that the medical institution name of the first area information database has been successfully extracted from the first receipt (ACT14, YES), the processor 11 extracts first address area information corresponding to the extracted medical institution name, 1 date area information and medical expense area information (ACT 15).

第1の領収書から第1の領域情報データベースの医療機関名の抽出に失敗したと判定すると(ACT14、NO)、プロセッサ11は、第1の領収書の画像を表示部27に表示する(ACT16)。 If it is determined that the extraction of the medical institution name of the first region information database from the first receipt has failed (ACT14, NO), the processor 11 displays the image of the first receipt on the display unit 27 (ACT16 ).

第1の領収書の画像を表示部27に表示すると、プロセッサ11は、医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける(ACT17)。医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付けると、プロセッサ11は、医療機関名領域から医療機関名を読み取る(ACT18)。 After displaying the image of the first receipt on the display unit 27, the processor 11 accepts inputs of the medical institution name area, first address area, first date area, and medical expense area (ACT 17). Upon receiving inputs for the medical institution name field, first address field, first date field, and medical expense field, processor 11 reads the medical institution name from the medical institution name field (ACT 18).

医療機関名を読み取ると、プロセッサ11は、医療機関名と、第1の住所領域情報、第1の日付領域情報及び医療費領域情報とを対応付けたレコードを第1の領域情報データベースに登録する(ACT19)。 After reading the medical institution name, the processor 11 registers a record in which the medical institution name is associated with the first address area information, the first date area information, and the medical expense area information in the first area information database. (ACT 19).

第1の住所領域情報などを取得した場合(ACT15)、又は、レコードを登録した場合(ACT19)、プロセッサ11は、第1の住所領域情報、第1の日付領域情報及び医療費領域情報に基づいて、第1の領収書の画像から住所、日付及び医療費を読み取る(ACT20)。 When the first address region information or the like is obtained (ACT 15) or when the record is registered (ACT 19), the processor 11, based on the first address region information, the first date region information and the medical expense region information, to read the address, date and medical expenses from the image of the first receipt (ACT 20).

住所、日付及び医療費を読み取ると、プロセッサ11は、医療機関名、住所、日付及び医療費を対応付けた医療費レコードを医療費レコードデータベースに登録する(ACT21)。 After reading the address, date and medical expenses, the processor 11 registers a medical expense record in which the medical institution name, address, date and medical expenses are associated with each other in the medical expense record database (ACT 21).

医療費レコードを医療費レコードデータベースに登録すると、プロセッサ11は、動作を終了する。 After registering the medical expense record in the medical expense record database, processor 11 terminates its operation.

セルフメディケーション費レコードの登録を選択したと判定すると(ACT11、NO)、プロセッサ11は、スキャナ29を用いて店舗の第2の領収書をスキャンする(ACT22)。 Upon determining that registration of the self-medication expense record has been selected (ACT 11, NO), processor 11 scans the store's second receipt using scanner 29 (ACT 22).

第2の領収書をスキャンすると、プロセッサ11は、第1の領収書の画像に対してOCR処理を行う(ACT23)。第1の領収書の画像に対してOCR処理を行うと、プロセッサ11は、読取結果に基づいて、第2の領収書から第2の領域情報データベースの店舗名の抽出に成功したか判定する(ACT24)。 Upon scanning the second receipt, processor 11 performs OCR processing on the image of the first receipt (ACT 23). After performing OCR processing on the image of the first receipt, the processor 11 determines whether or not the store name of the second region information database has been successfully extracted from the second receipt based on the reading result ( ACT24).

第2の領収書から第2の領域情報データベースの店舗名の抽出に成功したと判定すると(ACT24、YES)、プロセッサ11は、抽出した店舗名に対応する第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報を取得する(ACT25)。 If it is determined that the store name of the second area information database has been successfully extracted from the second receipt (ACT24, YES), the processor 11 extracts the second address area information corresponding to the extracted store name, the second Date area information, symbol area information and money amount area information are acquired (ACT 25).

第2の領収書から第2の領域情報データベースの店舗名の抽出に失敗したと判定すると(ACT24、NO)、プロセッサ11は、第2の領収書の画像を表示部27に表示する(ACT26)。 If it is determined that the extraction of the store name of the second region information database from the second receipt has failed (ACT24, NO), the processor 11 displays the image of the second receipt on the display section 27 (ACT26). .

第2の領収書の画像を表示部27に表示すると、プロセッサ11は、店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける(ACT27)。店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付けると、プロセッサ11は、店舗名領域から店舗名を読み取る(ACT28)。 When the image of the second receipt is displayed on the display unit 27, the processor 11 accepts inputs for the store name area, second address area, second date area, symbol area and amount area (ACT 27). Upon accepting inputs for the store name area, second address area, second date area, symbol area, and amount area, the processor 11 reads the store name from the store name area (ACT 28).

店舗名を読み取ると、プロセッサ11は、店舗名と、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報とを対応付けたレコードを第2の領域情報データベースに登録する(ACT29)。 After reading the store name, the processor 11 registers a record in which the store name is associated with the second address area information, the second date area information, the symbol area information, and the amount area information in the second area information database. (ACT29).

第2の住所領域情報などを取得した場合(ACT25)、又は、レコードを登録した場合(ACT29)、プロセッサ11は、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報に基づいて、第2の領収書の画像から住所、日付、指定記号及び金額を読み取る(ACT30)。 When the second address area information or the like is acquired (ACT 25), or when the record is registered (ACT 29), the processor 11 processes the second address area information, the second date area information, the symbol area information and the amount area. Based on the information, the address, date, designated symbol and amount are read from the image of the second receipt (ACT 30).

住所などを読み取ると、プロセッサ11は、住所などに基づいて、店舗名、住所、日付及びセルフメディケーション費を対応付けたセルフメディケーション費レコードをセルフメディケーション費レコードデータベースに登録する(ACT31)。 After reading the address, the processor 11 registers a self-medication expense record in which the store name, address, date, and self-medication expense are associated with each other in the self-medication expense record database (ACT 31).

セルフメディケーション費レコードをセルフメディケーション費レコードデータベースに登録すると、プロセッサ11は、動作を終了する。 After registering the self-medication expense record in the self-medication expense record database, the processor 11 terminates its operation.

次に、画像形成装置10が明細書を出力する動作例について説明する。図7は、画像形成装置10が明細書を出力する動作例について説明するためのフローチャートである。 Next, an operation example in which the image forming apparatus 10 outputs a statement will be described. FIG. 7 is a flow chart for explaining an operation example of the image forming apparatus 10 outputting a statement.

まず、画像形成装置10のプロセッサ11は、出力する明細書、年度及び出力形式の入力を受け付けるメニュー(たとえば、図4の画像)を表示部27に表示する(ACT41)。メニューを表示すると、プロセッサ11は、出力する明細書、年度及び出力形式の入力を受け付ける(ACT42)。 First, the processor 11 of the image forming apparatus 10 displays on the display unit 27 a menu (for example, the image in FIG. 4) for accepting input of the statement to be output, year, and output format (ACT 41). When the menu is displayed, the processor 11 accepts the input of the statement to be output, year and output format (ACT 42).

出力する明細書、年度及び出力形式の入力を受け付けると、プロセッサ11は、医療費控除の明細書の選択を受け付けたか判定する(ACT43)。医療費控除の明細書の選択を受け付けたと判定すると(ACT43、YES)、プロセッサ11は、入力された年度の医療費レコードを医療費レコードデータベースから抽出する(ACT44)。 Upon receiving the input of the statement to be output, the year, and the output format, the processor 11 determines whether or not the selection of the statement of medical expense deduction has been received (ACT 43). When it is determined that the selection of medical expense deduction details has been accepted (ACT 43, YES), processor 11 extracts the medical expense record for the input year from the medical expense record database (ACT 44).

医療費レコードを抽出すると、プロセッサ11は、抽出した各医療費レコードの医療費を合算して合計金額を算出する(ACT45)。合計金額を算出すると、プロセッサ11は、合計金額に基づいて控除額を算出する(ACT46)。 After extracting the medical expense records, the processor 11 adds up the medical expenses of the extracted medical expense records to calculate the total amount (ACT 45). After calculating the total amount, processor 11 calculates a deduction based on the total amount (ACT 46).

セルフメディケーション税制の明細書の選択を受け付けたと判定すると(ACT43、NO)、プロセッサ11は、入力された年度のセルフメディケーション費レコードをセルフメディケーション費レコードデータベースから抽出する(ACT47)。 When it is determined that the selection of the statement of the self-medication tax system has been accepted (ACT 43, NO), the processor 11 extracts the self-medication expense record for the input year from the self-medication expense record database (ACT 47).

セルフメディケーション費レコードを抽出すると、プロセッサ11は、抽出した各セルフメディケーション費レコードのセルフメディケーション費を合算して合計金額を算出する(ACT48)。合計金額を算出すると、プロセッサ11は、合計金額に基づいて控除額を算出する(ACT49)。 After extracting the self-medication expense records, the processor 11 adds up the self-medication expenses of the extracted self-medication expense records to calculate the total amount (ACT 48). After calculating the total amount, processor 11 calculates a deduction based on the total amount (ACT 49).

合計金額に基づいて控除額を算出した場合(ACT46)、又は、合計金額に基づいて控除額を算出した場合(ACT49)、プロセッサ11は、抽出した医療費レコード又はセルフメディケーション費レコードなどに基づいてCSVデータを生成する(ACT50)。 If the deduction amount is calculated based on the total amount (ACT 46), or if the deduction amount is calculated based on the total amount (ACT 49), the processor 11 extracts medical expense records, self-medication expense records, or the like. to generate CSV data (ACT50).

CSVデータを生成すると、プロセッサ11は、出力形式として「CSV」の選択を受け付けたか判定する(ACT51)。出力形式として「CSV」の選択を受け付けたと判定すると(ACT51、YES)、プロセッサ11は、CSVデータを出力する(ACT52)。 After generating the CSV data, processor 11 determines whether selection of "CSV" as the output format has been accepted (ACT 51). If it is determined that selection of "CSV" as the output format has been received (ACT51, YES), processor 11 outputs CSV data (ACT52).

出力形式として「CSV」の選択を受け付けていないと判定すると(ACT51、NO)、プロセッサ11は、CSVデータに基づいて明細書のイメージデータを生成する(ACT53)。 If it is determined that the selection of "CSV" as the output format has not been accepted (ACT51, NO), the processor 11 generates the image data of the specification based on the CSV data (ACT53).

イメージデータを生成すると、プロセッサ11は、出力形式として「印刷」の選択を受け付けたか判定する(ACT54)。出力形式として「印刷」の選択を受け付けたと判定すると(ACT54、YES)、プロセッサ11は、プリンタ28を用いてイメージデータを印刷する(ACT55)。 After generating the image data, the processor 11 determines whether the selection of "print" as the output format has been received (ACT54). When determining that the selection of "print" as the output format has been accepted (ACT54, YES), the processor 11 prints the image data using the printer 28 (ACT55).

出力形式として「出力しない」の選択を受け付けたと判定すると(ACT54、NO)、プロセッサ11は、イメージデータを表示部27に表示する(ACT56)。 When determining that the selection of "not output" as the output format has been received (ACT54, NO), the processor 11 displays the image data on the display unit 27 (ACT56).

CSVデータを出力した場合(ACT52)、プリンタ28を用いてイメージデータを印刷した場合(ACT55)、又は、イメージデータを表示部27に表示した場合(ACT56)、プロセッサ11は、動作を終了する。 When the CSV data is output (ACT 52), when the image data is printed using the printer 28 (ACT 55), or when the image data is displayed on the display section 27 (ACT 56), the processor 11 ends its operation.

なお、プロセッサ11は、イメージデータを外部装置に出力してもよい。たとえば、プロセッサ11は、イメージデータを外部メモリ(たとえば、USBメモリ)などに格納してもよい。また、プロセッサ11は、外部サーバ(たとえば、オンラインで控除申請を受け付けるサーバ)などにイメージデータを送信してもよい。 Note that the processor 11 may output the image data to an external device. For example, processor 11 may store image data in an external memory (eg, USB memory) or the like. Processor 11 may also transmit the image data to an external server (for example, a server that accepts deduction applications online).

また、画像形成装置10は、スキャナ29を備えなくともよい。たとえば、画像形成装置10のプロセッサ11は、外部のカメラから第1の領収書又は第2の領収書を撮影した画像を取得してもよい。たとえば、プロセッサ11は、スマートフォン又はタブレットPCなどの携帯端末から画像を取得してもよい。 Also, the image forming apparatus 10 does not have to include the scanner 29 . For example, the processor 11 of the image forming apparatus 10 may acquire an image of the first receipt or the second receipt from an external camera. For example, processor 11 may acquire an image from a mobile device such as a smart phone or tablet PC.

また、画像形成装置10は、プリンタ28を備えなくともよい。画像形成装置10のプロセッサ11は、外部のプリンタにイメージデータを送信してもよい。 Also, the image forming apparatus 10 does not have to include the printer 28 . Processor 11 of image forming apparatus 10 may transmit image data to an external printer.

また、プロセッサ11は、スキャナ29から取得したスキャンデータに基づいて、スキャンデータが、医療機関が発行した第1の領収書の画像又は店舗が発行した第2の領収書の画像であるかを判定してもよい。 Also, based on the scan data acquired from the scanner 29, the processor 11 determines whether the scan data is the image of the first receipt issued by the medical institution or the image of the second receipt issued by the store. You may

また、プロセッサ11は、第1の住所領域情報、第1の日付領域情報、医療費領域情報、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額情報を外部装置(たとえば、ネットワークを通じて通信するサーバなど)から取得してもよい。 Also, the processor 11 transmits the first address area information, the first date area information, the medical expense area information, the second address area information, the second date area information, the symbol area information, and the amount information to an external device (for example, , a server that communicates over a network, etc.).

以上のように構成された画像形成装置は、医療機関が発行した第1の領収書の画像から医療費を読み取る。画像形成装置は、読み取った医療費を合算し、医療費控除の明細書を出力する。 The image forming apparatus configured as described above reads the medical expenses from the image of the first receipt issued by the medical institution. The image forming apparatus adds up the read medical expenses and outputs a medical expense deduction statement.

また、画像形成装置は、店舗が発行した第2の領収書の画像からセルフメディケーション費を読み取る。画像形成装置は、読み取ったセルフメディケーション費を合算し、セルフメディケーション税制の明細書を出力する。 Also, the image forming apparatus reads the self-medication fee from the image of the second receipt issued by the store. The image forming apparatus adds up the read self-medication expenses and outputs a statement of the self-medication tax system.

従って、画像形成装置は、医療費又はセルフメディケーション費の合計金額を出力することができる。 Therefore, the image forming apparatus can output the total amount of medical expenses or self-medication expenses.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に本願の出願当初の特許請求の範囲に記載された発明を付記する。
[C1]
画像を取得する画像インターフェースと、
記憶部と、
前記画像から、医療機関名及び医療費、又は、店舗名及びセルフメディケーション費を取得し、
前記記憶部に、前記医療機関名及び前記医療費、又は、前記店舗名及び前記セルフメディケーション費を格納し、
医療費控除の明細書を生成する場合、前記記憶部が格納する前記医療費を合算して第1の合計金額を算出し、前記医療機関名、前記医療費及び前記第1の合計金額に基づいて、前記医療費控除の明細書を生成し、
セルフメディケーション税制の明細書を生成する場合、前記記憶部が格納する前記セルフメディケーション費を合算して第2の合計金額を算出し、前記店舗名、前記セルフメディケーション費及び前記第2の合計金額に基づいて前記セルフメディケーション税制の明細書を生成する、
プロセッサと、
を備える情報処理装置。
[C2]
前記医療費控除の明細書は、控除額を含み、
前記セルフメディケーション税制の明細書は、控除額を含む、
前記C1に記載の情報処理装置。
[C3]
前記プロセッサは、
前記医療費を取得する場合、前記画像から取得した前記医療機関名に対応する医療費領域情報に基づいて、前記画像において前記医療費が記載される医療費領域を特定し、前記医療費領域から前記医療費を読み取る、
前記C1又は2に記載の情報処理装置。
[C4]
医療費領域の入力を受け付ける操作部を備え、
前記プロセッサは、前記医療費領域に基づく前記医療費領域情報を前記記憶部に格納する、
前記C3に記載の情報処理装置。
[C5]
前記プロセッサは、
前記セルフメディケーション費を取得する場合、前記画像から取得した前記店舗名に対応する記号領域情報に基づいて前記画像においてセルフメディケーション税制の対象となる商品を示す指定記号が記載される記号領域を特定し前記指定記号を読み取り、前記画像から取得した前記店舗名に対応する金額領域情報に基づいて前記画像において商品の金額が記載される金額領域を特定し、前記指定記号に基づいて前記金額領域に記載される金額から前記セルフメディケーション費を取得する、
前記C1乃至4の何れか1項に記載の情報処理装置。
[C6]
プロセッサによって実行されるプログラムであって、
前記プロセッサに、
画像を取得させ、
前記画像から、医療機関名及び医療費、又は、店舗名及びセルフメディケーション費を取得させ、
記憶部に、前記医療機関名及び前記医療費、又は、前記店舗名及び前記セルフメディケーション費を格納させ、
医療費控除の明細書を生成させる場合、前記記憶部が格納する前記医療費を合算して第1の合計金額を算出させ、前記医療機関名、前記医療費及び前記第1の合計金額に基づいて、前記医療費控除の明細書を生成させ、
セルフメディケーション税制の明細書を生成させる場合、前記記憶部が格納する前記セルフメディケーション費を合算して第2の合計金額を算出させ、前記店舗名、前記セルフメディケーション費及び前記第2の合計金額に基づいて前記セルフメディケーション税制の明細書を生成させる、
プログラム。
While several embodiments of the invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and modifications can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the scope of the invention described in the claims and equivalents thereof.
The invention described in the scope of claims at the time of filing of the present application will be additionally described below.
[C1]
an image interface for obtaining an image;
a storage unit;
Obtaining the medical institution name and medical expenses, or the store name and self-medication expenses from the image,
storing the name of the medical institution and the medical expenses, or the name of the store and the self-medication expenses in the storage unit;
When generating a medical expense deduction statement, calculating a first total amount by summing the medical expenses stored in the storage unit, and calculating the first total amount based on the name of the medical institution, the medical expenses, and the first total amount to generate a statement of the medical expense deduction;
When generating a statement of the self-medication tax system, the self-medication expenses stored in the storage unit are added to calculate a second total amount, and the store name, the self-medication expenses and the second total amount are calculated. generating a statement of the self-medication tax regime based on the total amount;
a processor;
Information processing device.
[C2]
the statement of medical expense deductions includes deductible amounts,
the statement of the self-medication tax regime, including deductions;
The information processing apparatus according to C1.
[C3]
The processor
When obtaining the medical cost, a medical cost region in which the medical cost is described in the image is specified based on the medical cost region information corresponding to the medical institution name obtained from the image, and the medical cost region is identified from the medical cost region. reading said medical expenses;
The information processing device according to C1 or 2 above.
[C4]
Equipped with an operation unit that accepts input of the medical expense area,
The processor stores the medical expense area information based on the medical expense area in the storage unit.
The information processing apparatus according to C3.
[C5]
The processor
When acquiring the self-medication fee, a symbol area in which a designation symbol indicating a product subject to the self-medication tax system is described in the image based on symbol area information corresponding to the store name acquired from the image. reading the identified designated symbol, identifying the monetary amount region in which the price of the product is described in the image based on the monetary amount region information corresponding to the store name acquired from the image, and identifying the monetary amount region based on the designated symbol obtain said self-medication fee from the amount set forth in
The information processing apparatus according to any one of C1 to C4.
[C6]
A program executed by a processor,
to the processor;
get the image,
Acquire the medical institution name and medical expenses, or the store name and self-medication expenses from the image,
causing a storage unit to store the name of the medical institution and the medical expenses, or the name of the store and the self-medication expenses;
When generating a medical expense deduction statement, the medical expenses stored in the storage unit are summed to calculate a first total amount, and based on the name of the medical institution, the medical expenses, and the first total amount to generate a statement of the medical expense deduction,
When generating a statement of the self-medication tax system, the self-medication expenses stored in the storage unit are summed to calculate a second total amount, and the store name, the self-medication expenses and the second total amount are calculated. generating a statement of the self-medication tax system based on the total amount;
program.

10…画像形成装置、11…プロセッサ、12…ROM、13…RAM、14…NVM、15…通信部、16…操作部インターフェース、17…表示部インターフェース、18…プリンタインターフェース、19…スキャナインターフェース、26…操作部、27…表示部、28…プリンタ、29…スキャナ、30…表示領域、31…医療機関名領域、32…第1の住所領域、33…第1の日付領域、34…医療費領域、40…表示領域、41…店舗名領域、42…第2の住所領域、43…第2の日付領域、44…記号領域、45…金額領域、51(51a及び51b)…アイコン、52(52a及び52b)…アイコン、53(53a乃至53c)…アイコン。 DESCRIPTION OF SYMBOLS 10... Image forming apparatus 11... Processor 12... ROM 13... RAM 14... NVM 15... Communication part 16... Operation part interface 17... Display part interface 18... Printer interface 19... Scanner interface 26 Operation unit 27 Display unit 28 Printer 29 Scanner 30 Display area 31 Medical institution name area 32 First address area 33 First date area 34 Medical expense area , 40... Display area, 41... Store name area, 42... Second address area, 43... Second date area, 44... Symbol area, 45... Money amount area, 51 (51a and 51b)... Icon, 52 (52a) and 52b)... Icons, 53 (53a to 53c)... Icons.

Claims (6)

画像を取得する画像インターフェースと、
記憶部と、
前記画像から、医療機関名及び医療費、又は、店舗名及びセルフメディケーション費を取得し、
前記記憶部に、前記医療機関名及び前記医療費、又は、前記店舗名及び前記セルフメディケーション費を格納し、
医療費控除の明細書を生成する場合、前記記憶部が格納する前記医療費を合算して第1の合計金額を算出し、前記医療機関名、前記医療費及び前記第1の合計金額に基づいて、前記医療費控除の明細書を生成し、
セルフメディケーション税制の明細書を生成する場合、前記記憶部が格納する前記セルフメディケーション費を合算して第2の合計金額を算出し、前記店舗名、前記セルフメディケーション費及び前記第2の合計金額に基づいて前記セルフメディケーション税制の明細書を生成する、
プロセッサと、
を備え
前記プロセッサは、前記セルフメディケーション費を取得する場合、取得した前記店舗名に対応する記号領域情報に基づいて前記画像においてセルフメディケーション税制の対象となる商品を示す指定記号が記載される記号領域を前記画像から特定し前記指定記号を読み取り、前記指定記号に基づいてセルフメディケーション税制の対象となる商品を特定し、特定された商品の金額を合算して前記セルフメディケーション費を取得する、
情報処理装置。
an image interface for obtaining an image;
a storage unit;
Obtaining the medical institution name and medical expenses, or the store name and self-medication expenses from the image,
storing the name of the medical institution and the medical expenses, or the name of the store and the self-medication expenses in the storage unit;
When generating a medical expense deduction statement, calculating a first total amount by summing the medical expenses stored in the storage unit, and calculating the first total amount based on the name of the medical institution, the medical expenses, and the first total amount to generate a statement of the medical expense deduction;
When generating a statement of the self-medication tax system, the self-medication expenses stored in the storage unit are added to calculate a second total amount, and the store name, the self-medication expenses and the second total amount are calculated. generating a statement of the self-medication tax regime based on the total amount;
a processor;
with
When the processor acquires the self-medication fee, the processor writes a designated symbol representing a product subject to the self-medication tax system in the image based on the acquired symbol region information corresponding to the store name. is specified from the image, the specified symbol is read, products subject to the self-medication tax system are specified based on the specified symbol, and the amounts of the specified products are added up to obtain the self-medication fee.
Information processing equipment.
前記医療費控除の明細書は、控除額を含み、
前記セルフメディケーション税制の明細書は、控除額を含む、
前記請求項1に記載の情報処理装置。
the statement of medical expense deductions includes deductible amounts,
the statement of the self-medication tax regime, including deductions;
The information processing apparatus according to claim 1.
前記プロセッサは、
前記医療費を取得する場合、前記画像から取得した前記医療機関名に対応する医療費領域情報に基づいて、前記画像において前記医療費が記載される医療費領域を特定し、前記医療費領域から前記医療費を読み取る、
前記請求項1又は2に記載の情報処理装置。
The processor
When obtaining the medical cost, a medical cost region in which the medical cost is described in the image is specified based on the medical cost region information corresponding to the medical institution name obtained from the image, and the medical cost region is identified from the medical cost region. reading said medical expenses;
3. The information processing apparatus according to claim 1 or 2.
医療費領域の入力を受け付ける操作部を備え、
前記プロセッサは、前記医療費領域に基づく前記医療費領域情報を前記記憶部に格納する、
前記請求項3に記載の情報処理装置。
Equipped with an operation unit that accepts input of the medical expense area,
The processor stores the medical expense area information based on the medical expense area in the storage unit.
4. The information processing apparatus according to claim 3.
前記プロセッサは、前記画像において前記指定記号に近接する商品名を特定し、特定された前記商品名に近接する金額を合算してセルフメディケーション費を算出する、
請求項1に記載の情報処理装置。
The processor identifies a product name that is close to the designated symbol in the image, and adds up amounts close to the specified product name to calculate a self-medication fee.
The information processing device according to claim 1 .
プロセッサによって実行されるプログラムであって、
前記プロセッサに、
画像を取得する機能と
前記画像から、医療機関名及び医療費、又は、店舗名及びセルフメディケーション費を取得する機能と
記憶部に、前記医療機関名及び前記医療費、又は、前記店舗名及び前記セルフメディケーション費を格納する機能と
医療費控除の明細書を生成する場合、前記記憶部が格納する前記医療費を合算して第1の合計金額を算出させ、前記医療機関名、前記医療費及び前記第1の合計金額に基づいて、前記医療費控除の明細書を生成する機能と
セルフメディケーション税制の明細書を生成する場合、前記記憶部が格納する前記セルフメディケーション費を合算して第2の合計金額を算出させ、前記店舗名、前記セルフメディケーション費及び前記第2の合計金額に基づいて前記セルフメディケーション税制の明細書を生成する機能と
を実現させ
前記セルフメディケーション税制の明細書を生成することは、取得した前記店舗名に対応する記号領域情報に基づいて前記画像においてセルフメディケーション税制の対象となる商品を示す指定記号が記載される記号領域を前記画像から特定し前記指定記号を読み取り、前記指定記号に基づいてセルフメディケーション税制の対象となる商品を特定し、特定された商品の金額を合算して前記セルフメディケーション費を取得することを含む、
プログラム。
A program executed by a processor,
to the processor;
a function to acquire an image,
A function of acquiring a medical institution name and medical expenses, or a store name and self-medication expenses from the image;
a function of storing the name of the medical institution and the medical expenses, or the name of the store and the self-medication expenses in a storage unit;
When generating a medical expense deduction statement, the medical expenses stored in the storage unit are summed to calculate a first total amount, and based on the name of the medical institution, the medical expenses, and the first total amount a function to generate a statement of the medical expense deduction;
When generating a statement of the self-medication tax system, the self-medication expenses stored in the storage unit are summed to calculate a second total amount, and the store name, the self-medication expenses and the second total amount are calculated. the ability to generate a statement of the self-medication tax system based on the total amount;
to realize
Generating the statement of the self-medication tax system includes symbol areas in which designated symbols indicating products subject to the self-medication tax system are described in the image based on symbol area information corresponding to the acquired store name. is specified from the image, the specified symbol is read, products subject to the self-medication tax system are specified based on the specified symbol, and the amounts of the specified products are added up to obtain the self-medication fee. including,
program.
JP2018229403A 2018-12-06 2018-12-06 Information processing device and program Active JP7201415B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018229403A JP7201415B2 (en) 2018-12-06 2018-12-06 Information processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018229403A JP7201415B2 (en) 2018-12-06 2018-12-06 Information processing device and program

Publications (2)

Publication Number Publication Date
JP2020091750A JP2020091750A (en) 2020-06-11
JP7201415B2 true JP7201415B2 (en) 2023-01-10

Family

ID=71013815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018229403A Active JP7201415B2 (en) 2018-12-06 2018-12-06 Information processing device and program

Country Status (1)

Country Link
JP (1) JP7201415B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157137A (en) 2008-12-27 2010-07-15 Canon Marketing Japan Inc Information processing apparatus, information processing method and program
JP2013257618A (en) 2012-06-11 2013-12-26 Nippon Telegr & Teleph Corp <Ntt> Medical information management system, medical information management method, and personal medical information management server and program
JP2017142690A (en) 2016-02-10 2017-08-17 キヤノン株式会社 Information processing apparatus and method for controlling the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157137A (en) 2008-12-27 2010-07-15 Canon Marketing Japan Inc Information processing apparatus, information processing method and program
JP2013257618A (en) 2012-06-11 2013-12-26 Nippon Telegr & Teleph Corp <Ntt> Medical information management system, medical information management method, and personal medical information management server and program
JP2017142690A (en) 2016-02-10 2017-08-17 キヤノン株式会社 Information processing apparatus and method for controlling the same

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
セルフメディケーション税制の明細書 正式版が公表,2017年10月13日,インターネット:<URL:https://tax.mykomon.com/daily_contents_38812.html>
セルフメディケーション税制の適用を受ける際に必要となる証明書類(レシート等)の記載事項について,2016年10月04日,p.1-2,インターネット:<URL:https://www.mhlw.go.jp/file/06-Seisakujouhou-10800000-Iseikyoku/0000138818.pdf>
医療費控除の明細書 正式版が公表,2017年10月16日,インターネット:<URL:https://tax.mykomon.com/daily_contents_38819.html>

Also Published As

Publication number Publication date
JP2020091750A (en) 2020-06-11

Similar Documents

Publication Publication Date Title
US20150227785A1 (en) Information processing apparatus, information processing method, and program
US20170293965A1 (en) Shopping support device and shopping support method
JP2019220232A (en) Duty-free sales document creating system, duty-free sales document creating apparatus and duty-free sales document creating program
US9311529B2 (en) Image processing apparatus, image processing method, and non-transitory computer readable medium
JP6318247B2 (en) Pharmaceutical prescription support method, pharmaceutical prescription support computer program, and pharmaceutical prescription support apparatus
JP7380039B2 (en) Question generation device, question generation method, program for question generation device, and document management system
JP6464440B1 (en) Accounting processing apparatus, accounting processing system, accounting processing method and program
JP2015167001A (en) Information processing program, information processing device, information processing system, information processing method, image processor and image processing system
JP7201415B2 (en) Information processing device and program
JP2019020763A (en) Document management apparatus and program thereof
JP2019070933A (en) Year-end adjustment work support system
US10762488B2 (en) Transaction data processing apparatus
JP2021002183A (en) Accounting support apparatus, accounting support program, and accounting support method
JP2019219810A (en) Printed material order system, user terminal, printed material order method, and program
CN108121960A (en) A kind of standard resource processes overall process electronization management-control method
JP7415509B2 (en) Transaction data processing device, terminal device, transaction data processing system and program
JP2019219807A (en) Printed material order system, terminal for order, printed material order method, and program
JP5744938B2 (en) Mobile terminal and program
JP6474090B1 (en) System, program and method for electronically handling documents involving patients
JP7284427B1 (en) Information processing system, its control method, and program
JP6175027B2 (en) Information providing apparatus, image forming apparatus, and information providing method
JP7333759B2 (en) Image data generation system, image data generation method and computer program
JP2019009495A (en) Image processing apparatus, settlement processing apparatus, in-store system, and program
US20240194034A1 (en) Product registration apparatus, product registration method, and program recording medium
JP2020144451A (en) Service providing device, service providing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220816

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221222

R150 Certificate of patent or registration of utility model

Ref document number: 7201415

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150