JP7402008B2 - Disease name inference system, disease name inference method, disease name inference program, and data structure - Google Patents

Disease name inference system, disease name inference method, disease name inference program, and data structure Download PDF

Info

Publication number
JP7402008B2
JP7402008B2 JP2019186247A JP2019186247A JP7402008B2 JP 7402008 B2 JP7402008 B2 JP 7402008B2 JP 2019186247 A JP2019186247 A JP 2019186247A JP 2019186247 A JP2019186247 A JP 2019186247A JP 7402008 B2 JP7402008 B2 JP 7402008B2
Authority
JP
Japan
Prior art keywords
data
name
injury
prescription
disease
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
JP2019186247A
Other languages
Japanese (ja)
Other versions
JP2021060932A (en
Inventor
宏昌 國光
Original Assignee
株式会社イーエムシステムズ
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 株式会社イーエムシステムズ filed Critical 株式会社イーエムシステムズ
Priority to JP2019186247A priority Critical patent/JP7402008B2/en
Publication of JP2021060932A publication Critical patent/JP2021060932A/en
Application granted granted Critical
Publication of JP7402008B2 publication Critical patent/JP7402008B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

特許法第30条第2項適用 1.[発行者名] 株式会社イーエムシステムズ [刊行物名] 薬局向け業務支援ンステム「MAPs for PHARMACY」記者会見のご案内 [発行日] 平成31年4月16日 2.[集会名] 「MAPs for PHARMACY」発表記者会見 [開催場所] 東京都千代田区神田錦町3-6 共同ビル2F 株式会社イーエムシステムズプレゼンテーションルーム [開催日] 令和元年5月15日 3.[発行者名] 株式会社薬事日報社 [刊行物名] 薬事日報第8面 [発行日] 令和元年6月5日Application of Article 30, Paragraph 2 of the Patent Act 1. [Publisher name] EM Systems Co., Ltd. [Publication name] Press conference information for ``MAPs for PHARMACY'', a business support system for pharmacies [Date of publication] April 16, 2019 2. [Meeting name] Press conference announcing “MAPs for PHARMACY” [Venue] EM Systems Co., Ltd. Presentation Room, Kyodo Building 2F, 3-6 Kanda Nishikicho, Chiyoda-ku, Tokyo [Date] May 15, 2019 3. [Publisher name] Yakuji Nipposha Co., Ltd. [Publication name] Yakuji Nippo page 8 [Date of publication] June 5, 2019

本発明は、傷病名推論システム、傷病名推論方法、及び傷病名推論プログラムに関し、特に、機械学習により処方箋データから傷病名を推論する傷病名推論システム、傷病名推論方法、傷病名推論プログラム、及びデータ構造に関する。 The present invention relates to a disease name inference system, a disease name inference method, and a disease name inference program, and particularly to a disease name inference system, a disease name inference method, a disease name inference program, and a disease name inference system, a disease name inference method, and a disease name inference program that infer a disease name from prescription data using machine learning. Regarding data structures.

病院やクリニックで診療を受けた患者は、病院やクリニックから発行された処方箋を薬局に持参し、処方箋に基づいて薬剤を受け取り、用法用量についての説明や服薬指導を薬剤師から受ける。 Patients who receive treatment at a hospital or clinic bring a prescription issued by the hospital or clinic to a pharmacy, receive the medicine based on the prescription, and receive explanations about dosage and medication instructions from the pharmacist.

しかしながら、病院やクリニックが発行する処方箋には傷病名が記載されておらず、患者の傷病に応じた適切な服薬指導を行うことが困難であった。例えば、薬剤に副作用がある場合、傷病によって副作用の説明が異なり、用法用量に関する注意事項も異なるが、処方箋からでは傷病名を把握することができず、適切な服薬指導を行うことが困難であった。 However, prescriptions issued by hospitals and clinics do not include the name of the patient's injury or disease, making it difficult to provide appropriate medication guidance according to the patient's injury or disease. For example, if a drug has side effects, the explanation of the side effects differs depending on the injury or disease, and the precautions regarding dosage and administration also differ, but it is difficult to know the name of the injury or disease from the prescription, and it is difficult to provide appropriate medication guidance. Ta.

このような課題に鑑み、処方データベースと、薬剤データベースと、傷病データベースとが互いに関連付けて検索可能である病態推測データベースが開示されている(特許文献1)。 In view of such problems, a pathological condition estimation database has been disclosed in which a prescription database, a drug database, and an injury and disease database can be searched in association with each other (Patent Document 1).

特開第2004-185196号公報Japanese Patent Application Publication No. 2004-185196

しかしながら、特許文献1に示される病態推測データベースでは、互いに関連付けられているデータベースから検索できるにすぎず、処方箋データから傷病名を高精度で推論することはできない。例えば、複数の薬剤が処方されている場合、それぞれの薬剤ごとに照合が行われるため、複数の薬剤を総合的に考慮して傷病名を高精度で推論することはできない。 However, in the pathological condition estimation database shown in Patent Document 1, it is only possible to search from databases that are associated with each other, and it is not possible to infer the name of injury or disease from prescription data with high accuracy. For example, when multiple drugs are prescribed, verification is performed for each drug, so it is not possible to infer the name of injury or disease with high accuracy by comprehensively considering the multiple drugs.

また、特許文献1に示される病態推測データベースでは、患者ごとの体質や病歴、薬歴等を記憶した患者情報データベースを格納することにより、その患者に対して服薬指導を行うことができるが、投薬条件テーブルで、投薬される患者の症状の程度が表示されるだけであり、患者の体質等から傷病名を推論することはできない。 In addition, in the pathological state estimation database shown in Patent Document 1, by storing a patient information database that stores each patient's constitution, medical history, drug history, etc., it is possible to provide medication guidance to the patient. The condition table only displays the severity of the patient's symptoms and cannot infer the name of the disease or disease from the patient's constitution.

本発明の傷病名推論システムは、プロセッサと記憶装置を含み、前記プロセッサが傷病名を推論する傷病名推論システムであって、前記プロセッサは、処方箋データの処方薬と傷病名データとが関連付けられた学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習部と、前記学習済みモデルに入力された推論用の処方箋データから前記傷病名を推論する推論部と、を備える。 The disease name inference system of the present invention includes a processor and a storage device, the processor infers the name of the disease, and the processor infers the name of the disease and the prescription data. The apparatus includes a machine learning unit that generates a learned model by machine learning based on learning data, and an inference unit that infers the name of the injury or disease from prescription data for inference input to the learned model.

本発明によれば、機械学習により処方箋データから傷病名を総合的に推論するため、傷病名を高精度で推論することができる。 According to the present invention, since the name of injury or disease is comprehensively inferred from prescription data by machine learning, the name of injury or disease can be inferred with high accuracy.

本実施形態の傷病名推論システムのシステム構成の例を示すブロック図である。FIG. 1 is a block diagram showing an example of a system configuration of a disease name inference system according to the present embodiment. 本実施形態の人工知能サーバのシステム構成の例を示すブロック図である。FIG. 1 is a block diagram showing an example of a system configuration of an artificial intelligence server according to the present embodiment. 本実施形態の学習用データベースサーバのシステム構成の例を示すブロック図である。It is a block diagram showing an example of the system configuration of the learning database server of this embodiment. 学習用データとして格納されるデータの例を示す図である。FIG. 3 is a diagram showing an example of data stored as learning data. 処方箋データの少なくとの1つを複数のグループに分類することにより拡張された学習用データについて説明する図である。It is a figure explaining the data for learning expanded by classifying at least one of prescription data into a plurality of groups. 本実施形態の傷病名推論方法の例を示すフローチャートである。2 is a flowchart illustrating an example of a disease name inference method according to the present embodiment. 各種データの取得及び前処理、並びに学習済みモデルの生成及び格納の動作の例を示すシーケンス図である。FIG. 3 is a sequence diagram illustrating an example of operations for acquiring and preprocessing various data, and generating and storing a learned model. 学習済みモデルによる推論及び推論結果の決定の動作の例を示すシーケンス図である。FIG. 3 is a sequence diagram illustrating an example of operations of inference using a trained model and determination of an inference result. コンピュータのディスプレイに表示された推論結果の第1の例を示す図である。FIG. 3 is a diagram showing a first example of an inference result displayed on a computer display. コンピュータのディスプレイに表示された推論結果の第2の例を示す図である。FIG. 6 is a diagram showing a second example of the inference result displayed on the computer display. コンピュータのディスプレイに表示された推論結果の第3の例を示す図である。FIG. 7 is a diagram illustrating a third example of inference results displayed on a computer display.

本発明の実施形態の傷病名推論システムについて、図面を用いて説明する。図1は、本実施形態の傷病名推論システムのシステム構成の例を示すブロック図である。傷病名推論システム1は、傷病名を推論する。 A disease name inference system according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an example of the system configuration of the injury/illness name inference system of this embodiment. The injury/illness name inference system 1 infers the injury/illness name.

図1に示すように、傷病名推論システム1は、ネットワーク2を介して電気的に接続され、相互に通信可能な人工知能サーバ3、学習用データベースサーバ4、及びコンピュータ(PC)5を備える。 As shown in FIG. 1, the disease name inference system 1 includes an artificial intelligence server 3, a learning database server 4, and a computer (PC) 5, which are electrically connected via a network 2 and can communicate with each other.

図2は、本実施形態の人工知能サーバのシステム構成の例を示すブロック図である。図2に示すように、人工知能サーバ3は、プロセッサ21、記憶装置(例えば、ROMやRAMやHDD等)22、入力装置23、インターフェース24、及び出力装置25を備える。 FIG. 2 is a block diagram showing an example of the system configuration of the artificial intelligence server of this embodiment. As shown in FIG. 2, the artificial intelligence server 3 includes a processor 21, a storage device (for example, ROM, RAM, HDD, etc.) 22, an input device 23, an interface 24, and an output device 25.

プロセッサ21は、CPUやMPUやGPU等の制御装置であり、データ取得部32、機械学習部34、学習済みモデル格納部35、及び推論部36を備える。データ取得部32、前処理部33、機械学習部34、学習済みモデル格納部35、及び推論部36はバス(図示せず)により電気的に接続され、相互に通信可能である。 The processor 21 is a control device such as a CPU, MPU, or GPU, and includes a data acquisition section 32, a machine learning section 34, a learned model storage section 35, and an inference section 36. The data acquisition section 32, preprocessing section 33, machine learning section 34, learned model storage section 35, and inference section 36 are electrically connected by a bus (not shown) and can communicate with each other.

図3は、本実施形態の学習用データベースサーバのシステム構成の例を示すブロック図である。図3に示すように、学習用データベースサーバ4は、プロセッサ37、学習用データベース41、記憶装置(例えば、ROMやRAMやHDD等)42、入力装置43、インターフェース44、及び出力装置45を備える。プロセッサ37は、CPUやMPUやGPU等の制御装置であり、データ格納部38、データ取得部39、及び前処理部40を備える。学習用データベース41は、カルテデータ46、処方箋データ48、及び学習用データ80を含む。 FIG. 3 is a block diagram showing an example of the system configuration of the learning database server of this embodiment. As shown in FIG. 3, the learning database server 4 includes a processor 37, a learning database 41, a storage device (for example, ROM, RAM, HDD, etc.) 42, an input device 43, an interface 44, and an output device 45. The processor 37 is a control device such as a CPU, MPU, or GPU, and includes a data storage section 38, a data acquisition section 39, and a preprocessing section 40. The learning database 41 includes medical record data 46, prescription data 48, and learning data 80.

カルテデータ46は、病院やクリニックから取得されたカルテデータであり、処方箋を発行された患者の傷病名データ47を含み、傷病名と処方薬と患者属性(氏名や保険者番号や被保険者証の記号・番号等)のデータ(図示せず)を含む。処方箋データ48は、処方薬と患者の属性データ(氏名や保険者番号や被保険者証の記号・番号等)49とを含む。カルテデータ46の患者属性と処方箋データ48の患者の属性データ49を関連付けることにより、傷病名ごと又は処方箋ごとに傷病名データ47と処方箋データ48とが関連付けられる。関連付けられた傷病名データ47と処方箋データ48とが、学習用データ80として、学習用データベース41に格納される。学習用データ80は、人工知能サーバ3の機械学習部34の機械学習に用いられるデータである。 The medical record data 46 is medical record data obtained from a hospital or clinic, and includes the injury/disease name data 47 of the patient for whom a prescription has been issued, including the injury/disease name, prescribed medicine, and patient attributes (name, insurer number, and insurance card). (symbols, numbers, etc.) (not shown). The prescription data 48 includes prescription drugs and patient attribute data 49 (name, insurer number, symbol/number of insured person's card, etc.). By associating the patient attributes of the medical record data 46 with the patient attribute data 49 of the prescription data 48, the injury/illness name data 47 and the prescription data 48 are associated for each injury/illness name or prescription. The associated disease name data 47 and prescription data 48 are stored in the learning database 41 as learning data 80. The learning data 80 is data used for machine learning by the machine learning unit 34 of the artificial intelligence server 3.

なお、図3では、カルテデータ46及び処方箋データ48には、処方薬の薬剤データ(薬剤名や薬剤コード)が含まれるが、カルテデータ46及び処方箋データ48が薬剤データを含む代わりに、カルテデータ46及び処方箋データ48とは別に薬剤データが学習用データベース41に格納されて、当該薬剤データがカルテデータ46及び処方箋データ48とそれぞれ関連付けられてもよい。また、処方箋データ48には、処方される薬剤の効能/効果データが含まれるが、処方箋データ48が効能/効果データを含む代わりに、処方箋データ48とは別に効能/効果データが学習用データベース41に格納されて、当該効能/効果データが処方箋データ48の薬剤データ又は処方箋データ48とは別の薬剤データと関連付けられてもよい。 In addition, in FIG. 3, the medical record data 46 and the prescription data 48 include drug data (drug name and drug code) of prescription drugs, but instead of the medical record data 46 and the prescription data 48 including drug data, the medical record data 46 and the prescription data 48 46 and the prescription data 48, drug data may be stored in the learning database 41, and the drug data may be associated with the medical record data 46 and the prescription data 48, respectively. Further, the prescription data 48 includes efficacy/effect data of prescribed drugs, but instead of the prescription data 48 including efficacy/effect data, the efficacy/effect data is stored in the learning database 41 separately from the prescription data 48. The efficacy/effect data may be associated with drug data of the prescription data 48 or with drug data different from the prescription data 48.

図4は、学習用データ80として格納されるデータの例を示す図である。図4に示すように、傷病名データ47及び処方箋データ48が患者や処方箋等を特定するID50(患者の氏名や保険者番号や被保険者証の記号・番号等)で関連付けられている。データ取得部39が、傷病名データ47及び処方箋データ48を取得する。前処理部40が、カルテデータ46の患者の氏名や保険者番号や被保険者証の記号・番号等のIDに基づいて傷病名データ47と処方箋データ48とを関連付ける。関連付けられたデータは、学習用データ80として学習用データベース41に格納される。 FIG. 4 is a diagram showing an example of data stored as learning data 80. As shown in FIG. 4, the injury/illness name data 47 and the prescription data 48 are associated with each other using an ID 50 (patient's name, insurer number, symbol/number of an insured card, etc.) that identifies the patient, prescription, etc. The data acquisition unit 39 acquires injury/illness name data 47 and prescription data 48 . The preprocessing unit 40 associates the injury/illness name data 47 with the prescription data 48 based on the ID of the patient's name, insurer number, symbol/number of the insured person's card, etc. in the medical record data 46 . The associated data is stored in the learning database 41 as learning data 80.

カルテデータ46の傷病名データ47に基づいて、傷病名データ51が学習用データ80として格納される。処方箋データ48に基づいて、薬剤名(薬名)52、薬剤コード53、効能/効果54、用法/用量55、診療日56、診療科57、及び患者属性58が学習用データ80として格納される。このように、傷病名ごと又は処方箋ごとに、患者の属性データ(患者属性)58を含む処方箋データ52~58と傷病名データ51とが関連付けられて、学習用データ80が生成される。 Based on the injury/illness name data 47 of the medical record data 46, the injury/illness name data 51 is stored as learning data 80. Based on prescription data 48, drug name (drug name) 52, drug code 53, efficacy/effect 54, usage/dose 55, medical treatment date 56, medical department 57, and patient attribute 58 are stored as learning data 80. . In this way, the prescription data 52 to 58 including patient attribute data (patient attributes) 58 are associated with the injury/illness name data 51 for each injury/disease name or prescription, and the learning data 80 is generated.

図4では、ID50が「1」の学習用データ80について、複数の処方薬(薬剤名(薬名)52又は薬剤コード53)に傷病名データ51「高コレステロール血症」が関連付けられている。これは、1つの処方箋に複数の処方薬が含まれている例である。 In FIG. 4, regarding the learning data 80 whose ID 50 is "1", the injury/disease name data 51 "hypercholesterolemia" is associated with a plurality of prescription drugs (drug names (drug names) 52 or drug codes 53). This is an example of one prescription containing multiple prescription drugs.

用法/用量55の用法には、処方薬の処方日数(服薬日数)、処方回数(服薬回数)、服薬時点(食前、食後、及び食間等)、投与経路/部位(右眼に点眼、患部に塗布等)、及び投与量等がデータとして格納されており、用量には、1日分、1回分、もしくは1日分の投与量と、1日の投与回数がデータとして格納されている。 Dosage/Administration 55 includes the number of days the prescription drug is prescribed (the number of days it is taken), the number of times it is prescribed (the number of times it is taken), the time of taking the drug (before meals, after meals, between meals, etc.), and the route/site of administration (drop into the right eye, instillation into the affected area). Application, etc.), dosage, etc. are stored as data, and the dosage field stores as data the dosage for one day, one dose, or one day's worth of dosage, and the number of times of administration per day.

本実施形態では、用法/用量55として、処方薬の処方日数、処方回数、及び処方種別が格納される。例えば、処方種別は、内滴、内服、浸煎、湯、頓服、外用、注射、自費、及び器材等に分類される。 In this embodiment, the usage/dose 55 stores the number of prescription days, number of prescriptions, and prescription type of the prescription drug. For example, the prescription type is classified into internal drops, internal use, infusion, hot water, temporary use, external use, injection, self-pay, equipment, and the like.

患者属性58として、患者の年齢、性別、体重、妊娠の有無、既往症、副作用歴、アレルギー歴、併用薬、生活習慣、嗜好、及び家族既往歴が格納される。このように、患者の年齢、性別、体重、妊娠の有無、既往症、副作用歴、アレルギー歴、併用薬、生活習慣、嗜好、及び家族既往歴の少なくとも1つを含む属性データ(患者属性)58を傷病名データ51と関連付けることにより、学習用データ80が拡張される。 As patient attributes 58, the patient's age, sex, weight, pregnancy status, past medical conditions, history of side effects, allergy history, concomitant medications, lifestyle, preferences, and family medical history are stored. In this way, attribute data (patient attributes) 58 including at least one of the patient's age, gender, weight, pregnancy status, past medical conditions, history of side effects, history of allergies, concomitant medications, lifestyle, preferences, and family medical history are collected. The learning data 80 is expanded by associating it with the injury/illness name data 51.

図5は、処方箋データ52~58の少なくとの1つを複数のグループに分類することにより拡張された学習用データ80について説明する図である。 FIG. 5 is a diagram illustrating learning data 80 expanded by classifying at least one of prescription data 52 to 58 into a plurality of groups.

図5(a)に示すように、属性データ(患者属性)58の年齢64を複数のグループ(新生児65、乳幼児66、小児67、高齢68)に分類することにより、学習用データ80が拡張される。また、体重を複数のグループに分類してもよい。また、生活習慣(飲酒や喫煙の頻度及び睡眠時間等)を複数のグループに分類してもよい。このように、属性データ(患者属性)58を複数のグループに分類することにより、学習用データ80が拡張される。 As shown in FIG. 5(a), the learning data 80 is expanded by classifying the age 64 of the attribute data (patient attributes) 58 into multiple groups (newborn 65, infant 66, child 67, elderly 68). Ru. Furthermore, weight may be classified into multiple groups. Furthermore, lifestyle habits (frequency of drinking and smoking, sleeping hours, etc.) may be classified into a plurality of groups. In this way, by classifying the attribute data (patient attributes) 58 into a plurality of groups, the learning data 80 is expanded.

図5(b)に示すように、処方日数70を複数のグループ(適用なし=2、急性=1、及び慢性=0)に分類することにより、学習用データ80が拡張される。処方種別に頓服や注射等を表すデータが格納されている場合や用法に処方日数(服薬日数)を表すデータが格納されていない場合は、「適用なし」を表すデータ「0」が格納される。また、用法に処方日数(服薬日数)を表すデータが格納されており、処方日数(服薬日数)が所定の日数(例えば、14日)未満であれば、「急性」を表すデータ「1」が格納され、所定の日数(例えば、14日)以上であれば、「慢性」を表すデータ「2」が格納される。所定の日数は、処方薬等に応じて変動可能である。また、処方回数を複数のグループに分類することにより、学習用データ80が拡張されてもよい。 As shown in FIG. 5(b), the learning data 80 is expanded by classifying the prescription days 70 into a plurality of groups (not applicable=2, acute=1, and chronic=0). If data representing prescription type, such as occasional use or injection, is stored, or if data representing prescription days (number of days for taking medication) is not stored in usage, data "0" representing "not applicable" is stored. . In addition, data representing the number of prescription days (number of days for taking medication) is stored in the usage, and if the number of prescription days (number of days for taking medication) is less than a predetermined number of days (for example, 14 days), data ``1'' representing ``acute'' is set. If the number of days is greater than or equal to a predetermined number of days (for example, 14 days), data "2" representing "chronic" is stored. The predetermined number of days can vary depending on prescription drugs and the like. Further, the learning data 80 may be expanded by classifying the number of prescriptions into a plurality of groups.

図5(c)に示すように、診療日56を複数のグループ(季節又は四半期61、月62、及び曜日63)に分類することにより、学習用データ80が拡張される。診療日56を季節、四半期、月、及び曜日の少なくとも1つに分類するデータを用いることにより、学習用データ80が拡張される。 As shown in FIG. 5C, the learning data 80 is expanded by classifying the medical treatment days 56 into a plurality of groups (season or quarter 61, month 62, and day of the week 63). The learning data 80 is expanded by using data that classifies the medical treatment days 56 into at least one of seasons, quarters, months, and days of the week.

図5(d)に示すように、診療科57を複数のグループ(複数の診療区分69)に分類することにより、学習用データ80が拡張される。所定の基準診療科名が診療科57の診療科名と部分一致する場合に、一致する部分ごとに診療科名を設定することにより、複数のグループに分類することで、学習用データ80が拡張される。基準診療科名は、厚生労働省の診療科区分から「科」を除いたものが用いられてもよいし、データベース化された他の診療科区分が用いられてもよい。厚生労働省の診療科区分としては、内(科)、整形外(科)、眼(科)心療内(科)形成外(科)、耳鼻咽喉(科)、及び精神(科)等の診療科区分がある。例えば、図5(d)に示すように、診療科57が「神経内科」である場合は、基準診療科名「内(科)」と「精神(科)」が「神経内科」と部分一致するため、「神経内科」は複数のグループ「内科」と「精神科」に分類され、診療区分69には、「内科」と「精神科」を表すデータが格納される。 As shown in FIG. 5(d), the learning data 80 is expanded by classifying the medical department 57 into a plurality of groups (a plurality of medical treatment divisions 69). When the predetermined standard medical department name partially matches the medical department name of the medical department 57, the learning data 80 is expanded by setting the medical department name for each matching part and classifying it into multiple groups. be done. As the standard medical department name, the Ministry of Health, Labor and Welfare's medical department classifications without "department" may be used, or other clinical department classifications compiled in a database may be used. The medical departments classified by the Ministry of Health, Labor and Welfare include internal medicine (department), non-orthopedics (department), ophthalmology (department), psychosomatic (department), non-plastic (department)), otorhinolaryngology (department), and psychiatry (department). There is a division. For example, as shown in FIG. 5(d), if the medical department 57 is "Neurology", the reference medical department names "Internal Medicine" and "Psychiatry (Department)" partially match "Neurology". Therefore, "neurology" is classified into multiple groups "internal medicine" and "psychiatry", and the medical treatment category 69 stores data representing "internal medicine" and "psychiatry".

また、処方薬のデータとして医薬品コードを用い、医薬品コードの一部を抽出することにより、複数のグループに分類することで、学習用データ80が拡張されてもよい。医薬品コードとして、薬価基準収載医薬品コード又はYJコードが用いられてもよい。YJコードを用いる場合、YJコードを上1桁、上2桁、上3桁、上4桁、上5~7桁目、上8桁目、及び上9桁に分類することにより、学習用データ80が拡張されてもよい。例えば、ロキソプロフェンナトリウム水和物錠の60mg/1錠のYJコードは、「1149019F1242」であるので、「1」、「11」、「114」、「1149」、「019」、「F」、及び「1149019F1」に分類されることにより、学習用データ80が拡張される。 Further, the learning data 80 may be expanded by using a drug code as prescription drug data and extracting a part of the drug code to classify it into a plurality of groups. As the drug code, a drug price list drug code or a YJ code may be used. When using the YJ code, training data can be created by classifying the YJ code into first 1 digit, first 2 digits, first 3 digits, first 4 digits, first 5 to 7 digits, first 8 digits, and first 9 digits. 80 may be expanded. For example, the YJ code for 60 mg/1 tablet of loxoprofen sodium hydrate tablet is "1149019F1242", so "1", "11", "114", "1149", "019", "F", and By being classified as "1149019F1", the learning data 80 is expanded.

このように、処方箋データ52~58を複数のグループに分類することにより、学習用データ80が拡張される。 In this way, by classifying the prescription data 52 to 58 into a plurality of groups, the learning data 80 is expanded.

図6は、本実施形態の傷病名推論方法の例を示すフローチャートである。図7及び図8は、本実施形態の傷病名推論プログラムにより実行される動作の例を示すシーケンス図である。図7は、各種データの取得及び前処理、並びに学習済みモデルの生成及び格納の動作の例を示すシーケンス図である。図8は、学習済みモデルによる推論及び推論結果の決定の動作の例を示すシーケンス図である。傷病名推論プログラムは記録媒体に搭載されてもよい。 FIG. 6 is a flowchart illustrating an example of the disease name inference method according to the present embodiment. 7 and 8 are sequence diagrams showing examples of operations executed by the disease name inference program of this embodiment. FIG. 7 is a sequence diagram illustrating an example of operations for acquiring and preprocessing various data, and generating and storing a trained model. FIG. 8 is a sequence diagram illustrating an example of operations for inference using a learned model and determining an inference result. The injury/illness name inference program may be installed on a recording medium.

図6及び図7に示すように、ステップS1において、コンピュータ5のプロセッサ(図示せず)が、各種データの格納命令を学習用データベースサーバ4へ送信し(110)、学習用データベースサーバ4のデータ格納部38は、各種データの格納命令を実行し(111)、コンピュータ5又は入力装置43から入力された各種データを学習用データベース41に格納する。格納される各種データには、カルテデータ46、傷病名データ47、処方箋データ48、及び属性データ49が含まれる。 As shown in FIGS. 6 and 7, in step S1, the processor (not shown) of the computer 5 transmits an instruction to store various data to the learning database server 4 (110), and stores the data in the learning database server 4. The storage unit 38 executes a command to store various data (111), and stores various data input from the computer 5 or the input device 43 in the learning database 41. The various data stored include medical record data 46, disease name data 47, prescription data 48, and attribute data 49.

コンピュータ5のプロセッサが、各種データの取得命令及び前処理命令を学習用データベースサーバ4へ送信する(112)。ステップS2において、学習用データベースサーバ4のデータ取得部39は、各種データの取得命令を実行し(113)、各種データを学習用データベース41から取得する。ステップS3において、学習用データベースサーバ4の前処理部40は、各種データの関連付け命令を実行し(113)、傷病名データ47と処方箋データ48とを学習用データ80として関連付ける。 The processor of the computer 5 transmits various data acquisition commands and preprocessing commands to the learning database server 4 (112). In step S2, the data acquisition unit 39 of the learning database server 4 executes various data acquisition commands (113) and acquires various data from the learning database 41. In step S3, the preprocessing unit 40 of the learning database server 4 executes a command for associating various data (113), and associates the injury/illness name data 47 and the prescription data 48 as the learning data 80.

ステップS4において、データ格納部38が、学習用データ80の格納命令を実行し(115)、学習用データ80を学習用データベース41に格納する。また、前処理部40が、学習用データ80の拡張命令を実行し(115)、学習用データ80を拡張する。前処理部40が、患者の属性データ(患者属性)58と処方箋データ52~57とを関連付けることにより、学習用データ80をデータ拡張する。前処理部40が、患者の年齢、性別、体重、妊娠の有無、既往症、副作用歴、アレルギー歴、併用薬、生活習慣、嗜好、及び家族既往歴の少なくとも1つを含む属性データ(患者属性)58を処方箋データ52~57と関連付けることにより、学習用データ80をデータ拡張する。 In step S4, the data storage unit 38 executes the instruction to store the learning data 80 (115), and stores the learning data 80 in the learning database 41. Further, the preprocessing unit 40 executes an extension instruction for the learning data 80 (115) to extend the learning data 80. The preprocessing unit 40 expands the learning data 80 by associating the patient attribute data (patient attributes) 58 with the prescription data 52 to 57. The preprocessing unit 40 generates attribute data (patient attributes) including at least one of the patient's age, gender, weight, pregnancy status, past medical conditions, side effect history, allergy history, concomitant medications, lifestyle, preferences, and family medical history. 58 with the prescription data 52 to 57, the learning data 80 is expanded.

また、前処理部40が、処方箋データ52~57及び属性データ(患者属性)58の少なくとの1つを複数のグループに分類することにより、学習用データ80をデータ拡張する。前処理部40が、処方薬に加えて、処方薬の効能、効果、用法、用量、処方種別、診療日、診療科名、及び患者の属性データの少なくとも1つを分類することにより、学習用データ80をデータ拡張する。例えば、前処理部40が、属性データ(患者属性)58の年齢64を複数のグループ(新生児65、乳幼児66、小児67、高齢68)に分類することにより、学習用データ80をデータ拡張する。前処理部40が、処方日数70を複数のグループ(適用なし=2、急性=1、及び慢性=0)に分類することにより、学習用データ80をデータ拡張する。前処理部40が、診療日56を季節、四半期、月、及び曜日の少なくとも1つに分類するデータを用いることにより、学習用データ80をデータ拡張する。前処理部40が、診療科57を複数のグループ(複数の診療区分69)に分類することにより、学習用データ80をデータ拡張する。前処理部40が、処方薬のデータとして医薬品コードを用い、医薬品コードの一部を抽出することにより、学習用データ80をデータ拡張する。 Further, the preprocessing unit 40 expands the learning data 80 by classifying at least one of the prescription data 52 to 57 and the attribute data (patient attributes) 58 into a plurality of groups. The preprocessing unit 40 classifies, in addition to prescription drugs, at least one of the efficacy, effect, usage, dose, prescription type, medical treatment date, medical department name, and patient attribute data of the prescription drug. Data 80 is expanded. For example, the preprocessing unit 40 expands the learning data 80 by classifying the age 64 of the attribute data (patient attributes) 58 into a plurality of groups (newborn 65, infant 66, child 67, and elderly 68). The preprocessing unit 40 expands the learning data 80 by classifying the prescription days 70 into a plurality of groups (not applicable=2, acute=1, and chronic=0). The preprocessing unit 40 expands the learning data 80 by using data that classifies the medical treatment days 56 into at least one of seasons, quarters, months, and days of the week. The preprocessing unit 40 expands the learning data 80 by classifying the clinical department 57 into a plurality of groups (a plurality of medical treatment divisions 69). The preprocessing unit 40 expands the learning data 80 by using the drug code as prescription drug data and extracting a part of the drug code.

ステップS5において、前処理部40が、学習用データ80のフィルタ処理命令を実行し(116)、ID50ごとにフィルタ処理を行う。前処理部40は、処方箋データ52~58が傷病名データ51又は他の処方箋データ52~58と矛盾する場合又は所定の条件を満たす場合に、そのID50の傷病名データ51又は処方箋データ52~58を学習用データ80から除くことにより、フィルタ処理を行う。なお、前処理部40は、矛盾するデータ部分のみを除外してもよい。この結果、傷病名を高精度で推論することができる。 In step S5, the preprocessing unit 40 executes a filter processing command for the learning data 80 (116), and performs filter processing for each ID50. If the prescription data 52 to 58 are inconsistent with the disease name data 51 or other prescription data 52 to 58, or if a predetermined condition is satisfied, the preprocessing unit 40 replaces the disease name data 51 or the prescription data 52 to 58 with the ID 50. Filter processing is performed by excluding the data 80 from the learning data 80. Note that the preprocessing unit 40 may exclude only contradictory data portions. As a result, the name of the injury or disease can be inferred with high accuracy.

前処理部40は、処方箋データ52~58のグループが傷病名データ、処方薬、処方薬の効能、効果、用法、用量、及び処方種別の少なくとも1つと矛盾する場合又は所定の条件を満たす場合に、そのID50の傷病名データ51又は処方箋データ52~58を学習用データ80から除くことにより、フィルタ処理を行う。 The preprocessing unit 40 performs processing when the group of prescription data 52 to 58 is inconsistent with at least one of the injury/disease name data, the prescription drug, the efficacy, effect, usage, dosage, and prescription type of the prescription drug, or when a predetermined condition is satisfied. , filter processing is performed by excluding the injury/illness name data 51 or the prescription data 52 to 58 with the ID 50 from the learning data 80.

属性データ(患者属性)58の年齢64が複数のグループ(新生児65、乳幼児66、小児67、高齢68)に分類されて、学習用データ80がデータ拡張されており、分類が、傷病名データ51、効能/効果54、及び用法/用量55の少なくとの1つと矛盾する場合又は所定の条件を満たす場合に、前処理部40は、傷病名データ51又は処方箋データ52~58を学習用データ80から除く。例えば、所定のID50の年齢64では新生児65に分類されているが、効能/効果54には妊婦に関する傷病名データ51が含まれている場合、前処理部40は、そのID50の処方箋データの効能/効果54から妊婦に関する傷病名データ51を除外する。 The age 64 of the attribute data (patient attributes) 58 is classified into multiple groups (newborn 65, infant 66, child 67, elderly 68), the learning data 80 is expanded, and the classification is changed to the injury/disease name data 51. , efficacy/effect 54, and usage/dose 55, or when a predetermined condition is satisfied, the preprocessing unit 40 converts the disease name data 51 or the prescription data 52 to 58 into the learning data 80. Exclude from. For example, if the age 64 of a predetermined ID50 is classified as a newborn baby 65, but the efficacy/effect 54 includes injury/disease name data 51 related to pregnant women, the preprocessing unit 40 /Exclude the injury/illness name data 51 regarding pregnant women from the effect 54.

また、処方日数70が複数のグループ(適用なし=2、急性=1、及び慢性=0)に分類されて、学習用データ80がデータ拡張されており、分類が、傷病名データ51、効能/効果54、及び用法/用量55の少なくとの1つと矛盾する場合又は所定の条件を満たす場合に、前処理部40は、そのID50の傷病名データ51又は処方箋データ52~58を学習用データ80から除く。例えば、所定のID50の処方日数70では「慢性=0」に分類されているが、傷病名データ51には「急性胃炎」のように「急性」の文字列データが含まれている場合、前処理部40は、そのID50の処方日数70の分類データを除外する。 In addition, the number of prescription days 70 is classified into multiple groups (not applicable = 2, acute = 1, and chronic = 0), the learning data 80 is expanded, and the classification is changed to injury/disease name data 51, efficacy/ If it contradicts at least one of the effect 54 and the usage/dose 55, or if a predetermined condition is satisfied, the preprocessing unit 40 converts the injury/disease name data 51 or the prescription data 52 to 58 of the ID 50 into the learning data 80. Exclude from. For example, if the prescribed number of days of prescription for ID50 is 70, it is classified as "chronic = 0", but if the injury/disease name data 51 includes character string data of "acute" such as "acute gastritis", if the The processing unit 40 excludes the classification data with ID 50 and prescription days 70.

また、性別が複数のグループ(男=1及び女=2)に分類されて、学習用データ80がデータ拡張されており、分類が、傷病名データ47、効能/効果54、及び用法/用量55の少なくとの1つと矛盾する場合又は所定の条件を満たす場合に、前処理部40は、そのID50の傷病名データ51又は処方箋データ52~58を学習用データ80から除く。例えば、所定のID50の性別では「女=2」に分類されているが、効能/効果54には前立腺に関する傷病名のデータが含まれている場合、前処理部40は、そのID50の効能/効果54から前立腺に関する傷病名データ51を除外する。 Furthermore, the learning data 80 has been expanded by classifying gender into multiple groups (male = 1 and female = 2), and the classification has been changed to injury/disease name data 47, efficacy/effect 54, and usage/dose 55. If it contradicts at least one of the following, or if a predetermined condition is satisfied, the preprocessing unit 40 removes the injury/illness name data 51 or the prescription data 52 to 58 of the ID 50 from the learning data 80. For example, if the gender of a predetermined ID50 is classified as "female = 2", but the efficacy/effect 54 includes data on the name of injury or disease related to the prostate, the preprocessing unit 40 Injury and disease name data 51 related to the prostate gland is excluded from the effect 54.

また、薬剤名又は薬剤コードに対して傷病名データに所定の条件を満たす文字列が含まれている場合に、前処理部40は、そのID50の傷病名データ51又は処方箋データ52~58を学習用データ80から除く。例えば、鎮痛薬による胃の荒れを予防する目的で処方される胃薬に対して、傷病名データに「慢性胃炎」の文字列が含まれている場合、処方の目的が傷病名と異なるため、前処理部40は、鎮痛薬と胃薬が組み合わされて処方されていることを判断し、そのID50の傷病名データ51から「慢性胃炎」の文字列を含む傷病名のデータを除外する。 Further, if the disease name data for the drug name or drug code includes a character string that satisfies a predetermined condition, the preprocessing unit 40 learns the disease name data 51 or the prescription data 52 to 58 of the ID 50. data 80. For example, if a stomach medicine is prescribed to prevent stomach irritation caused by analgesics, and the injury/disease name data includes the character string "chronic gastritis," the purpose of the prescription is different from the injury/disease name. The processing unit 40 determines that a combination of analgesic and gastric medicine has been prescribed, and excludes data on the name of injury or disease that includes the character string "chronic gastritis" from the name data 51 of the name of injury or disease with ID 50.

このように、不適切なデータの組み合わせを除外して機械学習を行うことにより、傷病名を高精度で推論することができる。矛盾するデータの組み合わせは、傷病名データ47又は処方箋データ48に基づいて自動的に生成されてもよいし、予め作成されたデータベースとして学習用データベース41に格納されてもよい。 In this way, by performing machine learning while excluding inappropriate data combinations, it is possible to infer the name of injury or disease with high accuracy. The contradictory data combinations may be automatically generated based on the injury/illness name data 47 or the prescription data 48, or may be stored in the learning database 41 as a previously created database.

ステップS6において、学習済みモデルが生成される。コンピュータ5のプロセッサは、機械学習によるモデル生成命令を人工知能サーバ3へ送信する(120)。人工知能サーバ3のデータ取得部32は、インターフェース24を介して、学習用データ80の取得命令を学習用データベースサーバ4へ送信し(121)、学習用データベースサーバ4は、学習用データ80の送信命令を実行し、学習用データベース41に格納された学習用データ80を、インターフェース44を介して、人工知能サーバ3へ送信する(122)。データ取得部32は、学習用データベース41から学習用データ80を取得し、機械学習部34は、傷病名データ47と処方箋データ48とが関連付けられた学習用データ(拡張された学習用データを含む)80に基づいて、機械学習による学習済みモデルの生成/格納命令を実行する(123)。 In step S6, a trained model is generated. The processor of the computer 5 sends a machine learning model generation command to the artificial intelligence server 3 (120). The data acquisition unit 32 of the artificial intelligence server 3 transmits a command to acquire the learning data 80 to the learning database server 4 via the interface 24 (121), and the learning database server 4 transmits the learning data 80. The instruction is executed and the learning data 80 stored in the learning database 41 is transmitted to the artificial intelligence server 3 via the interface 44 (122). The data acquisition unit 32 acquires the learning data 80 from the learning database 41, and the machine learning unit 34 acquires the learning data (including expanded learning data) in which the injury/disease name data 47 and the prescription data 48 are associated. ) 80, a machine learning trained model generation/storage instruction is executed (123).

機械学習部34は、処方箋データ52~58を入力層に入力し、傷病名データ51を出力層の正解値として入力するニューラルネットワークにより学習済みモデルを生成する。ニューラルネットワークの中間層には、Affine層又はConvolution層が設けられる。適宜、ダウンサンプリング処理等が行われてもよい。また、中間層の層数、ニューロン数、及び活性化関数は、推論結果が高精度となるように、最適なものが選択される。ニューラルネットワークとして、Feed Forward Neural Network(FFNN)やRecurrent Neural Network(RNN)等が用いられる。機械学習部34は、乱数等の所定の値で初期化されたパラメータ(重み)を用いて、処方箋データ52~58が入力層に入力された際に出力層に出力された値と出力層の正解値(傷病名データ51)との乖離を表すロス関数を算出し、ロス関数の微分値を勾配として、出力層に出力された値と出力層の正解値との乖離が小さくなるように、パラメータ(重み)を変化させることで、学習済みモデルを生成する。 The machine learning unit 34 generates a learned model using a neural network that inputs the prescription data 52 to 58 into the input layer and inputs the disease name data 51 as the correct value in the output layer. An affine layer or a convolution layer is provided as an intermediate layer of the neural network. Downsampling processing or the like may be performed as appropriate. Further, the number of layers, the number of neurons, and the activation function of the intermediate layer are optimally selected so that the inference result is highly accurate. As the neural network, a feed forward neural network (FFNN), a recurrent neural network (RNN), etc. are used. The machine learning unit 34 uses parameters (weights) initialized with predetermined values such as random numbers to compare the values output to the output layer and the output layer when the prescription data 52 to 58 are input to the input layer. A loss function representing the deviation from the correct value (injury/illness name data 51) is calculated, and the differential value of the loss function is used as a gradient to reduce the deviation between the value output to the output layer and the correct value of the output layer. A trained model is generated by changing parameters (weights).

薬剤は傷病に応じて処方されるので、処方箋データ52,53の処方薬と傷病名は一定の関係性がある。したがって、処方薬を学習用データとして傷病名を推論する学習済みモデルを生成することにより、傷病名を高精度に推論することができる。特に、1つの処方箋に複数の薬剤が処方されている場合、複数の処方薬の組み合わせを機械学習すれば、より高精度に傷病名を推論することができる。つまり、学習データ80は、少なくとも複数の薬剤名52又は複数の薬剤コード53が傷病名データ47と関連付けられていればよい。 Since the medicine is prescribed according to the injury or disease, there is a certain relationship between the prescribed medicine in the prescription data 52 and 53 and the name of the injury or disease. Therefore, by generating a trained model that infers the name of injury or disease using prescription drugs as learning data, it is possible to infer the name of injury or disease with high accuracy. In particular, when multiple drugs are prescribed in one prescription, the name of the disease or illness can be inferred with higher accuracy by machine learning the combination of the multiple prescription drugs. That is, in the learning data 80, at least a plurality of drug names 52 or a plurality of drug codes 53 need only be associated with the disease name data 47.

また、薬剤の適応症は処方薬の効能や効果によって定められており、処方薬の用法や用量等は傷病や症状に応じて変化するため、処方箋データ54~57の効能、効果、用法、用量、処方種別、診療日、及び診療科名と傷病名は一定の関係性がある。例えば、同じ抗生剤であっても、眼科で処方される場合は麦粒腫の可能性が高く、婦人科で処方される場合は膀胱炎である可能性が高くなる。 In addition, the indications for drugs are determined by the efficacy and effects of the prescribed drug, and the usage and dosage of prescription drugs change depending on the injury and disease, so the prescription data 54 to 57 include efficacy, effects, usage, and dosage. There is a certain relationship between the type of prescription, the date of treatment, the name of the department, and the name of the disease. For example, even if the same antibiotic is prescribed by an ophthalmologist, it is more likely to be a stye, and if it is prescribed by a gynecologist, it is more likely to be caused by cystitis.

また、季節性のある傷病があったり(例えば、インフルエンザは1月~2月に流行する)、傷病に応じて患者の行動特性に影響を与える場合があったりするため、診療日56と傷病名は一定の関係性がある。したがって、処方薬に加えて、処方薬の効能、効果、用法、用量、処方種別、診療日、及び診療科名の少なくとも1つを含む処方箋データを学習用データ80として、傷病名を推論する学習済みモデルを生成することにより、傷病名を総合的に高精度で推論することができる。 In addition, because some injuries and illnesses are seasonal (for example, influenza is prevalent from January to February), and the patient's behavioral characteristics may be affected depending on the injury or illness, the date of treatment56 and the name of the injury or illness may be changed. have a certain relationship. Therefore, in addition to prescription drugs, prescription data including at least one of the prescription drug's efficacy, effect, usage, dose, prescription type, medical treatment date, and medical department name is used as the learning data 80 for learning to infer the name of injury or disease. By generating a complete model, it is possible to comprehensively infer the name of an injury or disease with high accuracy.

さらに、同じ処方薬であっても、患者の年齢、性別、体重、妊娠の有無、既往症、副作用歴、アレルギー歴、併用薬、生活習慣、嗜好、及び家族既往歴等の患者の属性データに応じて傷病名が異なる場合がある。したがって、処方薬に加えて、患者の属性データ58を学習用データ80として、傷病名を推論する学習済みモデルを生成することにより、傷病名を高精度で推論することができる。 In addition, even if the same prescription drug is used, it will depend on the patient's attribute data such as age, gender, weight, pregnancy status, past medical conditions, history of side effects, allergy history, concomitant medications, lifestyle habits, preferences, and family medical history. In some cases, the name of the injury or disease may be different. Therefore, by generating a trained model for inferring the name of injury or disease using the patient's attribute data 58 as learning data 80 in addition to prescription drugs, the name of injury or disease can be inferred with high accuracy.

ステップS7において、学習済みモデル格納部35は、学習済みモデルの格納命令を実行することにより、生成された学習済みモデルを記憶装置22に記憶させる(123)。 In step S7, the trained model storage unit 35 stores the generated trained model in the storage device 22 by executing a command to store the trained model (123).

ステップS8において、傷病名を推論するステップに進む場合は、ステップS9に進み、傷病名を推論するステップに進まない場合は処理を終了する。 In step S8, if the process proceeds to the step of inferring the name of the injury or disease, the process proceeds to step S9; if the process does not proceed to the step of inferring the name of the injury or disease, the process ends.

図6及び図8に示すように、ステップS9において、コンピュータ5のプロセッサは、入力装置23により推論用の処方箋データ(患者の属性データを含む)を入力し、推論用の処方箋データ(患者の属性データを含む)を人工知能サーバ3へ送信する(129)。そして、コンピュータ5のプロセッサは、傷病名の推論命令を人工知能サーバ3へ送信する(130)。 As shown in FIGS. 6 and 8, in step S9, the processor of the computer 5 inputs prescription data for inference (including patient attribute data) through the input device 23, and inputs prescription data for inference (including patient attribute data). data) to the artificial intelligence server 3 (129). Then, the processor of the computer 5 transmits an instruction for inferring the name of the injury or disease to the artificial intelligence server 3 (130).

ステップ10において、推論部36は、データチェック命令を実行し、コンピュータ5から送信された推論用の処方箋データ(患者の属性データを含む)のデータフォーマットを確認し、正しいデータフォーマットであるか否かを判定する(131)。誤ったデータフォーマットである場合は、推論部36は、その旨を示すデータをコンピュータ5へ送信する。 In step 10, the inference unit 36 executes a data check command, checks the data format of the inference prescription data (including patient attribute data) sent from the computer 5, and determines whether the data format is correct. is determined (131). If the data format is incorrect, the inference unit 36 transmits data indicating this to the computer 5.

正しいデータフォーマットである場合は、ステップS11において、推論部36は、データ前処理命令を実行し、推論用の処方箋データ(患者の属性データを含む)を学習時のエンコード方針に従ってエンコードする(131)。学習時に用いられていない値が推論用の処方箋データ(患者の属性データを含む)に含まれている場合は、推論部36は、その値を除外するか、所定の条件に従って所定の値を割り当てる。例えば、学習用データ80の患者の年齢64の上限が「100歳」であり、推論用の患者の年齢が「103歳」であった場合、推論部36は、推論用の処方箋データから「103歳」の年齢データを除外するか、学習用データ80の上限である「100歳」を「103歳」の代わりに割り当てる。 If the data format is correct, in step S11, the inference unit 36 executes a data preprocessing instruction and encodes prescription data for inference (including patient attribute data) according to the encoding policy at the time of learning (131). . If a value that is not used during learning is included in the inference prescription data (including patient attribute data), the inference unit 36 either excludes the value or assigns a predetermined value according to predetermined conditions. . For example, if the upper limit of the patient's age 64 in the learning data 80 is "100 years old" and the patient's age for inference is "103 years old", the inference unit 36 calculates "103 years old" from the prescription data for inference. Either the age data of ``years old'' is excluded, or the upper limit of the learning data 80, ``100 years old,'' is assigned instead of ``103 years old.''

ステップS12において、推論部36は、推論命令を実行し、記憶装置22に記憶された学習済みモデルを読み出し、推論用の処方箋データ(患者の属性データを含む)を学習済みモデルに入力し、学習済みモデルに入力された処方箋データ(患者の属性データを含む)から傷病名を推論する(132)。 In step S12, the inference unit 36 executes the inference command, reads out the learned model stored in the storage device 22, inputs prescription data for inference (including patient attribute data) into the learned model, and The disease name is inferred from the prescription data (including patient attribute data) input into the completed model (132).

この場合、推論部36は、推論された傷病名が、学習済みモデルに入力された処方箋データ(患者の属性データを含む)と矛盾する場合に、矛盾する傷病名を推論結果から除外する。推論部36は、矛盾する傷病名が出力されないように、出力に対するマスクを生成する。例えば、推論用に入力される患者の属性データの年齢が「72歳」である場合、新生児、乳幼児、及び小児に関する傷病名がマスクされて除外される。また、推論用に入力される患者の属性データの性別が「男」である場合、婦人病に関する傷病名がマスクされて除外される。この結果、傷病名を高精度で推論することができる。 In this case, when the inferred disease name is inconsistent with the prescription data (including patient attribute data) input to the learned model, the inference unit 36 excludes the contradictory disease name from the inference result. The inference unit 36 generates a mask for the output so that contradictory injury/illness names are not output. For example, if the age of patient attribute data input for inference is "72 years old," names of injuries and illnesses related to newborns, infants, and children are masked and excluded. Furthermore, if the gender of the patient attribute data input for inference is "male," the name of the disease related to women's diseases is masked and excluded. As a result, the name of the injury or disease can be inferred with high accuracy.

推論部36は、インターフェース24を介して、推論結果の送信命令を実行し、推論結果をコンピュータ5へ送信する(133)。 The inference unit 36 executes the inference result transmission command via the interface 24 and transmits the inference result to the computer 5 (133).

ステップS13において、コンピュータ5のプロセッサは、送信結果の表示命令を実行し、ディスプレイ等に推論結果を表示させる(134)。 In step S13, the processor of the computer 5 executes a transmission result display command to display the inference result on a display or the like (134).

図9乃至図11は、コンピュータ5のディスプレイ(図示せず)に表示された推論結果の例を示す図である。図9乃至図11に示すように、画面500,600,700には、患者の属性領域501,601,701、診療科/診療日領域502,602,702、処方薬/用法/用量領域505,605,705、上位推論結果領域506,606,706、全表示指示領域507,607,707、全推論結果領域508、過去データ領域509,609,709、選択領域510,610,710、薬局/薬剤師領域511,611,711、及び情報更新領域512,612,712が表示される。なお、アムロジン、クレストール、バルトレックス、及びフロモックスは登録商標である。 9 to 11 are diagrams showing examples of inference results displayed on the display (not shown) of the computer 5. As shown in FIGS. 9 to 11, the screens 500, 600, and 700 include patient attribute areas 501, 601, and 701, clinical department/medical treatment date areas 502, 602, and 702, prescription drug/usage/dose areas 505, 605, 705, upper inference result area 506, 606, 706, all display instruction area 507, 607, 707, all inference result area 508, past data area 509, 609, 709, selection area 510, 610, 710, pharmacy/pharmacist Areas 511, 611, 711 and information update areas 512, 612, 712 are displayed. Note that Amlozin, Crestor, Valtrex, and Flomox are registered trademarks.

診療科/診療日領域502,602,702には、医療機関、診察科(診療科目)、及び医師名が医療機関領域503,603,703に表示され、診療日が診療日領域504,604,704に表示される。処方薬/用法/用量領域505,605,705には、薬剤名、用法、及び用量が表示される。上位推論結果領域506,606,706には、推論結果のうち推論確率が高い傷病名の上位3件が表示される。全表示指示領域507をカーソル等で指定すると、全推論結果(10件)が全推論結果領域508に表示される。過去データ領域509,609には、過去の処方箋における医療機関、診察科(診療科目)、医師名、薬剤名、用法、及び用量が表示される。選択領域510,610,710で過去の処方箋を選択することができる。図9乃至図11では、医療機関及び診療科目が一致する過去の処方箋が選択されている。薬局/薬剤師領域511,611,711には、薬局名及び薬剤師名が表示される。情報更新領域512,612,712をカーソル等で指定すると、画面500,600,700に表示されている情報が更新される。 In the medical department/medical day area 502, 602, 702, the medical institution, medical department (medical department), and doctor name are displayed in the medical institution area 503, 603, 703, and the medical day is displayed in the medical day area 504, 604, 704. Prescription drug/usage/dose areas 505, 605, and 705 display the drug name, usage, and dose. In the upper inference result areas 506, 606, and 706, the top three injury and disease names with high inference probabilities among the inference results are displayed. When the all-display instruction area 507 is designated with a cursor or the like, all inference results (10 results) are displayed in the all-inference result area 508. The past data areas 509 and 609 display the medical institution, department (medical department), doctor name, drug name, usage, and dose in past prescriptions. Past prescriptions can be selected in selection areas 510, 610, and 710. In FIGS. 9 to 11, past prescriptions with matching medical institutions and medical departments are selected. Pharmacy/pharmacist areas 511, 611, and 711 display pharmacy names and pharmacist names. When the information update area 512, 612, 712 is specified with a cursor or the like, the information displayed on the screen 500, 600, 700 is updated.

図10及び図11では、共に「バルトレックス顆粒50%」が処方されているが、用法、用量、及び患者の属性(年齢等)に応じて、推論結果の傷病名は異なっている。このように、薬剤名を含む処方箋データ48と傷病名データ47とが関連付けられた学習用データ80に基づいて、機械学習により学習済みモデルを生成することで、処方箋データから傷病名を高精度で推論することができる。 In both FIGS. 10 and 11, "Valtrex Granules 50%" is prescribed, but the name of the disease or disease resulting from the inference differs depending on the usage, dosage, and patient attributes (age, etc.). In this way, by generating a trained model using machine learning based on the learning data 80 in which prescription data 48 including drug names and injury/disease name data 47 are associated, injury/disease names can be determined from prescription data with high accuracy. can be inferred.

ステップS14において、コンピュータ5の入力装置(図示せず)が正しい傷病名を入力することにより、コンピュータ5のプロセッサが推論結果の決定命令を実行する(135)。例えば、薬剤師が患者に問診することにより、コンピュータ5の入力装置(図示せず)から正しい傷病名が入力される。この場合、上位推論結果領域506又は全推論結果領域508に表示される傷病名をカーソル等で指定することにより、正しい傷病名が入力されてもよい。 In step S14, the input device (not shown) of the computer 5 inputs the correct injury or disease name, and the processor of the computer 5 executes an instruction to determine the inference result (135). For example, when a pharmacist asks a patient, the correct name of the disease or injury is input from an input device (not shown) of the computer 5. In this case, the correct name of the disease or disease may be input by specifying the name of the disease or disease displayed in the upper inference result area 506 or the total inference result area 508 with a cursor or the like.

ステップS15において、正しい傷病名が傷病名データ51として、推論用の処方箋データ(患者の属性データを含む)と関連付けられて、学習用データベース41の学習用データ80に格納されたか否かを、コンピュータ5が判定する。学習用データベース41の学習用データ80に格納されていない場合は、コンピュータ5のプロセッサ(図示せず)が、正しい傷病名と処方箋データ(患者の属性データを含む)とが関連付けられたデータを学習用データベースサーバ4へ送信し(136)、学習用データベースサーバ4のデータ格納部38は、学習データの格納命令を実行し(137)、コンピュータ5から送信されたデータを学習用データベース41に格納する。これにより、学習用データベース41の学習用データ80が増え、傷病名をさらに高精度で推論することができる。 In step S15, the computer determines whether or not the correct injury/illness name has been stored as injury/illness name data 51 in the learning data 80 of the learning database 41 in association with inference prescription data (including patient attribute data). 5 decides. If it is not stored in the learning data 80 of the learning database 41, the processor (not shown) of the computer 5 learns data in which the correct disease name and prescription data (including patient attribute data) are associated. The data storage unit 38 of the learning database server 4 executes the instruction to store the learning data (137), and stores the data sent from the computer 5 in the learning database 41. . This increases the amount of learning data 80 in the learning database 41, making it possible to infer the name of injury or disease with even higher accuracy.

正しい傷病名と処方箋データ(患者の属性データを含む)とが関連付けられたデータが学習用データベース41の学習用データ80に格納されている場合は、処理を終了する。 If data in which the correct disease name and prescription data (including patient attribute data) are associated is stored in the learning data 80 of the learning database 41, the process ends.

以上のように、本実施形態によれば、処方箋データから傷病名を高精度で推論することができ、傷病名が記載されていない処方箋からでも傷病名を把握することができ、適切な服薬指導を行うことができる。 As described above, according to the present embodiment, it is possible to infer the name of an injury or disease from prescription data with high accuracy, it is possible to understand the name of an injury or disease even from a prescription that does not include the name of an injury or disease, and it is possible to provide appropriate medication guidance. It can be performed.

以上、本発明にかかる実施形態について説明したが、本発明はこれらに限定されるものではなく、請求項に記載された範囲内において変更・変形することが可能である。 Although the embodiments according to the present invention have been described above, the present invention is not limited to these, and can be modified and modified within the scope of the claims.

本実施形態には、処方箋データ52~58と傷病名データ51とが関連付けられた学習用データ80のデータ構造であって、ニューラルネットワークの入力層に入力可能な処方箋データ52~58と、ニューラルネットワークの出力層の正解値として入力可能な傷病名データ51とを備え、学習用データ80は、所定の値で初期化されたパラメータ(重み)を用いて、処方箋データ52~58が入力層に入力された際に出力層に出力された値と正解値との乖離を表すロス関数の微分値を勾配として、乖離が小さくなるようにパラメータ(重み)を変化させて学習済みモデルを生成するために用いられることを特徴とするデータ構造が含まれる。この場合、学習用データ80は、処方薬に加えて、処方薬の効能、効果、用法、用量、処方種別、診療日、及び診療科名の少なくとも1つを含む処方箋データ52~57と傷病名データ51とが関連付けられることを特徴とするデータ構造であってもよい。 This embodiment has a data structure of learning data 80 in which prescription data 52 to 58 and injury/disease name data 51 are associated, and the prescription data 52 to 58 that can be input to the input layer of the neural network and the neural network The learning data 80 includes prescription data 52 to 58 input to the input layer using parameters (weights) initialized with predetermined values. In order to generate a trained model by changing the parameters (weights) so that the deviation becomes smaller, using the differential value of the loss function that represents the deviation between the value output to the output layer and the correct value when Data structures characterized in that they are used are included. In this case, the learning data 80 includes, in addition to prescription drugs, prescription data 52 to 57 including at least one of the prescription drug's efficacy, effect, usage, dose, prescription type, medical treatment date, and medical department name, and the name of the disease. It may be a data structure characterized by being associated with data 51.

本発明は、機械学習により処方箋データから傷病名を総合的に推論するため、傷病名を高精度で推論することができる傷病名推論システムとして有用である。特に、複数の薬剤を総合的に考慮して傷病名を高精度で推論することができる傷病名推論システムとして有用である。 INDUSTRIAL APPLICABILITY The present invention is useful as a disease name inference system that can infer the name of a disease or disease with high accuracy because it comprehensively infers the name of a disease or disease from prescription data using machine learning. In particular, it is useful as a disease/injury name inference system that can infer the name of a disease/injury with high accuracy by comprehensively considering a plurality of drugs.

1…傷病名推論システム
3…人工知能サーバ
4…学習用データベースサーバ
5…コンピュータ
32…データ取得部
33,40…前処理部
34…機械学習部
35…モデル格納部
36…推論部
38…データ格納部
39…データ取得部
41…学習用データベース
46…カルテデータ
47…傷病名データ
48…処方箋データ
49…属性データ
80…学習用データ
1...Injury and disease name inference system 3...Artificial intelligence server 4...Learning database server 5...Computer 32...Data acquisition section 33, 40...Preprocessing section 34...Machine learning section 35...Model storage section 36...Inference section 38...Data storage Section 39...Data acquisition section 41...Learning database 46...Medical record data 47...Injury and disease name data 48...Prescription data 49...Attribute data 80...Learning data

Claims (19)

プロセッサと記憶装置を含み、前記プロセッサが傷病名を推論する傷病名推論システムであって、
前記プロセッサは、
処方箋データの処方薬と傷病名データとが関連付けられ、前記処方薬の用法の処方日数、処方回数、及び診療日の少なくとも1つを複数のグループに分類することにより拡張された学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習部と、
前記学習済みモデルに入力された推論用の処方箋データから前記傷病名を推論する推論部と、
を備えることを特徴とする傷病名推論システム。
An injury/illness name inference system including a processor and a storage device, wherein the processor infers an injury/illness name,
The processor includes:
Based on the learning data that is expanded by associating the prescription drug of the prescription data with the injury/disease name data and classifying at least one of the number of prescription days, the number of prescriptions, and the medical treatment date of the usage of the prescription drug into a plurality of groups. A machine learning unit that generates a trained model by machine learning,
an inference unit that infers the name of the injury or disease from the inference prescription data input to the trained model;
An injury/illness name inference system comprising:
プロセッサと記憶装置を含み、前記プロセッサが傷病名を推論する傷病名推論システムであって、
前記プロセッサは、
処方箋データの処方薬と傷病名データとが関連付けられ、診療日を季節、四半期、月、及び曜日の少なくとも1つに分類するデータを用いることにより拡張された学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習部と、
前記学習済みモデルに入力された推論用の処方箋データから前記傷病名を推論する推論部と、
を備えることを特徴とする傷病名推論システム。
An injury/illness name inference system including a processor and a storage device, wherein the processor infers an injury/illness name,
The processor includes:
Machine learning is performed based on learning data that is expanded by using data that associates prescription drugs in prescription data with injury and disease name data and classifies medical treatment days into at least one of seasons, quarters, months, and days of the week. a machine learning unit that generates a trained model;
an inference unit that infers the name of the injury or disease from the inference prescription data input to the trained model;
An injury/illness name inference system comprising:
プロセッサと記憶装置を含み、前記プロセッサが傷病名を推論する傷病名推論システムであって、
前記プロセッサは、
処方箋データの処方薬と傷病名データとが関連付けられ、所定の基準診療科名が診療科名と部分一致する場合に、一致する部分ごとに診療科名を設定することにより、複数のグループに分類することで拡張された学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習部と、
前記学習済みモデルに入力された推論用の処方箋データから前記傷病名を推論する推論部と、
を備えることを特徴とする傷病名推論システム。
An injury/illness name inference system including a processor and a storage device, wherein the processor infers an injury/illness name,
The processor includes:
When prescription drugs in prescription data and injury/illness name data are associated, and a predetermined standard medical department name partially matches the medical department name, the medical department name can be set for each matching part to classify it into multiple groups. a machine learning unit that generates a trained model by machine learning based on the training data expanded by
an inference unit that infers the name of the injury or disease from the inference prescription data input to the trained model;
An injury/illness name inference system comprising:
プロセッサと記憶装置を含み、前記プロセッサが傷病名を推論する傷病名推論システムであって、
前記プロセッサは、
処方箋データの処方薬と傷病名データとが関連付けられ、前記処方薬のデータとして医薬品コードを用い、前記医薬品コードの一部を抽出することにより、複数のグループに分類することで拡張された学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習部と、
前記学習済みモデルに入力された推論用の処方箋データから前記傷病名を推論する推論部と、
を備えることを特徴とする傷病名推論システム。
An injury/illness name inference system including a processor and a storage device, wherein the processor infers an injury/illness name,
The processor includes:
Prescription drugs in prescription data and injury/illness name data are associated, a drug code is used as the prescription drug data, a part of the drug code is extracted, and the data is classified into multiple groups for expanded learning purposes. a machine learning unit that generates a trained model by machine learning based on the data;
an inference unit that infers the name of the injury or disease from the inference prescription data input to the trained model;
An injury/illness name inference system comprising:
前記機械学習部は、前記処方薬に加えて、前記処方薬の効能、効果、用法、用量、処方種別、診療日、及び診療科名の少なくとも1つと前記傷病名データとが関連付けられた前記学習用データに基づいて、前記機械学習により前記学習済みモデルを生成することを特徴とする請求項1乃至請求項4の何れか1項に記載の傷病名推論システム。 In addition to the prescription drug, the machine learning unit is configured to perform the learning in which at least one of the efficacy, effect, usage, dose, prescription type, medical treatment date, and medical department name of the prescription drug is associated with the injury/illness name data. The injury/disease name inference system according to any one of claims 1 to 4, wherein the learned model is generated by the machine learning based on the data. 前記機械学習部は、患者の属性データを含む前記処方箋データと前記傷病名データとを関連付けることにより拡張された前記学習用データに基づいて、前記機械学習により前記学習済みモデルを生成し、
前記推論部は、推論用の患者の属性データを含む前記推論用の処方箋データを前記学習済みモデルに入力することにより前記傷病名を推論することを特徴とする請求項1乃至請求項5の何れか1項に記載の傷病名推論システム。
The machine learning unit generates the learned model by the machine learning based on the learning data expanded by associating the prescription data including patient attribute data with the disease name data,
6. The inference unit infers the disease name by inputting the prescription data for inference including patient attribute data for inference into the learned model. The injury/illness name inference system described in item 1.
前記機械学習部は、前記患者の年齢、性別、体重、妊娠の有無、既往症、副作用歴、アレルギー歴、併用薬、生活習慣、嗜好、及び家族既往歴の少なくとも1つを含む前記属性データを前記傷病名データと関連付けることにより拡張された前記学習用データに基づいて、前記機械学習により前記学習済みモデルを生成することを特徴とする請求項6に記載の傷病名推論システム。 The machine learning unit analyzes the attribute data including at least one of the patient's age, gender, weight, pregnancy status, past medical conditions, side effect history, allergy history, concomitant medications, lifestyle, preferences, and family medical history. 7. The injury/illness name inference system according to claim 6, wherein the learned model is generated by the machine learning based on the learning data expanded by associating with injury/illness name data. 前記機械学習部は、前記処方箋データが前記傷病名データ又は他の前記処方箋データと矛盾する場合又は前記矛盾を規定する所定の条件を満たす場合に、前記処方箋データ又は前記傷病名データを前記学習用データとして用いずに、前記機械学習により前記学習済みモデルを生成することを特徴とする請求項1乃至請求項7の何れか1項に記載の傷病名推論システム。 The machine learning unit is configured to use the prescription data or the injury/illness name data for the learning when the prescription data is inconsistent with the injury/illness name data or other prescription data, or when a predetermined condition defining the contradiction is satisfied. The injury/illness name inference system according to any one of claims 1 to 7, wherein the learned model is generated by the machine learning without using it as data. 前記機械学習部は、前記処方箋データのグループが前記傷病名データ、前記処方薬、前記処方薬の効能、効果、用法、用量、及び処方種別の少なくとも1つと矛盾する場合又は前記矛盾を規定する所定の条件を満たす場合に、前記処方箋データ又は前記傷病名データを前記学習用データに用いずに、前記機械学習により前記学習済みモデルを生成することを特徴とする請求項1乃至請求項8の何れか1項に記載の傷病名推論システム。 The machine learning unit is configured to detect a case where the group of prescription data is inconsistent with at least one of the injury/disease name data, the prescription drug, the efficacy, effect, usage, dosage, and prescription type of the prescription drug, or a predetermined method that defines the contradiction. 9. If the following condition is satisfied, the learned model is generated by the machine learning without using the prescription data or the injury/illness name data as the learning data. The injury/illness name inference system described in item 1. 前記機械学習部は、前記処方箋データを入力層として前記傷病名データを出力層とするニューラルネットワークにより前記学習済みモデルを生成する請求項1乃至請求項9の何れか1項に記載の傷病名推論システム。 The disease name inference according to any one of claims 1 to 9, wherein the machine learning unit generates the learned model by a neural network using the prescription data as an input layer and the disease name data as an output layer. system. 前記推論部は、推論された前記傷病名が、前記学習済みモデルに入力された前記処方箋データの患者の属性データと矛盾する場合又は前記矛盾を規定する所定の条件を満たす場合に、矛盾する前記傷病名を推論結果から除外することを特徴とする請求項1乃至請求項10の何れか1項に記載の傷病名推論システム。 When the inferred injury/illness name is inconsistent with the patient attribute data of the prescription data input to the learned model or satisfies a predetermined condition that defines the inconsistency, The injury/illness name inference system according to any one of claims 1 to 10, wherein the injury/illness name is excluded from the inference results. プロセッサが傷病名を推論する傷病名推論システムを用いて傷病名を推論する傷病名推論方法であって、
処方箋データの処方薬と傷病名データとが関連付けられ、前記処方薬の用法の処方日数、処方回数、及び診療日の少なくとも1つを複数のグループに分類することにより拡張された学習用データに基づいて、機械学習により学習済みモデルを生成するステップと、
前記学習済みモデルに入力された処方箋データから前記傷病名を推論するステップと、
を備えることを特徴とする傷病名推論方法。
A disease name inference method for inferring a disease name using a disease name inference system in which a processor infers a disease name, the method comprising:
The prescription drug of the prescription data and the injury/illness name data are associated with each other, and the training data is expanded by categorizing at least one of the number of days of prescription, number of prescriptions, and medical treatment date of the usage of the prescription drug into a plurality of groups. a step of generating a trained model by machine learning based on the
inferring the name of the injury or disease from the prescription data input to the learned model;
A method for inferring names of injuries and illnesses.
プロセッサが傷病名を推論する傷病名推論システムを用いて傷病名を推論する傷病名推論方法であって、
処方箋データの処方薬と傷病名データとが関連付けられ、診療日を季節、四半期、月、及び曜日の少なくとも1つに分類するデータを用いることにより拡張された学習用データに基づいて、機械学習により学習済みモデルを生成するステップと、
前記学習済みモデルに入力された処方箋データから前記傷病名を推論するステップと、
を備えることを特徴とする傷病名推論方法。
A disease name inference method for inferring a disease name using a disease name inference system in which a processor infers a disease name, the method comprising:
Machine learning is performed based on learning data that is expanded by using data that associates prescription drugs in prescription data with injury and disease name data and classifies medical treatment days into at least one of seasons, quarters, months, and days of the week. generating a trained model;
inferring the name of the injury or disease from the prescription data input to the learned model;
A method for inferring names of injuries and illnesses.
プロセッサが傷病名を推論する傷病名推論システムを用いて傷病名を推論する傷病名推論方法であって、
処方箋データの処方薬と傷病名データとが関連付けられ、所定の基準診療科名が診療科名と部分一致する場合に、一致する部分ごとに診療科名を設定することにより、複数のグループに分類することで拡張された学習用データに基づいて、機械学習により学習済みモデルを生成するステップと、
前記学習済みモデルに入力された処方箋データから前記傷病名を推論するステップと、
を備えることを特徴とする傷病名推論方法。
A disease name inference method for inferring a disease name using a disease name inference system in which a processor infers a disease name, the method comprising:
When prescription drugs in prescription data and injury/illness name data are associated, and a predetermined standard medical department name partially matches the department name, the department name can be set for each matching part to classify it into multiple groups. a step of generating a trained model by machine learning based on the training data expanded by
inferring the name of the injury or disease from the prescription data input to the learned model;
A method for inferring names of injuries and illnesses.
プロセッサが傷病名を推論する傷病名推論システムを用いて傷病名を推論する傷病名推論方法であって、
処方箋データの処方薬と傷病名データとが関連付けられ、前記処方薬のデータとして医薬品コードを用い、前記医薬品コードの一部を抽出することにより、複数のグループに分類することで拡張された学習用データに基づいて、機械学習により学習済みモデルを生成するステップと、
前記学習済みモデルに入力された処方箋データから前記傷病名を推論するステップと、
を備えることを特徴とする傷病名推論方法。
A disease name inference method for inferring a disease name using a disease name inference system in which a processor infers a disease name, the method comprising:
Prescription drugs in prescription data and injury/illness name data are associated, a drug code is used as the prescription drug data, a part of the drug code is extracted, and the data is classified into multiple groups for expanded learning purposes. generating a trained model by machine learning based on the data;
inferring the name of the injury or disease from the prescription data input to the learned model;
A method for inferring names of injuries and illnesses.
プロセッサが傷病名を推論する傷病名推論システムを用いて傷病名を推論するコンピュータで実行される傷病名推論プログラムであって、
前記コンピュータが、
処方箋データの処方薬と傷病名データとが関連付けられ、前記処方薬の用法の処方日数、処方回数、及び診療日の少なくとも1つを複数のグループに分類することにより拡張された学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習機能と、
前記学習済みモデルに入力された処方箋データから前記傷病名を推論する推論機能と、
を実現させることを特徴とする傷病名推論プログラム。
A disease name inference program executed on a computer that infers a disease name using a disease name inference system in which a processor infers a disease name,
The computer,
The prescription drug of the prescription data and the injury/illness name data are associated with each other, and the training data is expanded by categorizing at least one of the number of days of prescription, number of prescriptions, and medical treatment date of the usage of the prescription drug into a plurality of groups. A machine learning function that generates a trained model by machine learning based on the
an inference function that infers the name of the injury or disease from the prescription data input to the learned model;
A disease name inference program that is characterized by realizing the following.
プロセッサが傷病名を推論する傷病名推論システムを用いて傷病名を推論するコンピュータで実行される傷病名推論プログラムであって、
前記コンピュータが、
処方箋データの処方薬と傷病名データとが関連付けられ、診療日を季節、四半期、月、及び曜日の少なくとも1つに分類するデータを用いることにより拡張された学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習機能と、
前記学習済みモデルに入力された処方箋データから前記傷病名を推論する推論機能と、
を実現させることを特徴とする傷病名推論プログラム。
A disease name inference program executed on a computer that infers a disease name using a disease name inference system in which a processor infers a disease name,
The computer,
Machine learning is performed based on learning data that is expanded by using data that associates prescription drugs in prescription data with injury and disease name data, and classifies medical treatment days into at least one of seasons, quarters, months, and days of the week. A machine learning function that generates a trained model,
an inference function that infers the name of the injury or disease from the prescription data input to the learned model;
A disease name inference program that is characterized by realizing the following.
プロセッサが傷病名を推論する傷病名推論システムを用いて傷病名を推論するコンピュータで実行される傷病名推論プログラムであって、
前記コンピュータが、
処方箋データの処方薬と傷病名データとが関連付けられ、所定の基準診療科名が診療科名と部分一致する場合に、一致する部分ごとに診療科名を設定することにより、複数のグループに分類することで拡張された学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習機能と、
前記学習済みモデルに入力された処方箋データから前記傷病名を推論する推論機能と、
を実現させることを特徴とする傷病名推論プログラム。
A disease name inference program executed on a computer that infers a disease name using a disease name inference system in which a processor infers a disease name,
The computer,
When prescription drugs in prescription data and injury/illness name data are associated, and a predetermined standard medical department name partially matches the department name, the department name can be set for each matching part to classify it into multiple groups. A machine learning function that generates a trained model by machine learning based on the training data expanded by
an inference function that infers the name of the injury or disease from the prescription data input to the learned model;
A disease name inference program that is characterized by realizing the following.
プロセッサが傷病名を推論する傷病名推論システムを用いて傷病名を推論するコンピュータで実行される傷病名推論プログラムであって、
前記コンピュータが、
処方箋データの処方薬と傷病名データとが関連付けられ、前記処方薬のデータとして医薬品コードを用い、前記医薬品コードの一部を抽出することにより、複数のグループに分類することで拡張された学習用データに基づいて、機械学習により学習済みモデルを生成する機械学習機能と、
前記学習済みモデルに入力された処方箋データから前記傷病名を推論する推論機能と、
を実現させることを特徴とする傷病名推論プログラム。
A disease name inference program executed on a computer that infers a disease name using a disease name inference system in which a processor infers a disease name,
The computer,
Prescription drugs in prescription data and injury/illness name data are associated, a drug code is used as the prescription drug data, a part of the drug code is extracted, and the data is classified into multiple groups for expanded learning purposes. A machine learning function that generates a trained model using machine learning based on data,
an inference function that infers the name of the injury or disease from the prescription data input to the learned model;
A disease name inference program that is characterized by realizing the following.
JP2019186247A 2019-10-09 2019-10-09 Disease name inference system, disease name inference method, disease name inference program, and data structure Active JP7402008B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019186247A JP7402008B2 (en) 2019-10-09 2019-10-09 Disease name inference system, disease name inference method, disease name inference program, and data structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019186247A JP7402008B2 (en) 2019-10-09 2019-10-09 Disease name inference system, disease name inference method, disease name inference program, and data structure

Publications (2)

Publication Number Publication Date
JP2021060932A JP2021060932A (en) 2021-04-15
JP7402008B2 true JP7402008B2 (en) 2023-12-20

Family

ID=75380373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019186247A Active JP7402008B2 (en) 2019-10-09 2019-10-09 Disease name inference system, disease name inference method, disease name inference program, and data structure

Country Status (1)

Country Link
JP (1) JP7402008B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114388085B (en) * 2021-11-23 2022-09-09 皖南医学院第一附属医院(皖南医学院弋矶山医院) Real-time intelligent auxiliary ICD coding method and system based on medical record

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185196A (en) 2002-12-02 2004-07-02 Higashi Nihon Medicom Kk Disease state presumption database by prescribed medicine
JP2007141063A (en) 2005-11-21 2007-06-07 Hachioji Yakuzai Center:Kk Prescription determination device, prescription determination processing program, disease name estimation device, disease name estimation processing program, and data structure for disease name estimation processing
JP2009076102A (en) 2008-12-22 2009-04-09 Toshiba Corp Medical information providing system
JP2014063396A (en) 2012-09-21 2014-04-10 Higashi Nihon Medicom Kk Name of disease estimation device and program
JP2018124702A (en) 2017-01-31 2018-08-09 株式会社教育ソフトウェア Etiological analysis device and disease prediction device
WO2019130495A1 (en) 2017-12-27 2019-07-04 株式会社オプティム Computer system, drug recommendation method, and program
JP2019121390A (en) 2018-01-10 2019-07-22 キヤノンメディカルシステムズ株式会社 Diagnosis support device, diagnosis support system and diagnosis support program
JP2020095518A (en) 2018-12-13 2020-06-18 アイエムエス ソフトウェア サービシズ リミテッド Information processing device, information processing method, and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185196A (en) 2002-12-02 2004-07-02 Higashi Nihon Medicom Kk Disease state presumption database by prescribed medicine
JP2007141063A (en) 2005-11-21 2007-06-07 Hachioji Yakuzai Center:Kk Prescription determination device, prescription determination processing program, disease name estimation device, disease name estimation processing program, and data structure for disease name estimation processing
JP2009076102A (en) 2008-12-22 2009-04-09 Toshiba Corp Medical information providing system
JP2014063396A (en) 2012-09-21 2014-04-10 Higashi Nihon Medicom Kk Name of disease estimation device and program
JP2018124702A (en) 2017-01-31 2018-08-09 株式会社教育ソフトウェア Etiological analysis device and disease prediction device
WO2019130495A1 (en) 2017-12-27 2019-07-04 株式会社オプティム Computer system, drug recommendation method, and program
JP2019121390A (en) 2018-01-10 2019-07-22 キヤノンメディカルシステムズ株式会社 Diagnosis support device, diagnosis support system and diagnosis support program
JP2020095518A (en) 2018-12-13 2020-06-18 アイエムエス ソフトウェア サービシズ リミテッド Information processing device, information processing method, and program

Also Published As

Publication number Publication date
JP2021060932A (en) 2021-04-15

Similar Documents

Publication Publication Date Title
CN104584021B (en) A kind of method, system and the equipment of Intelligent Selection medicine
US11670100B2 (en) Method and apparatus for recognition of patient activity
CN108595683B (en) Medical advice rationality monitoring method based on medical knowledge map
CN113130026A (en) System, method and computer medium for checking internet prescription
CN111933247A (en) Method, system and equipment for intelligent management of drug interaction
JP7402008B2 (en) Disease name inference system, disease name inference method, disease name inference program, and data structure
WO2023029505A1 (en) Prescription review method and apparatus, electronic device, and storage medium
Rees et al. Supporting self-care of long-term conditions in people with dementia: A systematic review
TWI737857B (en) Service supporting system, service supporting method, and computer program
JP7394286B2 (en) Inference system, inference method, inference program, and data structure
Pepe et al. Impact of pharmacist identification of medication-related problems in a nontraditional long-term care pharmacy
Knox et al. Barriers to utilizing Medicaid smoking cessation benefits
CN112233765A (en) Intelligent analysis method, system and equipment for repeated medication
JP7412916B2 (en) Medication support system
JP7270207B2 (en) Information processing method, program and information processing device
KR20170083736A (en) Method for providing patient customized diseases information from prescription of patient
JP2021064183A (en) Medication counseling support device, medication counseling support method, and medication counseling support program
CN113808750A (en) Data processing method and device
Das et al. Health and health care policy in India: The case for quality of care
Souza et al. Perception of post-stroke patients on case management conducted by nurses
US11594333B2 (en) Device and methods of calculating a therapeutic remedy result
US20230197244A1 (en) Device and methods of calculating a therapeutic remedy result
WO2023210598A1 (en) Information processing system, information processing method, and program
WO2023119465A1 (en) Information processing method, computer program, and information processing device
Deharja et al. Design of Emergency Medical Record Form Based on Hospital Accreditation Standard Version 2012 in Hospital “X”

Legal Events

Date Code Title Description
A80 Written request to apply exceptions to lack of novelty of invention

Free format text: JAPANESE INTERMEDIATE CODE: A80

Effective date: 20191101

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230928

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20231002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20231002

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231024

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20231027

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231109

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231208

R150 Certificate of patent or registration of utility model

Ref document number: 7402008

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150