Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7469775B2 - Hospitalization Probability Prediction System - Google Patents
[go: Go Back, main page]

JP7469775B2 - Hospitalization Probability Prediction System - Google Patents

Hospitalization Probability Prediction System Download PDF

Info

Publication number
JP7469775B2
JP7469775B2 JP2020153575A JP2020153575A JP7469775B2 JP 7469775 B2 JP7469775 B2 JP 7469775B2 JP 2020153575 A JP2020153575 A JP 2020153575A JP 2020153575 A JP2020153575 A JP 2020153575A JP 7469775 B2 JP7469775 B2 JP 7469775B2
Authority
JP
Japan
Prior art keywords
nursing
patient
hospitalization
record
records
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
JP2020153575A
Other languages
Japanese (ja)
Other versions
JP2022047665A (en
Inventor
清 湯浅
Original Assignee
株式会社メビウスボックス
株式会社N・フィールド
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 株式会社メビウスボックス, 株式会社N・フィールド filed Critical 株式会社メビウスボックス
Priority to JP2020153575A priority Critical patent/JP7469775B2/en
Publication of JP2022047665A publication Critical patent/JP2022047665A/en
Application granted granted Critical
Publication of JP7469775B2 publication Critical patent/JP7469775B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)

Description

本発明は、入院可能性推定システムに関する。 The present invention relates to a hospitalization probability estimation system.

精神科医療の領域においては、病院が提供する医療サービスと連携した、患者に対する訪問看護サービスが行われている。この訪問看護サービスは、患者の自宅に看護師等が訪問して患者に対する種々のケアを行うものである。 In the field of psychiatric care, visiting nursing services are provided to patients in coordination with the medical services provided by hospitals. These visiting nursing services involve nurses visiting patients' homes to provide various types of care to the patient.

患者は病状が悪化すると病院に入院することとなる。そうすると、訪問看護サービスを提供している事業主体はサービスを提供することができなくなり、収益を圧迫する。従って、患者の病状の悪化を事前に察知し、入院が必要となる前に適切なケアを行ったり、患者の入院に備えたりすることが、患者へのサービスの向上の点からも、経営の安定化の点からも重要となる。 When a patient's condition worsens, they end up being admitted to a hospital. This means that the business entity providing the home nursing service is no longer able to provide services, putting a strain on profits. Therefore, it is important to detect the deterioration of a patient's condition in advance, provide appropriate care before hospitalization becomes necessary, and prepare for the patient's hospitalization, both in terms of improving services for patients and stabilizing management.

この点に関し、診療記録に記載されたテキスト情報を処理して記載タイミングとともに単語の頻度をベクトル化し、特定の症状を示す単語の発生頻度に基づいて特定の症状が起きている確率を算出する技術が提案されている(例えば、特許文献1。)。 In this regard, a technology has been proposed that processes the text information recorded in medical records, vectorizes the frequency of words along with the timing of recording, and calculates the probability that a particular symptom is occurring based on the frequency of occurrence of words that indicate a particular symptom (for example, Patent Document 1).

特開2018-169795号公報JP 2018-169795 A

しかし、この技術では特定の症状の発生している確率を算出することはできるが、ある患者の入院可能性の推定はできない。このため、この技術によっては、ある患者が入院するかどうかの見極めは、複数の症状を総合して医師が判断する必要があり、上記問題を解決できない。 However, although this technology can calculate the probability of a particular symptom occurring, it cannot estimate the possibility of a patient being hospitalized. As a result, with this technology, determining whether a patient should be hospitalized requires a doctor to consider multiple symptoms in combination, which does not solve the problem mentioned above.

従って、訪問看護によって得られた情報からその患者の入院可能性を推定する入院可能性推定システムが求められている。 Therefore, there is a need for a hospitalization probability estimation system that can estimate the possibility of hospitalization of a patient based on information obtained through home nursing care.

本発明は、精神科の訪問看護の記録である看護記録を取得する看護記録取得部と、取得された前記看護記録に入院の有無を示す目的変数を追加する目的変数追加部と、前記看護記録に含まれる患者の状況または看護内容を示すテキストデータをベクトル化して教師データを生成する教師データ生成部と、前記教師データによってモデルを学習させて学習済みモデルを生成する学習部と、前記看護記録取得部が別途取得した処理対象の前記看護記録に含まれる患者の状況または看護内容を示すテキストデータをベクトル化して推論用データを生成する推論用データ生成部と、前記推論用データを学習済みモデルに適用して入院可能性を推定する入院可能性推定部と、を備える入院可能性推定システムを提供する。 The present invention provides a hospitalization probability estimation system that includes a nursing record acquisition unit that acquires nursing records, which are records of psychiatric home nursing care; an objective variable addition unit that adds an objective variable indicating whether or not a patient will be hospitalized to the acquired nursing record; a teacher data generation unit that generates teacher data by vectorizing text data indicating the patient's condition or nursing content contained in the nursing record; a learning unit that trains a model using the teacher data to generate a trained model; an inference data generation unit that generates inference data by vectorizing text data indicating the patient's condition or nursing content contained in the nursing record to be processed, which is separately acquired by the nursing record acquisition unit; and a hospitalization probability estimation unit that applies the inference data to the trained model to estimate the possibility of hospitalization.

本発明によれば、訪問看護によって得られた情報からその患者の入院可能性を推定する入院可能性推定システムを提供することができる。 The present invention provides a hospitalization probability estimation system that estimates the possibility of hospitalization of a patient based on information obtained through home nursing care.

入院可能性推定システムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a hospitalization probability estimation system. 利用者情報ファイルのデータ構成を示す図である。FIG. 13 is a diagram showing the data structure of a user information file. 看護記録ファイルのデータ構成を示す図である。FIG. 2 is a diagram showing the data structure of a nursing record file. 教師データファイルのデータ構成を示す図である。FIG. 2 is a diagram showing the data structure of a teacher data file. 推論用データファイルの構成を示す図である。FIG. 13 is a diagram showing the structure of an inference data file. 入院可能性推定システムの制御部による、教師データの生成とモデルの学習プロセスの動作を示すフローチャートである。13 is a flowchart showing the operation of the control unit of the hospitalization probability estimation system for generating training data and learning a model. 入院可能性推定システムの制御部による、推論プロセスの動作を示すフローチャートである。13 is a flowchart showing the operation of an inference process by a control unit of the hospitalization probability estimation system. 単語埋め込みの流れを示す図である。FIG. 1 is a diagram illustrating the flow of word embedding. 推論結果である入院リスクの出力例を示す図である。FIG. 13 is a diagram showing an example of output of hospitalization risk as an inference result. 入院リスクの増減の出力例を示す図である。FIG. 13 is a diagram showing an example of output of an increase or decrease in hospitalization risk. 入院リスク統計の出力例を示す図である。FIG. 13 illustrates an example output of hospitalization risk statistics. 入院リスク統計の推移の出力例を示す図である。FIG. 13 is a diagram showing an example output of hospitalization risk statistics trends. 患者別入院リスク推移の出力例を示す図である。FIG. 13 is a diagram showing an example of output of a transition in hospitalization risk by patient.

以下、本発明の一実施形態に係る入院可能性推定システムを詳細に説明する。 The hospitalization probability estimation system according to one embodiment of the present invention is described in detail below.

図1は、本実施形態の入院可能性推定システム1の構成を示すブロック図である。図1に示すように、入院可能性推定システム1は、例えば、いわゆるサーバ装置やパーソナルコンピュータなどのコンピュータを用いて構成することができる。 Figure 1 is a block diagram showing the configuration of the hospitalization probability estimation system 1 of this embodiment. As shown in Figure 1, the hospitalization probability estimation system 1 can be configured using a computer such as a so-called server device or a personal computer.

具体的には、入院可能性推定システム1は、制御部101と、記憶部102と、入出力部103と、通信部104と、を備える。 Specifically, the hospitalization possibility estimation system 1 includes a control unit 101, a memory unit 102, an input/output unit 103, and a communication unit 104.

制御部101は、CPU(central processing unit)などの演算装置を含む。 The control unit 101 includes a calculation device such as a CPU (central processing unit).

記憶部102は、メモリ、ハードディスクドライブなどの記憶装置を含む。記憶部102は、利用者情報ファイル102A、看護記録ファイル102B、トランザクションファイル102C、教師データファイル102D、推論用データファイル102E、推論結果ファイル102F、トークナイザ102G、埋め込み層102H、及びモデル102Iを格納する。 The storage unit 102 includes storage devices such as memory and a hard disk drive. The storage unit 102 stores a user information file 102A, a nursing record file 102B, a transaction file 102C, a teacher data file 102D, an inference data file 102E, an inference result file 102F, a tokenizer 102G, an embedding layer 102H, and a model 102I.

入出力部103は、キーボードなどの入力装置、マウスなどのポインティングデバイス、ディスプレイなどの表示装置、プリンタなどの印刷装置などを含む。 The input/output unit 103 includes an input device such as a keyboard, a pointing device such as a mouse, a display device such as a display, a printing device such as a printer, etc.

通信部104は、ネットワーク装置などの通信装置を含み、インターネットなどの公衆通信回線網2などを介してクラウド3やクライアント端末4と通信する。 The communication unit 104 includes a communication device such as a network device, and communicates with the cloud 3 and the client terminal 4 via a public communication line network 2 such as the Internet.

図2は、利用者情報ファイル102Aのデータ構成を示す図である。利用者情報ファイル102Aは、利用者に関する情報を格納する。 Figure 2 shows the data structure of user information file 102A. User information file 102A stores information about users.

図2に示すように、利用者情報ファイル102Aは、利用者に固有に割り当てられる識別子である利用者IDと、利用者IDごとに利用者に関する情報である利用者情報と、を格納する。 As shown in FIG. 2, the user information file 102A stores a user ID, which is an identifier uniquely assigned to a user, and user information, which is information about the user for each user ID.

利用者情報は、例えば、氏名、生年月日、事業所、利用ステータス、療養費区分、などが挙げられる。 User information includes, for example, name, date of birth, place of business, usage status, medical care expense category, etc.

図3は、看護記録ファイル102Bのデータ構成を示す図である。看護記録ファイル102Bは、利用者IDごとに精神科の患者への訪問看護の際に作成される看護記録の内容を格納する。 Figure 3 shows the data structure of nursing record file 102B. Nursing record file 102B stores the contents of nursing records created during home visits to psychiatric patients for each user ID.

図3に示すように、看護記録ファイル102Bは、利用者IDごとに、訪問基礎情報、ADL(Activities of Daily Living:日常生活動作)基礎情報、バイタルサイン、及び看護内容を格納する。 As shown in FIG. 3, the nursing record file 102B stores basic visit information, basic ADL (Activities of Daily Living) information, vital signs, and nursing care details for each user ID.

訪問基礎情報は、例えば氏名、訪問時の年齢、療養費区分、事業所、訪問開始日時、訪問終了日時、不在であったことを示す不在フラグ、滞在時間、特別支持訪問であったことを示す特別指示訪問フラグ、退院後5週間以内の訪問であったことを示す退院後週5訪問フラグ、1日のうちに複数回訪問したことを示す複数回訪問フラグ、および複数名によって訪問したことを示す複数名訪問フラグが挙げられる。 Basic visit information includes, for example, the name, age at the time of the visit, medical care expense category, place of business, start date and time of the visit, end date and time of the visit, an absence flag indicating that the patient was absent, duration of stay, a special instruction visit flag indicating that it was a special support visit, a 5 visits per week after discharge flag indicating that the visit occurred within 5 weeks of discharge, a multiple visit flag indicating that multiple visits occurred in one day, and a multiple visit flag indicating that the visit was made by multiple people.

ADL基礎情報は、例えば摂食、睡眠、服薬、保清、環境整備、金銭管理、対人関係、食事、移動、排泄、着替、入浴、整容、摂食(備考)、睡眠(備考)、服薬(備考)、保清(備考)、環境整備(備考)、金銭管理(備考)、対人関係(備考)、食事(備考)、移動(備考)、排泄(備考)、着替(備考)、入浴(備考)、および整容(備考)等が挙げられる。ここで、上記の(備考)にはテキストデータが含まれうる。 Examples of basic ADL information include eating, sleeping, taking medicine, cleaning, environmental improvement, financial management, interpersonal relations, eating, moving, excretion, changing clothes, bathing, grooming, eating (notes), sleeping (notes), taking medicine (notes), cleaning (notes), environmental improvement (notes), financial management (notes), interpersonal relations (notes), eating (notes), moving (notes), excretion (notes), changing clothes (notes), bathing (notes), and grooming (notes). Here, the above (notes) may include text data.

バイタルサインは、例えば体温、脈拍、最高血圧、及び最低血圧などが挙げられる。 Vital signs include, for example, body temperature, pulse rate, systolic blood pressure, and diastolic blood pressure.

看護内容は、例えば傾聴、主治医・関係機関連携調整、与薬・注射、皮膚・褥瘡処置、受診援助、家人へ指導・相談、リハビリ、アドバイス、看護内容備考(テキスト)、症状の変化、症状の内容(テキスト)、および特記事項(テキスト)などが挙げられる。ここで、上記の(テキスト)と示した項目にはテキストデータが含まれうる。 Examples of nursing care content include attentive listening, coordination with the patient's doctor and related institutions, administration of medication and injections, treatment of skin and bedsores, assistance with medical examinations, guidance and consultation for family members, rehabilitation, advice, notes on nursing care content (text), changes in symptoms, content of symptoms (text), and special notes (text). Here, the items marked as (text) above may include text data.

図4は、教師データファイル102Dのデータ構成を示す図である。教師データファイル102Dは、利用者IDごとにモデルを学習させるための教師データを格納する。 Figure 4 shows the data structure of the teacher data file 102D. The teacher data file 102D stores teacher data for training a model for each user ID.

図4に示すように、教師データファイル102Dは、利用者IDごとに、訪問情報、ADL情報、バイタルサイン、看護内容、訪問月、ベクトル化されたテキストであるベクトルテキスト、および目的変数を格納する。 As shown in FIG. 4, the teacher data file 102D stores, for each user ID, visit information, ADL information, vital signs, nursing care content, month of visit, vector text which is vectorized text, and objective variables.

訪問看護情報は、例えば訪問時点の年齢、滞在時間、前回訪問からの日数、不在件数(過去14日間)、症状の変化、特別指示訪問フラグ、退院後週5訪問フラグ、複数回訪問フラグ、および複数名訪問フラグなどが挙げられる。 Examples of home nursing information include age at time of visit, length of stay, number of days since last visit, number of absences (past 14 days), change in symptoms, special instruction visit flag, 5 visits per week after discharge flag, multiple visit flag, and multiple visits flag.

ADL情報は、例えば摂食(規則)、摂食(不規則)、摂食(拒食)、摂食(過食)、摂食(その他)、睡眠(良眠)、睡眠(不眠)、睡眠(入眠困難)、睡眠(早期覚醒)、睡眠(中途覚醒)、睡眠(その他)、服薬(規則)、服薬(不規則)、服薬(拒薬)、服薬(怠薬)、服薬(過剰服薬)、服薬(その他)、金銭管理(自己管理)、金銭管理(他者管理)、金銭管理(浪費)、保清、環境整備、対人関係、食事、移動、排泄、着替、入浴、および整容などが挙げられる。 Examples of ADL information include eating (regular), eating (irregular), eating (refusal), eating (overeating), eating (other), sleep (good sleep), sleep (insomnia), sleep (difficulty falling asleep), sleep (early awakening), sleep (awakening during the night), sleep (other), medication (regular), medication (irregular), medication (refusal), medication (failure to take medication), medication (overdosing), medication (other), money management (self-management), money management (management of others), money management (wasting), cleanliness, environmental improvement, interpersonal relationships, meals, movement, excretion, changing clothes, bathing, and grooming.

バイタルサインは、例えば体温、脈拍、最高血圧、および最低血圧などが挙げられる。 Vital signs include, for example, body temperature, pulse rate, systolic blood pressure, and diastolic blood pressure.

看護内容は、例えば傾聴、主治医・関係機関連携調整、与薬・注射、皮膚・褥瘡処置、受診援助、家人へ指導・相談、リハビリ、およびアドバイスなどが挙げられる。 Nursing duties include, for example, listening, coordinating with the patient's doctor and related institutions, administering medication and injections, treating skin and pressure ulcers, assisting with medical examinations, instructing and consulting with family members, rehabilitation, and giving advice.

訪問月は、例えば1月から12月までの訪問月フラグ(1月)~訪問月フラグ(12月)が挙げられる。 Examples of visit months include visit month flag (January) to visit month flag (December) for the months January to December.

ベクトル化テキストは、看護記録に含まれる患者の状況又は看護内容を示すデータ、例えばADL備考、症状の内容、および看護内容備考・特記事項などが挙げられる。 Vectorized text includes data included in nursing records that indicates the patient's condition or nursing content, such as ADL notes, details of symptoms, and nursing content notes and special notes.

目的変数は、例えば入院の有無を示す変数である入院フラグが挙げられる。 An example of an objective variable is the hospitalization flag, which indicates whether or not a patient has been hospitalized.

図5は、推論用データファイル102Eの構成を示す図である。推論用データファイル102Eは、学習済みモデルが推論に使用するデータを格納する。 Figure 5 shows the structure of the inference data file 102E. The inference data file 102E stores data that the trained model uses for inference.

図5に示すように、推論用データファイル102Eは、利用者IDごとに、訪問情報、ADL情報、バイタルサイン、看護内容、訪問月、およびベクトル化されたテキストであるベクトルテキストを格納する。 As shown in FIG. 5, the inference data file 102E stores, for each user ID, visit information, ADL information, vital signs, nursing care content, month of visit, and vector text, which is vectorized text.

訪問看護情報は、例えば訪問時点の年齢、滞在時間、前回訪問からの日数、不在件数(過去14日間)、症状の変化、特別指示訪問フラグ、退院後週5訪問フラグ、複数回訪問フラグ、および複数名訪問フラグなどが挙げられる。 Examples of home nursing information include age at time of visit, length of stay, number of days since last visit, number of absences (past 14 days), change in symptoms, special instruction visit flag, 5 visits per week after discharge flag, multiple visit flag, and multiple visits flag.

ADL情報は、例えば摂食(規則)、摂食(不規則)、摂食(拒食)、摂食(過食)、摂食(その他)、睡眠(良眠)、睡眠(不眠)、睡眠(入眠困難)、睡眠(早期覚醒)、睡眠(中途覚醒)、睡眠(その他)、服薬(規則)、服薬(不規則)、服薬(拒薬)、服薬(怠薬)、服薬(過剰服薬)、服薬(その他)、金銭管理(自己管理)、金銭管理(他者管理)、金銭管理(浪費)、保清、環境整備、対人関係、食事、移動、排泄、着替、入浴、および整容などが挙げられる。 Examples of ADL information include eating (regular), eating (irregular), eating (refusal), eating (overeating), eating (other), sleep (good sleep), sleep (insomnia), sleep (difficulty falling asleep), sleep (early awakening), sleep (awakening during the night), sleep (other), medication (regular), medication (irregular), medication (refusal), medication (failure to take medication), medication (overdosing), medication (other), money management (self-management), money management (management of others), money management (wasting), cleanliness, environmental improvement, interpersonal relationships, meals, movement, excretion, changing clothes, bathing, and grooming.

バイタルサインは、例えば体温、脈拍、最高血圧、および最低血圧などが挙げられる。 Vital signs include, for example, body temperature, pulse rate, systolic blood pressure, and diastolic blood pressure.

看護内容は、例えば傾聴、主治医・関係機関連携調整、与薬・注射、皮膚・褥瘡処置、受診援助、家人へ指導・相談、リハビリ、およびアドバイスなどが挙げられる。 Nursing duties include, for example, listening, coordinating with the patient's doctor and related institutions, administering medication and injections, treating skin and pressure ulcers, assisting with medical examinations, instructing and consulting with family members, rehabilitation, and giving advice.

訪問月は、例えば1月から12月までの訪問月フラグ(1月)~訪問月フラグ(12月)が挙げられる。 Examples of visit months include visit month flag (January) to visit month flag (December) for the months January to December.

ベクトル化テキストは、看護記録に含まれる患者の状況又は看護内容を示すデータ、例えばADL備考、症状の内容、および看護内容備考・特記事項などが挙げられる。 Vectorized text includes data included in nursing records that indicates the patient's condition or nursing content, such as ADL notes, details of symptoms, and nursing content notes and special notes.

トランザクションファイル102Cは、作業途中のデータを格納する。 Transaction file 102C stores data in progress.

推論結果ファイル102Fは、学習済みモデルが出力した入院可能性を日付ごと、利用者IDごとに格納する。 The inference result file 102F stores the probability of hospitalization output by the trained model for each date and user ID.

図6は、入院可能性推定システム1の制御部101による、教師データの生成とモデルの学習プロセスの動作を示すフローチャートである。 Figure 6 is a flowchart showing the operation of the control unit 101 of the hospitalization probability estimation system 1 in the process of generating training data and learning a model.

図6に示すように、ステップ601において、制御部101はデータの取得とコンバートを行う。素データが表計算ソフトのシートであった場合には、CSV(Comma Separated Value)形式にコンバートする。素データが電子カルテであった場合、データベースから看護記録ファイル102Bのデータ構成をCSV形式にて抽出する。生成されたCSV形式の各データは看護記録ファイル102Bに格納される。 As shown in FIG. 6, in step 601, the control unit 101 acquires and converts data. If the raw data is a spreadsheet, it is converted to CSV (Comma Separated Value) format. If the raw data is an electronic medical record, the data structure of the nursing record file 102B is extracted in CSV format from the database. Each piece of data in the generated CSV format is stored in the nursing record file 102B.

ステップ602において、制御部101は、看護記録ごとに目的変数を付与する。例えば、訪問した月内に入院していた場合には「1」を、入院していない場合には「0」を入院フラグにセットする。 In step 602, the control unit 101 assigns a target variable to each nursing record. For example, if the patient was hospitalized within the month of the visit, the hospitalization flag is set to "1," and if the patient was not hospitalized, the hospitalization flag is set to "0."

ステップ603において、制御部101は、特徴量を作成する。具体的には、制御部101は特徴量追加部によって、看護記録ファイル102Bの看護記録データに、滞在時間、前回訪問日からの日数、及び不在件数(過去14日間)のうちから1種類以上選ばれる変数をそれぞれ算出して追加する。 In step 603 , the control unit 101 creates features. Specifically, the control unit 101 causes a feature adding unit to calculate and add, to the nursing record data in the nursing record file 102B, one or more variables selected from the duration of stay, the number of days since the previous visit, and the number of absences (in the past 14 days).

次に、制御部101は、ADL基礎情報、症状の変化が欠損している看護記録を看護記録ファイル102Bから削除する。 Next, the control unit 101 deletes nursing records that are missing basic ADL information and changes in symptoms from the nursing record file 102B.

次に、制御部101は、ADL基礎情報のうち、カテゴリー変数をエンコーダによってエンコードする。 Next, the control unit 101 encodes the categorical variables from the ADL basic information using an encoder.

次に、制御部101は、療養費区分が欠損していた場合には、同一利用者IDのほかの看護記録からコピーして補完する。 Next, if the medical care expense category is missing, the control unit 101 copies it from another nursing record with the same user ID to complete it.

次に、制御部101は、訪問月を訪問月フラグに変換して追加する。 Next, the control unit 101 converts the visit month into a visit month flag and adds it.

次に、制御部101は、バイタルサインが異常値の場合、その看護記録を看護記録ファイル102Bから削除する。 Next, if the vital signs are abnormal, the control unit 101 deletes the nursing record from the nursing record file 102B.

次に、制御部101は、バイタルサインが欠損している場合には「-1」を補完する。 Next, the control unit 101 complements "-1" if a vital sign is missing.

次に、制御部101は、テキストデータに適宜補完や修正を加える。 Next, the control unit 101 supplements and corrects the text data as appropriate.

ステップ604において、制御部101は、看護記録ファイル102Bから教師データに適したデータを選択し、トランザクションファイル102Cに格納する。制御部101は、例えば、療養費区分が「精神」の看護記録のみを選択する。 In step 604 , the control unit 101 selects data suitable for the teacher data from the nursing record file 102B, and stores it in the transaction file 102C. For example, the control unit 101 selects only nursing records whose medical expense category is "mental".

ステップ605において、制御部101は、トランザクションファイル102Cに格納されたデータに対し、看護記録に含まれる患者の状況または看護内容を示すテキストデータを単語埋め込みによってベクトルに変換し、得られたベクトルによって元のテキストデータを置き換えて格納する。

In step 605 , the control unit 101 converts text data indicating the patient's condition or nursing content contained in the nursing record into a vector by word embedding for the data stored in the transaction file 102C, and replaces the original text data with the obtained vector and stores it.

看護記録に含まれる患者の状況または看護内容を示すテキストデータは、ADLについての備考、症状の内容、看護内容の備考、および看護内容の特記事項のうちから1種類以上選ばれる。 The text data included in the nursing record that indicates the patient's condition or nursing content is selected from one or more of the following: notes on ADL, details of symptoms, notes on nursing content, and special notes on nursing content.

制御部101は、単語埋め込みを次の手順により行う。 The control unit 101 performs word embedding using the following procedure.

制御部101は、トークナイザによって文章をベクトルに変換(位置埋め込み)する。トークナイザはその時点において最も優秀な公知のオープンソースを使用することができる。 The control unit 101 converts the text into vectors (position embedding) using a tokenizer. The tokenizer can use the best publicly known open source at the time.

次に制御部101は、上記のベクトルをニューラルネットワークの埋め込み層に通してテンソルに変換(単語埋め込み)する。埋め込み層(embeddings レイヤー)はその時点において最も優秀な公知のオープンソースを使用することができる。 The control unit 101 then passes the above vector through an embedding layer of a neural network to convert it into a tensor (word embedding). The embedding layer can use the best publicly available open source at the time.

制御部101は、例えば、1階:文章列、2階:位置埋め込み結果の数値列、3階:単語埋め込み結果の数値列のテンソルを生成する。 The control unit 101 generates a tensor for, for example, the first level: a sentence sequence, the second level: a numeric sequence of the position embedding results, and the third level: a numeric sequence of the word embedding results.

さらに制御部101は、このテンソルの3階の平均値を算出してプーリングし(平均プーリング)、ベクトルに変換して埋め込みベクトルとする。 The control unit 101 then calculates the third-order average of this tensor, pools it (average pooling), and converts it into a vector to create an embedding vector.

制御部101は、得られたデータをトランザクションファイル102Cに格納する。 The control unit 101 stores the obtained data in the transaction file 102C.

ステップ606において、制御部101は、データサンプリングを行い、教師データ:テストデータ=8:2の割合に上記のトランザクションファイル102Cのデータを分割する。 In step 606, the control unit 101 performs data sampling and divides the data in the above transaction file 102C into teacher data:test data = 8:2 ratio.

ステップ607において、制御部101は、生成された教師データからそれぞれモデルの学習に使用する特徴量を抽出する。制御部101は、少なくとも訪問情報、ベクトル化テキスト、および目的変数を抽出する。 In step 607, the control unit 101 extracts features to be used for model training from the generated training data. The control unit 101 extracts at least the visit information, the vectorized text, and the objective variable.

ステップ608において、制御部101は、抽出された特徴量を標準化してスケーリングし、得られたデータを教師データファイル102Dに出力する。 In step 608, the control unit 101 standardizes and scales the extracted features and outputs the resulting data to the teacher data file 102D.

ステップ609において、制御部101は、教師データファイル102Dから教師データを順次読みだして、モデルを学習させる。 In step 609, the control unit 101 sequentially reads out the teacher data from the teacher data file 102D and trains the model.

具体的には、モデルのトレーニング、損失の計算、およびモデルの保存をあらかじめ定められたエポック回数実行する。 Specifically, the model is trained, the loss is calculated, and the model is saved for a predetermined number of epochs.

ステップ610において、制御部101は、損失の最も小さいエポックのモデルを学習済みモデルとして保存する。 In step 610, the control unit 101 saves the model of the epoch with the smallest loss as the trained model.

ここで、モデルはディープラーニングのモデルを用いることができるが、その時点においてさらに優秀なモデルがあれば、そのモデルを用いることができる。 Here, the model can use a deep learning model, but if there is a better model available at that point, that model can also be used.

図7は、入院可能性推定システム1の制御部101による、推論プロセスの動作を示すフローチャートである。 Figure 7 is a flowchart showing the operation of the inference process by the control unit 101 of the hospitalization probability estimation system 1.

図7に示すように、ステップ701において、制御部101は、処理対象のデータのデータ取得とコンバートを行う。データ取得とコンバートの方法は、ステップ601の方法と同様である。 As shown in FIG. 7, in step 701, the control unit 101 acquires and converts the data to be processed. The method of acquiring and converting the data is the same as the method of step 601.

ステップ702において、制御部101は、特徴量を作成する。処理の方法はステップ603の処理の方法と同様である。 In step 702, the control unit 101 creates features. The processing method is the same as the processing method in step 603.

ステップ703において、制御部101は、単語埋め込みを行う。処理の方法はステップ605の処理の方法と同様である。 In step 703, the control unit 101 performs word embedding. The processing method is the same as the processing method in step 605.

ステップ704において、制御部101は、特徴量の選択を行う。処理の方法はステップ607の処理の方法と同様である。 In step 704, the control unit 101 selects the feature amount. The processing method is the same as the processing method in step 607.

ステップ705において、制御部101は、スケーリングを行う。処理の方法はステップ608の処理の方法と同様である。 In step 705, the control unit 101 performs scaling. The processing method is the same as the processing method in step 608.

ステップ706において、制御部101は、得られた処理対象のデータを学習済みモデルに適用して推論を行い、入院可能性(入院リスク)を出力させる。推論結果である入院可能性は、確率(%)などの数値のほか、大、中、小などのレベルなとによって出力することができる。 In step 706, the control unit 101 applies the obtained data to be processed to the trained model to perform inference and output the possibility of hospitalization (hospitalization risk). The inference result, the possibility of hospitalization, can be output as a numerical value such as probability (%), or as a level such as high, medium, or low.

ステップ707において、制御部101は、推論結果の入院可能性を入出力部に出力する。 In step 707, the control unit 101 outputs the inference result of the possibility of hospitalization to the input/output unit.

図8は、単語埋め込みの流れを示す図である。図8に示すように、制御部101は入力テキストをトークナイザによってトークン化(最小単位の単語列へ変換)する。図8において、「トークン化」が示す区切られた単語の一つ一つはトークンである。 Figure 8 shows the flow of word embedding. As shown in Figure 8, the control unit 101 tokenizes the input text (converts it into the smallest unit of a word string) using a tokenizer. In Figure 8, each of the separated words indicated by "tokenization" is a token.

次に制御部101は、得られたトークンに対して位置埋め込みを行い、トークンの列をベクトル化する。図8において、「位置埋め込み」が示す数値は、それぞれ各トークンに固有に割り当てられる識別子であるIDである。 Next, the control unit 101 performs position embedding on the obtained tokens and vectorizes the token sequence. In FIG. 8, the numerical values indicated by "position embedding" are IDs, which are identifiers uniquely assigned to each token.

次に制御部101は、ベクトル化された各トークンに対して単語埋め込みを行い、ベクトルをテンソルに変換する。図8において、「単語埋め込み」が示す数値の列は、それぞれトークンに固有に割り当てられたベクトルである。 Next, the control unit 101 performs word embedding for each vectorized token and converts the vector into a tensor. In FIG. 8, the string of numbers indicated by "word embedding" is a vector uniquely assigned to each token.

次に制御部101は、得られたテンソルの3階(単語埋め込みの結果の数値列)に対して平均プーリングを行って整形し、埋め込みベクトルを得る。図8において、「平均プーリング」が示す数値の列は、平均プーリングによる整形後の埋め込みベクトルである。ここでは、128個の特徴量に整形されている。 Next, the control unit 101 performs average pooling on the third level of the obtained tensor (the numerical sequence resulting from word embedding) to reshape it and obtain an embedding vector. In FIG. 8, the numerical sequence indicated by "average pooling" is the embedding vector after reshaping by average pooling. Here, it is shaped into 128 features.

図9は、推論結果である入院リスクの出力例を示す図である。図9に示すように、制御部101は、患者ごとに入院リスク(%)と、前月比(%)を入院リスク画面901に出力する。 Figure 9 is a diagram showing an example of the output of the hospitalization risk, which is the inference result. As shown in Figure 9, the control unit 101 outputs the hospitalization risk (%) and the change from the previous month (%) for each patient to the hospitalization risk screen 901.

図10は、入院リスクの増減の出力例を示す図である。図10に示すように、制御部101は、患者ごとに入院リスク増減(%)を入院リスク(%)とともに入院リスク増減画面1001に出力する。 Figure 10 is a diagram showing an example of output of an increase or decrease in hospitalization risk. As shown in Figure 10, the control unit 101 outputs the increase or decrease in hospitalization risk (%) for each patient to a hospitalization risk increase or decrease screen 1001 along with the hospitalization risk (%).

図11は、入院リスク統計の出力例を示す図である。図11に示すように、制御部101は、入院リスクの度合いの度数を集計し、円グラフ1101に出力する。 Figure 11 is a diagram showing an example of output of hospitalization risk statistics. As shown in Figure 11, the control unit 101 tally up the degrees of hospitalization risk and output them to a pie chart 1101.

図12は、入院リスク統計の推移の出力例を示す図である。図12に示すように、制御部101は、入院リスクの度合いの度数を集計し、その推移を柱状グラフ1201に出力する。 Figure 12 is a diagram showing an example of output of the trend of hospitalization risk statistics. As shown in Figure 12, the control unit 101 tallies the degree of hospitalization risk and outputs the trend to a bar graph 1201.

図13は、患者別入院リスク推移の出力例を示す図である。図13に示すように、制御部101は、患者ごとに入院リスクの推移を折れ線グラフ1301に出力する。 Figure 13 is a diagram showing an example of output of the transition of hospitalization risk for each patient. As shown in Figure 13, the control unit 101 outputs the transition of hospitalization risk for each patient to a line graph 1301.

以上述べたように、本実施形態の入院可能性推定システム1は、精神科の訪問看護の記録である看護記録を取得する看護記録取得部(ステップ601)と、取得された看護記録に入院の有無を示す目的変数を追加する目的変数追加部(ステップ602)と、看護記録に含まれる患者の状況または看護内容を示すテキストデータをベクトル化して教師データを生成する教師データ生成部(ステップ605)と、教師データによってモデルを学習させて学習済みモデルを生成する学習部(ステップ609、ステップ610)と、看護記録取得部が別途取得した処理対象の看護記録に含まれる患者の状況または看護内容を示すテキストデータをベクトル化して推論用データを生成する推論用データ生成部(ステップ701、ステップ703)と、推論用データを学習済みモデルに適用して入院可能性を推定する入院可能性推定部(ステップ706)と、を備える。 As described above, the hospitalization possibility estimation system 1 of this embodiment includes a nursing record acquisition unit (step 601) that acquires nursing records, which are records of psychiatric home nursing care; an objective variable addition unit (step 602) that adds an objective variable indicating whether or not the patient is hospitalized to the acquired nursing record; a teacher data generation unit (step 605) that generates teacher data by vectorizing text data indicating the patient's condition or nursing content contained in the nursing record; a learning unit (steps 609 and 610) that trains a model using the teacher data to generate a trained model; an inference data generation unit (steps 701 and 703) that vectorizes text data indicating the patient's condition or nursing content contained in the nursing record to be processed, which is separately acquired by the nursing record acquisition unit, to generate inference data; and a hospitalization possibility estimation unit (step 706) that applies the inference data to the trained model to estimate the possibility of hospitalization.

従って、本実施形態によれば、訪問看護によって得られた情報からその患者の入院可能性を推定する入院可能性推定システムを提供することができるという効果がある。 Therefore, this embodiment has the effect of providing a hospitalization probability estimation system that estimates the possibility of hospitalization of a patient from information obtained through home nursing care.

1 入院可能性推定システム
2 公衆通信回線網
3 クラウド
4 クライアント端末
101 制御部
102 記憶部
102A 利用者情報ファイル
102B 看護記録ファイル
102C トランザクションファイル
102D 教師データファイル
102E 推論用データファイル
102F 推論結果ファイル
102G トークナイザ
102H 埋め込み層
102I モデル
103 入出力部
104 通信部
901 入院リスク画面
1001 入院リスク増減画面
1101 円グラフ
1201 柱状グラフ
1301 折れ線グラフ
1 Hospitalization probability estimation system 2 Public communication line network 3 Cloud 4 Client terminal 101 Control unit 102 Memory unit 102A User information file 102B Nursing record file 102C Transaction file 102D Teacher data file 102E Inference data file 102F Inference result file 102G Tokenizer 102H Embedding layer 102I Model 103 Input/output unit 104 Communication unit 901 Hospitalization risk screen 1001 Hospitalization risk increase/decrease screen 1101 Pie chart 1201 Column chart 1301 Line graph

Claims (6)

精神科の訪問看護の記録であり、訪問看護の際に作成される看護記録を患者ごとに取得する看護記録取得部と、
取得された前記看護記録に訪問月における入院の有無を示す目的変数を追加する目的変数追加部と、
前記目的変数が追加された前記看護記録に含まれる患者の状況または看護内容を示すテキストデータをベクトル化して患者ごとの教師データを生成する教師データ生成部と、
前記教師データによってモデルを学習させて学習済みモデルを生成する学習部と、
前記看護記録取得部が別途取得した処理対象の前記看護記録に含まれる患者の状況または看護内容を示すテキストデータをベクトル化して推論用データを生成する推論用データ生成部と、
前記推論用データを前記学習済みモデルに適用して前記処理対象の患者の入院可能性を推定する入院可能性推定部と、
を備える入院可能性推定システム。
A nursing record acquisition unit that acquires nursing records for each patient, the nursing records being records of psychiatric home visits and created during home visits;
an objective variable adding unit that adds an objective variable indicating whether or not the patient was hospitalized in the visiting month to the acquired nursing record;
A teacher data generation unit that generates teacher data for each patient by vectorizing text data indicating the patient's condition or nursing content included in the nursing record to which the objective variable has been added;
A learning unit that learns a model using the teacher data to generate a learned model;
an inference data generation unit that generates inference data by vectorizing text data indicating the patient's condition or nursing content included in the nursing record to be processed that is separately acquired by the nursing record acquisition unit;
a hospitalization probability estimation unit that estimates the hospitalization probability of the patient to be processed by applying the inference data to the trained model;
A hospitalization probability estimation system that includes:
前記看護記録に含まれる患者の状況または看護内容を示すテキストデータは、
ADLについての備考、症状の内容、看護内容の備考、および看護内容の特記事項のうちから1種類以上選ばれる請求項1に記載の入院可能性推定システム。
The text data indicating the patient's condition or nursing content included in the nursing record is
The hospitalization probability estimation system according to claim 1 , wherein one or more of the following is selected from notes on ADL, details of symptoms, notes on nursing care, and special notes on nursing care.
前記看護記録に、滞在時間、前回訪問日からの日数、および不在件数のうちから1種類以上選ばれる特徴量を追加する特徴量追加部をさらに備える請求項1に記載の入院可能性推定システム。 The hospitalization probability estimation system according to claim 1, further comprising a feature adding unit that adds to the nursing record one or more features selected from the duration of stay, the number of days since the last visit, and the number of absences. 前記看護記録に含まれるカテゴリー変数をエンコードするエンコーダをさらに備える請求項1に記載の入院可能性推定システム。 The hospitalization probability estimation system according to claim 1, further comprising an encoder for encoding categorical variables included in the nursing records. 前記カテゴリー変数は、
ADL基礎情報、看護内容、および訪問月のうちから1種類以上選ばれる請求項4に記載の入院可能性推定システム。
The categorical variables are:
5. The hospitalization possibility estimation system according to claim 4, wherein one or more items are selected from the group consisting of basic ADL information, nursing care content, and month of visit.
看護内容を示すテキストデータに基づき、処理対象の患者の入院可能性を出力するよう、コンピュータを機能させるための学習済みモデルであって、
精神科の訪問看護の記録であり、訪問看護の際に作成される看護記録を患者ごとに取得し、取得した前記看護記録に訪問月における入院の有無を示す目的変数を追加した前記看護記録に含まれる患者の状況または看護内容を示すテキストデータをベクトル化して生成した患者ごとの教師データにより学習されたものであり、
別途取得した前記処理対象の前記看護記録に含まれる患者の状況または看護内容を示すテキストデータをベクトル化して生成した推論用データの入力を受け付け、前記処理対象の患者の入院可能性を出力する処理を実行するよう、コンピュータを機能させるための学習済みモデル。
A trained model for causing a computer to function to output the possibility of hospitalization of a patient to be processed based on text data indicating nursing care content,
The record is a record of psychiatric home nursing care, and is trained using teacher data for each patient, which is generated by acquiring nursing records created during home nursing care for each patient, adding a target variable indicating whether or not the patient was hospitalized in the month of the visit to the acquired nursing records, and vectorizing text data indicating the patient's condition or nursing content included in the nursing records,
A trained model for causing a computer to function to accept input of inference data generated by vectorizing text data indicating the patient's condition or nursing content contained in the nursing record to be processed, which is separately obtained, and to execute a process of outputting the possibility of hospitalization of the patient to be processed.
JP2020153575A 2020-09-14 2020-09-14 Hospitalization Probability Prediction System Active JP7469775B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020153575A JP7469775B2 (en) 2020-09-14 2020-09-14 Hospitalization Probability Prediction System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020153575A JP7469775B2 (en) 2020-09-14 2020-09-14 Hospitalization Probability Prediction System

Publications (2)

Publication Number Publication Date
JP2022047665A JP2022047665A (en) 2022-03-25
JP7469775B2 true JP7469775B2 (en) 2024-04-17

Family

ID=80781210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020153575A Active JP7469775B2 (en) 2020-09-14 2020-09-14 Hospitalization Probability Prediction System

Country Status (1)

Country Link
JP (1) JP7469775B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102717252B1 (en) * 2023-02-17 2024-10-15 주식회사 뷰노 Method for predicting likelihood of admission to treatment site

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019194807A (en) 2018-05-02 2019-11-07 株式会社Fronteoヘルスケア Dangerous action prediction device, prediction model generation device, and program for dangerous action prediction
JP2020101901A (en) 2018-12-20 2020-07-02 富士通株式会社 Medical data structure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019194807A (en) 2018-05-02 2019-11-07 株式会社Fronteoヘルスケア Dangerous action prediction device, prediction model generation device, and program for dangerous action prediction
JP2020101901A (en) 2018-12-20 2020-07-02 富士通株式会社 Medical data structure

Also Published As

Publication number Publication date
JP2022047665A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
Falvey et al. Association of social isolation with disability burden and 1-year mortality among older adults with critical illness
Buist et al. Effects of a medical emergency team on reduction of incidence of and mortality from unexpected cardiac arrests in hospital: preliminary study
Anderson et al. Chronic conditions: making the case for ongoing care
Henriksson et al. Diabetes: the cost of illness in Sweden
Lau et al. Hospitalization and death associated with potentially inappropriate medication prescriptions among elderly nursing home residents
Cohen Time, space and touch at work: body work and labour process (re) organisation
Kaufman Intensive care, old age, and the problem of death in America
Fries et al. Compression of morbidity 1980–2011: a focused review of paradigms and progress
JP7373101B2 (en) Patient profile information system, control method for patient profile information system, program, and recording medium
US20220192556A1 (en) Predictive, diagnostic and therapeutic applications of wearables for mental health
Mullenbach et al. CLIP: A dataset for extracting action items for physicians from hospital discharge notes
Hay et al. Embodiment and aging in contemporary physiotherapy
McLennon et al. “At the end we feel forgotten”: Needs, concerns, and advice from blogs of dementia family caregivers
Ajenaghughrure et al. Fuzzy based multi-fever symptom classifier diagnosis model
JP7469775B2 (en) Hospitalization Probability Prediction System
US20230315989A1 (en) Readmission model based on social determinants of health
Martin et al. Complex adaptive chronic care–typologies of patient journey: a case study
JP7605217B2 (en) Medical planning support system, medical planning support method, and medical planning support program
Walsh et al. Quality of health care for people with developmental disabilities: The challenge of managed care
Navarro-Alamán et al. Close2U: an app for monitoring cancer patients with enriched information from interaction patterns
Patel et al. Improving patient outcomes using measures to increase discharge rates to home
Lichtenberg The effect of pharmaceutical innovation on the functional limitations of elderly Americans: Evidence from the 2004 National Nursing Home Survey
Madrigal-Garcia et al. Do temporal changes in facial expressions help identify patients at risk of deterioration in hospital wards? A post hoc analysis of the visual early warning score study
JP7825012B2 (en) Nursing Information Processing System
Santra et al. Scheme for unstructured knowledge representation in medical expert system for low back pain management

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20200928

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20210414

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20210414

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220201

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20220318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230627

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240122

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240328

R150 Certificate of patent or registration of utility model

Ref document number: 7469775

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150