JP7201415B2 - Information processing device and program - Google Patents
Information processing device and program Download PDFInfo
- 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
Links
- 230000010365 information processing Effects 0.000 title claims description 16
- 238000007391 self-medication Methods 0.000 claims description 116
- 230000006870 function Effects 0.000 description 21
- 239000000284 extract Substances 0.000 description 14
- 238000004891 communication Methods 0.000 description 8
- 238000012015 optical character recognition Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 239000003814 drug Substances 0.000 description 5
- 238000000605 extraction Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 101100054764 Dictyostelium discoideum act24 gene Proteins 0.000 description 3
- 229940079593 drug Drugs 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010079 rubber tapping Methods 0.000 description 2
- 101100054767 Dictyostelium discoideum act26 gene Proteins 0.000 description 1
- 101100054770 Dictyostelium discoideum act29 gene Proteins 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
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.
上記の課題を解決するため、医療費又はセルフメディケーション費に関する明細書を生成することができる情報処理装置及びプログラムを提供する。 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の領収書)又は薬局などの店舗が発行する領収書(第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
プロセッサ11と、ROM12、RAM13、NVM14、通信部15、操作部インターフェース16、表示部インターフェース17、プリンタインターフェース18及びスキャナインターフェース19と、は、データバスなどを介して互いに接続する。操作部インターフェース16は、操作部26に接続する。表示部インターフェース17は、表示部27に接続する。プリンタインターフェース18は、プリンタ28に接続する。スキャナインターフェース19は、スキャナ29に接続する。
The
なお、画像形成装置10は、図1が示すような構成の他に必要に応じた構成を具備したり、画像形成装置10から特定の構成が除外されたりしてもよい。
In addition to the configuration shown in FIG. 1, the
プロセッサ11は、画像形成装置10全体の動作を制御する機能を有する。プロセッサ11は、内部キャッシュ及び各種のインターフェースなどを備えてもよい。プロセッサ11は、内部メモリ、ROM12又はNVM14が予め記憶するプログラムを実行することにより種々の処理を実現する。
The
なお、プロセッサ11がプログラムを実行することにより実現する各種の機能のうちの一部は、ハードウエア回路により実現されるものであってもよい。この場合、プロセッサ11は、ハードウエア回路により実行される機能を制御する。
Note that some of the various functions realized by the
ROM12は、制御プログラム及び制御データなどが予め記憶された不揮発性のメモリである。ROM12に記憶される制御プログラム及び制御データは、画像形成装置10の仕様に応じて予め組み込まれる。
The
RAM13は、揮発性のメモリである。RAM13は、プロセッサ11の処理中のデータなどを一時的に格納する。RAM13は、プロセッサ11からの命令に基づき種々のアプリケーションプログラムを格納する。また、RAM13は、アプリケーションプログラムの実行に必要なデータ及びアプリケーションプログラムの実行結果などを格納してもよい。
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
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
操作部インターフェース16は、操作部26とデータを送受信するためのインターフェースである。たとえば、操作部インターフェース16は、操作部26に入力された操作を示す信号をプロセッサ11に送信する。また、操作部インターフェース16は、操作部26に電力を供給するものであってもよい。
The
表示部インターフェース17は、表示部27とデータを送受信するためのインターフェースである。たとえば、表示部インターフェース17は、プロセッサ11の制御に基づいて、画像データを表示部27に送信する。また、表示部インターフェース17は、表示部27に電力を供給するものであってもよい。
The
プリンタインターフェース18は、プリンタ28とデータを送受信するためのインターフェースである。たとえば、プリンタインターフェース18は、プロセッサ11の制御に基づいて、イメージデータをプリンタ28に送信する。また、プリンタインターフェース18は、プリンタ28に電力を供給するものであってもよい。
The
スキャナインターフェース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
操作部26は、オペレータから種々の操作の入力を受け付ける。操作部26は、操作部インターフェース16を通じて、入力された操作を示す信号をプロセッサ11へ送信する。ここでは、操作部26は、タッチパネルから構成される。
The
表示部27は、プロセッサ11からの画像データを表示する。たとえば、表示部27は、液晶モニタから構成される。ここでは、表示部27は、操作部26と一体的に形成される。
The
プリンタ28は、プロセッサ11からのイメージデータなどに基づいて画像を用紙に印刷する。たとえば、プリンタ28は、用紙を供給する供給部及び用紙に画像を印字する印字部などから構成される。
The
プリンタ28は、用紙部から用紙を取り出して印字部まで搬送する。プリンタ28は、印字部を用いて用紙に画像を形成する。印字部は、たとえば、インクジェット方式又は電子写真方式で用紙に画像を形成する。プリンタ28の構成は、特定の構成に限定されるものではない。
The
スキャナ29は、原稿からスキャンデータを取得するインターフェースである。たとえば、スキャナ29は、画像形成装置10の上部に形成される。スキャナ29は、原稿を光学的に走査し、原稿の画像を読み取る。スキャナ29は、原稿をセットする透明な原稿台及び主走査方向に形成されるセンサ列などから構成される。スキャナ29は、原稿台にセットされた原稿を下方から読み取る。スキャナ29は、副走査方向にセンサ列を移動し、原稿全体を読み取る。なお、スキャナ29は、用紙を副走査方向に搬送して用紙全体を読み取ってもよい。また、スキャナ29は、原稿を照らす光源などを備えてもよい。
A
次に、第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
まず、画像形成装置10のプロセッサ11は、医療費レコードの登録又はセルフメディケーション費レコードの登録の何れを行うかを選択する機能を有する。
First, the
たとえば、プロセッサ11は、医療費レコードの登録を示すアイコン及びセルフメディケーション費レコードの登録を示すアイコンを表示部27に表示する。プロセッサ11は、操作部26を通じて両アイコンの何れかへのタップを受け付け、タップされたアイコンに基づいて医療費レコードの登録又はセルフメディケーション費レコードの登録の何れかを選択する。
For example, the
また、プロセッサ11は、医療費レコードの登録を選択した場合、スキャナ29を用いて、医療機関が発行する第1の領収書の画像を取得する機能を有する。
The
ここでは、ユーザは、医療機関が発行する第1の領収書をスキャナ29にセットするものとする。
Here, it is assumed that the user sets the first receipt issued by the medical institution on the
プロセッサ11は、スキャナ29に対してスキャンを開始させる信号を送信する。スキャナ29は、当該信号に従って第1の領収書をスキャンする。スキャナ29は、スキャンして得られたスキャンデータをプロセッサ11に送信する。
プロセッサ11は、スキャンデータを第1の領収書の画像として取得する。
また、プロセッサ11は、第1の領収書の画像から第1の領域情報データベースの医療機関名を抽出する機能を有する。
The
プロセッサ11は、OCR(Optical Character Recognition)処理によって第1の領収書の画像からテキストを抽出する。テキストを抽出すると、プロセッサ11は、抽出したテキストに第1の領域情報データベースの医療機関名が含まれるか判定する。たとえば、プロセッサ11は、第1の領域情報データベースの各医療機関名を当該テキストから検索する。
The
また、プロセッサ11は、第1の領収書の画像から医療機関名の抽出に成功した場合、第1の領域情報データベースから第1の住所領域情報、第1の日付領域情報及び医療費領域情報を取得する機能を有する。
Further, when the name of the medical institution is successfully extracted from the image of the first receipt, the
プロセッサ11は、第1の領域情報データベースから、第1の領収書の画像から抽出した医療機関名に対応する第1の住所領域情報、第1の日付領域情報及び医療費領域情報を検索し取得する。
The
また、プロセッサ11は、第1の領収書の画像から医療機関名の抽出に失敗した場合、医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける機能を有する。
Further, the
たとえば、プロセッサ11は、読み取った第1の領収書の画像を表示部27に表示する。また、プロセッサ11は、医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を促すメッセージなどを表示部27に表示する。
For example,
第1の領収書の画像を表示部27に表示すると、プロセッサ11は、操作部26を通じて、ユーザから医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける。たとえば、プロセッサ11は、操作部26をタップした位置などに基づいて、医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける。
When the image of the first receipt is displayed on the
図2は、プロセッサ11が第1の領収書の画像を表示部27に表示する表示例を示す。図2が示すように、プロセッサ11は、表示領域30に第1の領収書の画像を表示する。
FIG. 2 shows a display example in which the
プロセッサ11は、表示領域30において、ユーザからのタップによって医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける。ここでは、プロセッサ11は、医療機関名領域31、第1の住所領域32、第1の日付領域33及び医療費領域34の入力を受け付ける。
The
また、プロセッサ11は、入力された医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域を用いて、第1の領域情報データベースにレコードを登録する機能を有する。
The
プロセッサ11は、入力された医療機関名領域から医療機関名を読み取る。医療機関名を読み取ると、プロセッサ11は、第1の住所領域情報、第1の日付領域情報及び医療費領域情報を生成する。たとえば、プロセッサ11は、医療機関名領域の位置と第1の住所領域の位置とから第1の住所領域情報を生成する。同様に、プロセッサ11は、医療機関名領域の位置と第1の日付領域の位置とから第1の日付領域情報を生成する。また、プロセッサ11は、医療機関名領域の位置と医療費領域の位置とから医療費領域情報を生成する。
The
第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
また、プロセッサ11は、第1の住所領域情報、第1の日付領域情報及び医療費領域情報に基づいて住所、日付及び医療費を読み取る機能を有する。
The
プロセッサ11は、第1の住所領域情報に基づいて、第1の領収書の画像において第1の住所領域を特定する。たとえば、プロセッサ11は、医療機関名領域の位置と第1の住所領域情報とに基づいて第1の住所領域を特定する。なお、プロセッサ11は、医療機関名の傾きにさらに基づいて第1の住所領域を特定してもよい。
第1の住所領域を特定すると、プロセッサ11は、第1の住所領域から住所を読み取る。
Having identified the first address area,
また、プロセッサ11は、第1の住所領域情報を第1の領域情報データベースに登録した場合、入力された第1の住所領域から住所を読み取ってもよい。
Further, when the first address area information is registered in the first area information database, the
同様に、プロセッサ11は、第1の日付領域情報に基づいて、第1の領収書の画像において第1の日付領域を特定する。第1の日付領域を特定すると、プロセッサ11は、第1の日付領域から日付を読み取る。
Similarly,
また、プロセッサ11は、医療費領域情報に基づいて、第1の領収書の画像において医療費領域を特定する。医療費領域を特定すると、プロセッサ11は、医療費領域から医療費を読み取る。
Also, the
また、プロセッサ11は、読み取った医療機関名、住所、日付及び医療費を対応付けた医療費レコードを医療費レコードデータベースに登録する機能を有する。
The
プロセッサ11は、読み取った医療機関名、住所、日付及び医療費を対応付けた医療費レコードを生成し医療費レコードデータベースに登録する。
The
また、プロセッサ11は、セルフメディケーション費レコードの登録を選択した場合、スキャナ29を用いて、店舗が発行する第2の領収書の画像を取得する機能を有する。
The
ここでは、ユーザは、店舗が発行する第2の領収書をスキャナ29にセットするものとする。
Here, it is assumed that the user sets the second receipt issued by the store on the
プロセッサ11は、スキャナ29に対してスキャンを開始させる信号を送信する。スキャナ29は、当該信号に従って第2の領収書をスキャンする。スキャナ29は、スキャンして得られたスキャンデータをプロセッサ11に送信する。
プロセッサ11は、スキャンデータを第2の領収書の画像として取得する。
また、プロセッサ11は、第2の領収書の画像から第2の領域情報データベースの店舗名を抽出する機能を有する。
The
プロセッサ11は、OCR処理によって第2の領収書の画像からテキストを抽出する。テキストを抽出すると、プロセッサ11は、抽出したテキストに第2の領域情報データベースの店舗名が含まれるか判定する。たとえば、プロセッサ11は、第2の領域情報データベースの各店舗名を当該テキストから検索する。
また、プロセッサ11は、第2の領収書の画像から店舗名の抽出に成功した場合、第2の領域情報データベースから第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報を取得する機能を有する。
Further, when the
プロセッサ11は、第2の領域情報データベースから、第2の領収書の画像から抽出した店舗名に対応する第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報を検索し取得する。
The
また、プロセッサ11は、第2の領収書の画像から店舗名の抽出に失敗した場合、店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける機能を有する。
Further, the
たとえば、プロセッサ11は、読み取った第2の領収書の画像を表示部27に表示する。また、プロセッサ11は、店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を促すメッセージなどを表示部27に表示する。
For example,
第2の領収書の画像を表示部27に表示すると、プロセッサ11は、操作部26を通じて、ユーザから店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける。たとえば、プロセッサ11は、操作部26をタップした位置などに基づいて、店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける。
When the image of the second receipt is displayed on the
図3は、プロセッサ11が第2の領収書の画像を表示部27に表示する表示例を示す。図3が示すように、プロセッサ11は、表示領域40に第2の領収書の画像を表示する。
FIG. 3 shows a display example in which the
プロセッサ11は、表示領域40において、ユーザからのタップによって店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける。ここでは、プロセッサ11は、店舗名領域41、第2の住所領域42、第2の日付領域43、記号領域44及び金額領域45の入力を受け付ける。
The
また、プロセッサ11は、入力された店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域を用いて、第2の領域情報データベースにレコードを登録する機能を有する。
The
プロセッサ11は、入力された店舗名領域から店舗名を読み取る。店舗名を読み取ると、プロセッサ11は、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報を生成する。たとえば、プロセッサ11は、店舗名領域の位置と第2の住所領域の位置とから第2の住所領域情報を生成する。同様に、プロセッサ11は、店舗名領域の位置と第2の日付領域の位置とから第2の日付領域情報を生成する。また、プロセッサ11は、店舗名領域の位置と記号領域の位置とから記号領域情報を生成する。また、プロセッサ11は、店舗名領域の位置と金額領域の位置とから金額領域情報を生成する。
The
第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
また、プロセッサ11は、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報に基づいて住所、日付、指定記号及び金額を読み取る機能を有する。
Also, the
プロセッサ11は、第2の住所領域情報に基づいて、第2の領収書の画像において第2の住所領域を特定する。たとえば、プロセッサ11は、店舗名領域の位置と第2の住所領域情報とに基づいて第2の住所領域を特定する。なお、プロセッサ11は、店舗名の傾きにさらに基づいて第2の住所領域を特定してもよい。
第2の住所領域を特定すると、プロセッサ11は、第2の住所領域から住所を読み取る。
Upon identifying the second address field,
また、プロセッサ11は、第2の住所領域情報を第2の領域情報データベースに登録した場合、入力された第2の住所領域から住所を読み取ってもよい。
Further, when the second address area information is registered in the second area information database, the
同様に、プロセッサ11は、第1の日付領域情報に基づいて、第2の領収書の画像において第2の日付領域を特定する。第2の日付領域を特定すると、プロセッサ11は、第2の日付領域から日付を読み取る。
Similarly,
また、プロセッサ11は、記号領域情報に基づいて、第2の領収書の画像において記号領域を特定する。記号領域を特定すると、プロセッサ11は、記号領域から指定記号を読み取る。
Also, the
また、プロセッサ11は、読み取った店舗名、住所、日付、指定記号及び金額に基づいて、セルフメディケーション費レコードをセルフメディケーション費レコードデータベースに登録する機能を有する。
The
プロセッサ11は、読み取った指定記号に基づいてセルフメディケーション税制の対象となる商品を特定する。たとえば、プロセッサ11は、読み取った記号に近接する商品をセルフメディケーション税制の対象となる商品として特定する。
The
商品を特定すると、プロセッサ11は、読み取った金額から当該商品の金額を抽出する。たとえば、プロセッサ11は、当該商品の商品名が記載される領域に隣接する金額を抽出する。金額を抽出すると、プロセッサ11は、当該金額をセルフメディケーション費として取得する。
After specifying the product, the
なお、プロセッサ11は、セルフメディケーション税制の対象となる商品を複数個特定した場合、各商品の金額を合算した値をセルフメディケーション費として取得する。
When a plurality of commodities subject to the self-medication tax system are specified, the
セルフメディケーション費を取得すると、プロセッサ11は、店舗名、住所、日付及びセルフメディケーション費を対応付けたセルフメディケーション費レコードを生成する。セルフメディケーション費レコードを生成すると、プロセッサ11は、セルフメディケーション費レコードをセルフメディケーション費レコードデータベースに登録する。
After obtaining the self-medication cost, the
また、プロセッサ11は、出力する明細書を選択する機能を有する。
The
たとえば、プロセッサ11は、医療費控除の明細書を示すアイコン及びセルフメディケーション税制の明細書を示すアイコンを表示部27に表示する。プロセッサ11は、操作部26を通じて両アイコンの何れかへのタップを受け付け、タップされたアイコンに基づいて出力する明細書を選択する。
For example, the
また、プロセッサ11は、明細書の年度を選択してもよい。たとえば、プロセッサ11は、各年度を示すアイコンを表示部27に表示する。プロセッサ11は、操作部26を通じてアイコンへのタップを受け付け、タップされたアイコンに基づいて明細書の年度を選択する。
また、プロセッサ11は、明細書の出力形式を選択してもよい。たとえば、プロセッサ11は、「印刷」、「CSV」及び「出力しない」をそれぞれ示すアイコンを表示する。「印刷」は、明細書を用紙に印刷することを示す。「CSV」は、明細書をCSV(Comma Separated Value)形式のファイルとして出力することを示す。また、「出力しない」は、明細書を表示部27に表示することを示す。プロセッサ11は、操作部26を通じてアイコンへのタップを受け付け、タップされたアイコンに基づいて出力形式を選択する。
Also, the
図4は、プロセッサ11が明細書、年度及び出力形式の入力を受け付けるために表示部27に表示する画面である。
FIG. 4 shows a screen displayed on the
図4が示すように、プロセッサ11は、アイコン51(51a並びに51b)、アイコン52(52a並びに52b)及びアイコン53(53a乃至53c)を表示する。
As FIG. 4 shows, the
アイコン51は、明細書の年度を選択するためのアイコンである。アイコン51aは、2016年度を示す。また、アイコン51bは、2017年度を示す。
Icon 51 is an icon for selecting the year of the specification. The
アイコン52は、出力する明細書を選択するためのアイコンである。アイコン52aは、医療費の明細書を示す。アイコン52bは、セルフメディケーション税制の明細書を示す。
An icon 52 is an icon for selecting a specification to be output. The
アイコン53は、出力形式を選択するためのアイコンである。アイコン53aは、「印刷」を示すアイコンである。アイコン53bは、「CSV」を示すアイコンである。アイコン53cは、「出力しない」を示すアイコンである。
An icon 53 is an icon for selecting an output format. The
また、プロセッサ11は、選択した明細書を出力する機能を有する。
The
まず、プロセッサ11が医療費控除の明細書を選択した場合について説明する。
First, a case where the
プロセッサ11は、医療費レコードデータベースから、選択した年度の医療費レコードを抽出する。即ち、プロセッサ11は、日付が当該年度の含まれる医療費レコードを抽出する。
The
医療費レコードを抽出すると、プロセッサ11は、各医療費レコードの医療費を合算して合計金額(第1の合計金額)を算出する。合計金額を算出すると、プロセッサ11は、控除を受けることができる控除額を算出する。たとえば、プロセッサ11は、合計金額から所定の金額(たとえば、100000円)を減算して控除額を算出する。
After extracting the medical expense records, the
控除額を算出すると、プロセッサ11は、抽出した医療費レコード、合計金額及び控除額を示すCSVデータを生成する。たとえば、プロセッサ11は、抽出した各医療費レコードの医療機関名、住所、日付及び医療費を示すCSVデータを生成する。プロセッサ11は、CSVデータに合計金額及び控除額を追加する。
After calculating the deductible amount, the
CSVデータを生成すると、プロセッサ11は、選択した出力形式に従って医療費控除の明細書を出力する。プロセッサ11は、出力形式として「CSV」を選択した場合、医療費控除の明細書としてCSVデータを出力する。たとえば、プロセッサ11は、外部メモリ(たとえば、USBメモリ)などにCSVデータを格納する。また、プロセッサ11は、通信部15を通じて外部装置にCSVデータを送信してもよい。
After generating the CSV data,
また、プロセッサ11は、出力形式として「印刷」又は「出力しない」を選択した場合、CSVデータから、医療費控除の明細書のイメージデータを生成する。たとえば、プロセッサ11は、国税庁に提出可能なフォーマットに従って、医療費控除の明細書のイメージデータを生成する。
Further, when the
プロセッサ11は、「印刷」を選択した場合、プリンタ28を用いて、生成したイメージデータを用紙に印刷する。即ち、プロセッサ11は、生成したイメージデータをプリンタ28に送信する。
When "print" is selected, the
また、プロセッサ11は、出力形式として「出力しない」を選択した場合、生成したイメージデータを表示部27に表示する。
In addition, the
次に、プロセッサ11がセルフメディケーション税制の明細書を選択した場合について説明する。
Next, a case where the
プロセッサ11は、セルフメディケーション費レコードデータベースから、選択した年度のセルフメディケーション費レコードを抽出する。即ち、プロセッサ11は、日付が当該年度の含まれるセルフメディケーション費レコードを抽出する。
The
セルフメディケーション費レコードを抽出すると、プロセッサ11は、各セルフメディケーション費レコードのセルフメディケーション費を合算して合計金額(第2の合計金額)を算出する。合計金額を算出すると、プロセッサ11は、控除を受けることができる控除額を算出する。たとえば、プロセッサ11は、合計金額から所定の金額(たとえば、10000円)を減算して控除額を算出する。
After extracting the self-medication expense records, the
控除額を算出すると、プロセッサ11は、抽出したセルフメディケーション費レコード、合計金額及び控除額を示すCSVデータを生成する。たとえば、プロセッサ11は、抽出した各セルフメディケーション費レコードの店舗名、住所、日付及びセルフメディケーション費を示すCSVデータを生成する。プロセッサ11は、CSVデータに合計金額及び控除額を追加する。
After calculating the deduction amount, the
CSVデータを生成すると、プロセッサ11は、選択した出力形式に従ってセルフメディケーション税制の明細書を出力する。プロセッサ11は、出力形式として「CSV」を選択した場合、セルフメディケーション税制の明細書としてCSVデータを出力する。たとえば、プロセッサ11は、外部メモリ(たとえば、USBメモリ)などにCSVデータを格納する。また、プロセッサ11は、通信部15を通じて外部装置にCSVデータを送信してもよい。
After generating the CSV data,
また、プロセッサ11は、出力形式として「印刷」又は「出力しない」を選択した場合、CSVデータから、セルフメディケーション税制の明細書の画像データを生成する。たとえば、プロセッサ11は、国税庁に提出可能なフォーマットに従って、セルフメディケーション税制の明細書のイメージデータを生成する。
Further, when the
プロセッサ11は、「印刷」を選択した場合、プリンタ28を用いて、生成したイメージデータを用紙に印刷する。即ち、プロセッサ11は、生成したイメージデータをプリンタ28に送信する。
When "print" is selected, the
また、プロセッサ11は、出力形式として「出力しない」を選択した場合、生成したイメージデータを表示部27に表示する。
In addition, the
次に、画像形成装置10の動作例について説明する。
Next, an operation example of the
まず、画像形成装置10が医療費レコード又はセルフメディケーション費レコードを登録する動作例について説明する。図5及び図6は、画像形成装置10が医療費レコード又はセルフメディケーション費レコードを登録する動作例について説明するためのフローチャートである。
First, an operation example in which the
まず、画像形成装置10のプロセッサ11は、医療費レコードの登録を選択したか判定する(ACT11)。医療費レコードの登録を選択したと判定すると(ACT11、YES)、プロセッサ11は、スキャナ29を用いて医療機関の第1の領収書をスキャンする(ACT12)。
First, the
第1の領収書をスキャンすると、プロセッサ11は、第1の領収書の画像に対してOCR処理を行う(ACT13)。第1の領収書の画像に対してOCR処理を行うと、プロセッサ11は、読取結果に基づいて、第1の領収書から第1の領域情報データベースの医療機関名の抽出に成功したか判定する(ACT14)。
Upon scanning the first receipt,
第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
第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
第1の領収書の画像を表示部27に表示すると、プロセッサ11は、医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付ける(ACT17)。医療機関名領域、第1の住所領域、第1の日付領域及び医療費領域の入力を受け付けると、プロセッサ11は、医療機関名領域から医療機関名を読み取る(ACT18)。
After displaying the image of the first receipt on the
医療機関名を読み取ると、プロセッサ11は、医療機関名と、第1の住所領域情報、第1の日付領域情報及び医療費領域情報とを対応付けたレコードを第1の領域情報データベースに登録する(ACT19)。
After reading the medical institution name, the
第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
住所、日付及び医療費を読み取ると、プロセッサ11は、医療機関名、住所、日付及び医療費を対応付けた医療費レコードを医療費レコードデータベースに登録する(ACT21)。
After reading the address, date and medical expenses, the
医療費レコードを医療費レコードデータベースに登録すると、プロセッサ11は、動作を終了する。
After registering the medical expense record in the medical expense record database,
セルフメディケーション費レコードの登録を選択したと判定すると(ACT11、NO)、プロセッサ11は、スキャナ29を用いて店舗の第2の領収書をスキャンする(ACT22)。
Upon determining that registration of the self-medication expense record has been selected (
第2の領収書をスキャンすると、プロセッサ11は、第1の領収書の画像に対してOCR処理を行う(ACT23)。第1の領収書の画像に対してOCR処理を行うと、プロセッサ11は、読取結果に基づいて、第2の領収書から第2の領域情報データベースの店舗名の抽出に成功したか判定する(ACT24)。
Upon scanning the second receipt,
第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
第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
第2の領収書の画像を表示部27に表示すると、プロセッサ11は、店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付ける(ACT27)。店舗名領域、第2の住所領域、第2の日付領域、記号領域及び金額領域の入力を受け付けると、プロセッサ11は、店舗名領域から店舗名を読み取る(ACT28)。
When the image of the second receipt is displayed on the
店舗名を読み取ると、プロセッサ11は、店舗名と、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額領域情報とを対応付けたレコードを第2の領域情報データベースに登録する(ACT29)。
After reading the store name, the
第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
住所などを読み取ると、プロセッサ11は、住所などに基づいて、店舗名、住所、日付及びセルフメディケーション費を対応付けたセルフメディケーション費レコードをセルフメディケーション費レコードデータベースに登録する(ACT31)。
After reading the address, the
セルフメディケーション費レコードをセルフメディケーション費レコードデータベースに登録すると、プロセッサ11は、動作を終了する。
After registering the self-medication expense record in the self-medication expense record database, the
次に、画像形成装置10が明細書を出力する動作例について説明する。図7は、画像形成装置10が明細書を出力する動作例について説明するためのフローチャートである。
Next, an operation example in which the
まず、画像形成装置10のプロセッサ11は、出力する明細書、年度及び出力形式の入力を受け付けるメニュー(たとえば、図4の画像)を表示部27に表示する(ACT41)。メニューを表示すると、プロセッサ11は、出力する明細書、年度及び出力形式の入力を受け付ける(ACT42)。
First, the
出力する明細書、年度及び出力形式の入力を受け付けると、プロセッサ11は、医療費控除の明細書の選択を受け付けたか判定する(ACT43)。医療費控除の明細書の選択を受け付けたと判定すると(ACT43、YES)、プロセッサ11は、入力された年度の医療費レコードを医療費レコードデータベースから抽出する(ACT44)。
Upon receiving the input of the statement to be output, the year, and the output format, the
医療費レコードを抽出すると、プロセッサ11は、抽出した各医療費レコードの医療費を合算して合計金額を算出する(ACT45)。合計金額を算出すると、プロセッサ11は、合計金額に基づいて控除額を算出する(ACT46)。
After extracting the medical expense records, the
セルフメディケーション税制の明細書の選択を受け付けたと判定すると(ACT43、NO)、プロセッサ11は、入力された年度のセルフメディケーション費レコードをセルフメディケーション費レコードデータベースから抽出する(ACT47)。
When it is determined that the selection of the statement of the self-medication tax system has been accepted (
セルフメディケーション費レコードを抽出すると、プロセッサ11は、抽出した各セルフメディケーション費レコードのセルフメディケーション費を合算して合計金額を算出する(ACT48)。合計金額を算出すると、プロセッサ11は、合計金額に基づいて控除額を算出する(ACT49)。
After extracting the self-medication expense records, the
合計金額に基づいて控除額を算出した場合(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
CSVデータを生成すると、プロセッサ11は、出力形式として「CSV」の選択を受け付けたか判定する(ACT51)。出力形式として「CSV」の選択を受け付けたと判定すると(ACT51、YES)、プロセッサ11は、CSVデータを出力する(ACT52)。
After generating the CSV data,
出力形式として「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
イメージデータを生成すると、プロセッサ11は、出力形式として「印刷」の選択を受け付けたか判定する(ACT54)。出力形式として「印刷」の選択を受け付けたと判定すると(ACT54、YES)、プロセッサ11は、プリンタ28を用いてイメージデータを印刷する(ACT55)。
After generating the image data, the
出力形式として「出力しない」の選択を受け付けたと判定すると(ACT54、NO)、プロセッサ11は、イメージデータを表示部27に表示する(ACT56)。
When determining that the selection of "not output" as the output format has been received (ACT54, NO), the
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
なお、プロセッサ11は、イメージデータを外部装置に出力してもよい。たとえば、プロセッサ11は、イメージデータを外部メモリ(たとえば、USBメモリ)などに格納してもよい。また、プロセッサ11は、外部サーバ(たとえば、オンラインで控除申請を受け付けるサーバ)などにイメージデータを送信してもよい。
Note that the
また、画像形成装置10は、スキャナ29を備えなくともよい。たとえば、画像形成装置10のプロセッサ11は、外部のカメラから第1の領収書又は第2の領収書を撮影した画像を取得してもよい。たとえば、プロセッサ11は、スマートフォン又はタブレットPCなどの携帯端末から画像を取得してもよい。
Also, the
また、画像形成装置10は、プリンタ28を備えなくともよい。画像形成装置10のプロセッサ11は、外部のプリンタにイメージデータを送信してもよい。
Also, the
また、プロセッサ11は、スキャナ29から取得したスキャンデータに基づいて、スキャンデータが、医療機関が発行した第1の領収書の画像又は店舗が発行した第2の領収書の画像であるかを判定してもよい。
Also, based on the scan data acquired from the
また、プロセッサ11は、第1の住所領域情報、第1の日付領域情報、医療費領域情報、第2の住所領域情報、第2の日付領域情報、記号領域情報及び金額情報を外部装置(たとえば、ネットワークを通じて通信するサーバなど)から取得してもよい。
Also, the
以上のように構成された画像形成装置は、医療機関が発行した第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
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.
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)
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 |
-
2018
- 2018-12-06 JP JP2018229403A patent/JP7201415B2/en active Active
Patent Citations (3)
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)
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 |