Computer program, information processing method, information processing apparatus, information processing system, and anonymization apparatus

The information processing system leverages a large-scale language model to generate medical documents and enable natural language searches within electronic medical records, addressing efficiency and anonymity challenges in medical information handling.

JP2026000892APending Publication Date: 2026-01-06ALY CO LTD

Patent Information

Application Number
JP2025102290
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-18
Filing Date
2025-06-18
Publication Date
2026-01-06

AI Technical Summary

Technical Problem

Existing systems face challenges in efficiently generating medical documents from medical information and searching for such information within databases, particularly for users unfamiliar with computer or database languages, and there is a need to enhance the anonymity of medical information handling.

Method used

An information processing system utilizing a large-scale language model, such as Transformer or BERT, to generate medical documents like discharge summaries based on patient information and condition inputs, and enabling natural language-based searches within electronic medical records, with an anonymization device to secure data transmission.

Benefits of technology

Supports the creation of medical documents and efficient search of medical information while ensuring data anonymity and security, facilitating user-friendly operations even for those not proficient in database languages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026000892000001_ABST
    Figure 2026000892000001_ABST
Patent Text Reader

Abstract

To provide a computer program, an information processing method, an information processing device, an information processing system, and an anonymization device that can be expected to support creation of a medical document based on medical information stored in a database, retrieval of medical information, or the like.SOLUTION: Receiving an input of identification information of a target patient, receiving an input of condition information related to generation of the medical document, acquiring one or a plurality of pieces of medical information from the database on the basis of the received identification information of the target patient and the condition information, and generating prompt information related to the generation of the medical document on the basis of the condition information; Inputting the acquired medical information and the generated prompt information to a language model, acquiring a medical document output by the language model, and displaying the acquired medical document on a display unit.SELECTED DRAWING: Figure 16
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a computer program, an information processing method, an information processing device, an information processing system, and an anonymization device that handle medical information, medical documents, and the like. [Background technology]

[0002] Patent Document 1 proposes an electronic medical record device that displays an electronic medical record, reflects input data in the displayed electronic medical record based on input operations, and stores the electronic medical record in storage means. This electronic medical record device displays, in parallel, a wizard screen that displays items required for creating a medical document so that they can be input sequentially, and a medical record information screen that lists items recorded in the electronic medical record in chronological order, and creates a medical document by importing items selected on the medical record information screen into the displayed wizard screen. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2005-316968 Summary of the Invention [Problem to be solved by the invention]

[0004] The present disclosure provides a computer program, an information processing method, an information processing device, an information processing system, and an anonymization device that are expected to support the creation of medical documents based on medical information, or the search for medical information stored in a database, etc. Alternatively, the present disclosure provides a computer program, an information processing method, an information processing device, an information processing system, and an anonymization device that are expected to increase the anonymity of medical information, etc. [Means for solving the problem]

[0005] A computer program according to one embodiment causes a computer to execute a process of generating a medical document based on medical information stored in a database, and causes the computer to execute a process of accepting input of identification information of a target patient, accepting input of condition information related to the generation of the medical document, acquiring one or more pieces of medical information from the database based on the accepted identification information of the target patient and the condition information, generating prompt information related to the generation of the medical document based on the condition information, inputting the acquired medical information and the generated prompt information into a language model, acquiring a medical document output by the language model, and displaying the acquired medical document on a display unit. [Effects of the Invention]

[0006] The present disclosure is expected to support the creation of medical documents based on medical information, or the search for medical information stored in a database, etc. Alternatively, the present disclosure is expected to enhance the anonymity of medical information, etc. [Brief explanation of the drawings]

[0007] [Figure 1] 1 is a schematic diagram for explaining an overview of medical document generation by an information processing system according to an embodiment of the present invention. [Figure 2] FIG. 1 is a schematic diagram for explaining an overview of medical information search in an information processing system according to an embodiment of the present invention. [Figure 3] 1 is a schematic diagram illustrating an example of a configuration of an information processing system according to an embodiment of the present invention. [Figure 4] 1 is a block diagram showing an example of a configuration of an information processing device according to an embodiment of the present invention; [Figure 5] FIG. 2 is a block diagram showing a configuration example of a terminal device according to the present embodiment. [Figure 6] 1 is a block diagram showing an example of the configuration of a security device according to an embodiment of the present invention; [Figure 7] FIG. 10 is a schematic diagram showing an example of a patient ID reception screen. [Figure 8]FIG. 10 is a schematic diagram showing an example of a discharge summary generation condition input screen. [Figure 9] FIG. 10 is a schematic diagram illustrating an example of a progress record selection screen. [Figure 10] FIG. 10 is a schematic diagram showing another example of the discharge summary generation condition input screen. [Figure 11] FIG. 10 is a schematic diagram showing another example of the discharge summary generation condition input screen. [Figure 12] FIG. 10 is a schematic diagram showing an example of a display of a discharge summary. [Figure 13] FIG. 10 is a schematic diagram showing an example of "hospitalization progress information" written in the discharge summary. [Figure 14] FIG. 10 is a schematic diagram illustrating an example of a template of prompt information. [Figure 15] FIG. 10 is a schematic diagram showing an example of display of reference information. [Figure 16] 10 is a flowchart showing an example of a procedure of a discharge summary generation process performed by the information processing device according to the present embodiment. [Figure 17] FIG. 10 is a schematic diagram showing an example of an electronic medical record search screen. [Figure 18] FIG. 10 is a schematic diagram illustrating an example of a search result display screen. [Figure 19] 10 is a flowchart illustrating an example of a procedure of a search process performed by the information processing device according to the present embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0008] Specific examples of information processing systems according to embodiments of the present disclosure will be described below with reference to the drawings. Note that the present disclosure is not limited to these examples, but is defined by the claims, and is intended to include all modifications within the meaning and scope of the claims.

[0009] <System configuration> FIG. 1 is a schematic diagram for explaining an overview of medical document generation by an information processing system according to this embodiment. The information processing system according to this embodiment is configured with an information processing device 1, a terminal device 3, an electronic medical record management device 4, and the like. The terminal device 3 is a device provided in a facility such as a hospital or a nursing home, and used by users such as doctors or nurses. The terminal device 3 may be configured using a general-purpose information processing device such as a personal computer, a tablet terminal device, or a smartphone. A user such as a doctor examines or treats a patient at a facility such as a hospital, and uses the terminal device 3 to enter various information related to the patient's examination into an electronic medical record. Note that although only one terminal device 3 is depicted in this figure, multiple terminal devices 3 may be present.

[0010] The electronic medical record management device 4 is equipped with an electronic medical record DB (database) 8 and is a device that manages the input and output of information to the electronic medical record DB 8. The electronic medical record management device 4 is configured using a general-purpose information processing device such as a server computer, and may be installed in a facility such as a hospital, like the terminal device 3, or may be installed in a location other than the facility such as a hospital. The electronic medical record management device 4 communicates with the terminal device 3 via a network such as the Internet, a LAN (Local Area Network), or a VPN (Virtual Private Network), accepts information input by a user such as a doctor via the terminal device 3, and stores and accumulates the input information in the electronic medical record DB 8. The electronic medical record management device 4 also extracts information from the electronic medical record DB 8 in response to a user request and transmits it to the terminal device 3, and can provide information to the user by displaying the information on the terminal device 3.

[0011] The information processing device 1 according to this embodiment is located between the terminal device 3 and the electronic medical record management device 4, and performs processing to generate a discharge summary (medical document) based on information (medical information) stored in the electronic medical record DB 8. Note that in this embodiment, a configuration for generating a discharge summary as a medical document will be described, but this is not limited to this, and the technology of the information processing system according to this embodiment can also be used when generating medical documents such as a nursing summary, discharge rehabilitation information report, medical information report, diagnosis information report, medical certificate, insurance document, attending physician's opinion, nursing summary, or rehabilitation summary.

[0012] The information processing device 1 is configured using a general-purpose information processing device such as a server computer, and may be installed in a facility such as a hospital, or may be installed in a location other than the facility such as a hospital. The information processing device 1 according to this embodiment includes a large-scale language model 7 that has been machine-learned in advance, such as Transformer, BERT (Bidirectional Encoder Representations from Transformers), or GPT (Generative Pre-trained Transformer), and generates a discharge summary using this language model 7.

[0013] In the information processing system according to this embodiment, a user such as a doctor accesses the information processing device 1 using a terminal device 3 and inputs conditions for generating a discharge summary (e.g., patient identification information, disease name, etc.). The information processing device 1 acquires the generation conditions set by the user such as a doctor via the terminal device 3 and requests information necessary for generating a discharge summary under the acquired generation conditions from the electronic medical record management device 4. In response to the information request from the information processing device 1, the electronic medical record management device 4 reads the requested electronic medical record information from the electronic medical record DB 8 and transmits the read electronic medical record information to the information processing device 1. The information processing device 1, having received the electronic medical record information from the electronic medical record management device 4, inputs the electronic medical record information into a language model 7 and issues an instruction to the language model 7 to generate a discharge summary. The language model 7 generates a discharge summary based on the input electronic medical record information, and the information processing device 1 transmits the discharge summary generated by the language model 7 to the terminal device 3. The terminal device 3 displays the discharge summary received from the information processing device 1 on a display unit, thereby providing the user with the generated discharge summary.

[0014] In addition, in the information processing system according to this embodiment, when a user such as a doctor enters electronic medical record information on the terminal device 3, the user can add, for example, specific keywords or marks to the information in the electronic medical record. These specific keywords are added to information that the doctor or other user determines is desirable for inclusion in a later discharge summary. The electronic medical record management device 4 stores the electronic medical record information, including the specific keywords added by the user, in the electronic medical record DB 8. The information processing device 1 can generate a discharge summary by preferentially using information containing specific keywords from the electronic medical record information acquired from the electronic medical record management device 4. Note that the user does not need to include such specific keywords when entering the electronic medical record. If the electronic medical record information acquired from the electronic medical record management device 4 does not contain information containing specific keywords, the information processing device 1 can generate a discharge summary using information without the specific keywords. Furthermore, even if information containing specific keywords is included, the information processing device 1 can generate a discharge summary by combining information containing the specific keywords with information without the specific keywords.

[0015] FIG. 2 is a schematic diagram for explaining an overview of medical information retrieval in the information processing system according to this embodiment.

[0016] Conventional information processing systems that handle electronic medical records accept input of queries (requests) in a database language such as SQL (Structured Query Language) from users such as doctors, extract electronic medical record information from an electronic medical record DB 8 in response to the user's query, and transmit the extracted information to a terminal device 3 as a response to the query. Upon receiving this, the terminal device 3 displays the electronic medical record information on a display unit, thereby providing medical information in response to the user's request. These are widely performed processes for searching for information from a database, but can be difficult for users who are not familiar with computers or databases.

[0017] Therefore, in the information processing system according to this embodiment, when a user searches for information from the electronic medical record DB 8, the information processing device 1 is interposed between the terminal device 3 and the electronic medical record management device 4, thereby supporting the user in searching for information from the electronic medical record DB 4. In the information processing system according to this embodiment, a question sentence in a natural language such as Japanese or English, rather than a dedicated language such as SQL, can be input to the terminal device 3 as a condition for information search.

[0018] The information processing device 1 acquires a question sentence from a user via the terminal device 3, generates a query for acquiring information from an electronic medical record DB 8 based on the question sentence using a language model 7, and requests information by sending the generated query to the electronic medical record management device 4. The electronic medical record management device 4 extracts electronic medical record information from the electronic medical record DB 8 in response to the query provided by the information processing device 1, and sends the extracted electronic medical record information to the information processing device 1.

[0019] The information processing device 1 can also acquire one or more electronic medical record information related to the question sentence from the electronic medical record DB8 based on the similarity between the feature vector of the question sentence acquired from the user and the feature vector of the information stored in the electronic medical record DB8.

[0020] The information processing device 1 inputs the electronic medical record information acquired from the electronic medical record management device 4 into the language model 7, and instructs the language model 7 to generate an answer sentence to the question from the user. The language model 7 generates the answer sentence based on the input electronic medical record information, and the information processing device 1 transmits the answer information generated by the language model 7 to the terminal device 3. The terminal device 3 displays the answer information received from the information processing device 1 on a display unit, thereby providing an answer to the question input by the user based on information stored in the electronic medical record DB 8.

[0021] Fig. 3 is a schematic diagram showing an example of the configuration of an information processing system according to this embodiment. The information processing system shown in Fig. 3 is an example of the configuration when the processing performed by the information processing systems shown in Fig. 1 and Fig. 2 is carried out in an actual medical institution where high security requirements are placed on information.

[0022] In the information processing system illustrated in Fig. 3, a terminal device 3 used by a user such as a doctor is provided inside a medical institution such as a hospital (shown by a dashed line in Fig. 3), and the information processing device 1 is provided outside the medical institution. The information processing device 1 and the terminal device 3 communicate via a network, but in the information processing system of this example, a security device (anonymization device) 6 intervenes in the communication between the information processing device 1 and the terminal device 3.

[0023] The security device 6 is a device that performs processing to prevent information handled within the medical institution from leaking to the outside. The terminal device 3 is connected to the security device 6 via, for example, a communication cable, and can communicate with devices outside the medical institution via the security device 6, but cannot communicate directly with external devices. The security device 6 encrypts and anonymizes data to be sent from devices inside the medical institution to external devices before transmitting the data. For the encryption processing by the security device 6, conventional encryption methods such as symmetric key encryption or public key encryption can be appropriately adopted.

[0024] The anonymization process by the security device 6 is performed by replacing personal information such as the patient's name, date of birth, and address with other information when the data to be transmitted contains such information, and transmitting the information to an external device. The security device 6 may convert the personal information into other information according to a predetermined conversion rule, for example, or may replace the personal information with random information, for example. In this embodiment, the personal information that the security device 6 anonymizes is the personal information of the patient. However, the security device 6 may also be configured to anonymize the personal information of, for example, a doctor or medical professional.

[0025] Furthermore, if the data received from an external device such as the information processing device 1 is encrypted, the security device 6 decrypts the data and transmits it to the terminal device 3. Furthermore, if the data received from an external device such as the information processing device 1 is anonymized, the security device 6 restores the data to the original data (non-anonymized data) and transmits it to the terminal device 3.

[0026] In addition, in the information processing system of this example, the information processing device 1 is provided with a DWH (data warehouse) 9 that is a copy of part of the information in an electronic medical record DB 8 provided in a medical institution.

[0027] The terminal device 3 and the electronic medical record management device 4 communicate via a closed network within the medical institution (a network to which devices outside the medical institution are not connected). Electronic medical record information entered by a user such as a doctor using the terminal device 3 is transmitted from the terminal device 3 to the electronic medical record management device 4 via the network within the medical institution and stored in the electronic medical record DB8.

[0028] An information processing device 1 outside the medical institution communicates with a terminal device 3 and an electronic medical record management device 4 via a security device 6 within the medical institution. The information processing device 1 communicates with the electronic medical record management device 4 via the security device 6 at a predetermined frequency, such as once per hour, once per day, or once per week, to acquire information stored in the electronic medical record DB 8 of the electronic medical record management device 4 (which may be only a portion of the information necessary for its own processing) and store it in the DWH 9. This allows the information processing device 1 to maintain a DWH 9 that is a copy of the electronic medical record DB 8 within the medical institution. However, because the above-mentioned security device 6 is involved in the communication between the information processing device 1 and the electronic medical record management device 5, the electronic medical record information stored in the DWH 9 is information in which the patient's personal information is anonymized. In the information processing system according to this embodiment, the information processing device 1 generates discharge summaries, searches for electronic medical records, and other processes are performed using information from the DWH 9.

[0029] The configuration of the information processing system shown in FIG. 3 is an example and is not limited to this. For example, the information processing system may be configured so as not to include an electronic medical record DB 8 within the medical institution. In this case, the information processing system may not include a security device 6, and the terminal device 3 may communicate directly with an electronic medical record DB 8 located outside the medical institution. Also, for example, the information processing system may be configured so as not to include a DWH 9 located outside the medical institution. In this case, the information processing system may not include a security device 6, and the information processing device 1 may communicate directly with an electronic medical record management device 4 within the medical institution. Also, for example, in the information processing system, the information processing device 1 may be located within the medical institution, and the terminal device 3 may be located outside the medical institution.

[0030] <Device configuration> 4 is a block diagram showing an example of the configuration of an information processing device 1 according to this embodiment. The information processing device 1 according to this embodiment can be realized by installing a predetermined application program or the like in a general-purpose information processing device such as a personal computer or a server computer. The information processing device 1 according to this embodiment is configured to include a processing unit 11, a storage unit 12, a communication unit 13, and the like. Note that in this embodiment, the processing will be described as being performed by one information processing device 1, but the processing of the information processing device 1 may be distributed and performed by multiple devices.

[0031] The processing unit 11 is configured using an arithmetic processing device such as a CPU (Central Processing Unit), an MPU (Micro-Processing Unit), a GPU (Graphics Processing Unit), a TPU (Tensor Processing Unit), an NPU (Neural Processing Unit) or a quantum processor, a ROM (Read Only Memory), a RAM (Random Access Memory), etc. The processing unit 11 reads and executes a program 12a stored in the storage unit 12, thereby performing various processes such as generating a discharge summary based on information stored in the electronic medical record DB9 and searching the electronic medical record DB9 using natural language.

[0032] The storage unit 12 is configured using a large-capacity storage device such as a hard disk or an SSD (Solid State Drive). The storage unit 12 stores various programs executed by the processing unit 11 and various data required for the processing of the processing unit 11. In this embodiment, the storage unit 12 stores a program 12a executed by the processing unit 11. The storage unit 12 also includes a model information storage unit 12b that stores information about learning models such as the language model 7 used in the discharge summary generation process and natural language-based search process, a discharge summary storage unit 12c that stores information about the discharge summary generated by the information processing device 1, and the above-mentioned DWH 9.

[0033] In this embodiment, the program (computer program, program product) 12a is provided in a form recorded on a recording medium 99 such as a memory card or an optical disc, and the information processing device 1 reads the program 12a from the recording medium 99 and stores it in the storage unit 12. However, the program 12a may also be written to the storage unit 12, for example, during the manufacturing stage of the information processing device 1. Furthermore, for example, the program 12a may be distributed by a remote server device or the like and acquired by the information processing device 1 via communication. For example, the program 12a may be recorded on the recording medium 99 and read by a writing device and written to the storage unit 12 of the information processing device 1. The program 12a may be provided in a form distributed via a network, or may be provided in a form recorded on the recording medium 99.

[0034] The model information storage unit 12b stores information about a learning model, such as a language model 7 that has been subjected to machine learning in advance. The information about the learning model may include, for example, information indicating the configuration of the learning model and information such as values ​​of internal parameters determined by machine learning. In this embodiment, the language model 7 stored in the model information storage unit 12b is a so-called large-scale language model (LLM), such as a Transformer equipped with an attention mechanism in a large-scale neural network, BERT (Bidirectional Encoder Representations from Transformers), or GPT (Generative Pre-trained Transformer). The language model 7 used by the information processing device 1 may be a widely available general-purpose large-scale language model, or may be one that has been trained with information related to medical care or the like by fine-tuning, re-learning, additional learning, or the like.

[0035] The information processing device 1 may store information about various learning models other than the language model 7 in the model information storage unit 12b, and may perform processing using the various stored learning models. In this embodiment, the information processing device 1 stores information about learning models such as the language model 7, and performs processing using the learning models, but this is not limited to this. Information about the learning models may be stored in a device different from the information processing device 1, and this device may perform processing using the learning models, and the information processing device 1 may obtain the processing results from this device. Furthermore, the machine learning processing of the learning models may be performed by the information processing device 1, or may be performed by a device different from the information processing device 1.

[0036] The discharge summary storage unit 12c stores information about the discharge summary generated by the language model 7 in association with the patient's identification information. The discharge summary storage unit 12c may also store various information, such as generation conditions input by the user, electronic medical record information acquired from the electronic medical record management device 5, and / or generation instructions (prompt information) given to the language model 7, in association with the patient's identification information and the discharge summary. By storing information about the discharge summary in the information processing device 1, past discharge summaries can be easily confirmed or corrected.

[0037] The DWH9 is a database that extracts and replicates some of the information necessary for generating discharge summaries and performing natural language search processing from the electronic medical record information stored in the electronic medical record DB8 installed in the medical institution. In this embodiment, the electronic medical record information replicated and stored in the DWH9 has had personal information such as the patient's name and date of birth anonymized by the security device 6.

[0038] The communication unit 13 exchanges data with the security device 6 via a network N, such as the Internet or a LAN. In this embodiment, the communication unit 13 communicates with a terminal device 3 in a medical institution via the security device 6, thereby acquiring information entered by a user from the terminal device 3 and transmitting information on the processing result to the terminal device 3 for display on the display unit. The communication unit 13 also communicates with the electronic medical record management device 4 via the security device 6, thereby requesting transmission of information stored in the electronic medical record DB 8 and acquiring electronic medical record information extracted by the electronic medical record management device 4 from the electronic medical record DB 8 in response to the request. The communication unit 13 provides information received from the terminal device 3 or the electronic medical record management device 4 via the security device 6 to the processing unit 11, and transmits information provided from the processing unit 11 to the terminal device 3 or the electronic medical record management device 4 via the security device 6.

[0039] The storage unit 12 may be an external storage device connected to the information processing device 1. The information processing device 1 may be a multi-computer including multiple computers, or may be a virtual machine virtually constructed by software. The information processing device 1 is not limited to the above configuration, and may include, for example, a reading unit that reads information stored in a portable storage medium, an input unit that accepts operation input, or a display unit that displays images.

[0040] In the information processing device 1 according to this embodiment, the processing unit 11 reads and executes the program 12a stored in the storage unit 12, thereby realizing a generation condition acquisition unit 11a, a medical information acquisition unit 11b, a medical document generation unit 11c, a search condition acquisition unit 11d, a search processing unit 11e, and the like as software functional units in the processing unit 11. Note that in the figure, functional units related to medical document creation processing and medical information search processing, etc. are shown as functional units of the processing unit 11, and functional units related to other processing are not shown.

[0041] The generation condition acquisition unit 11a performs a process of acquiring information on conditions specified by the user regarding the generation of a discharge summary by communicating with the terminal device 3 via the security device 6 using the communication unit 13. In this embodiment, the generation conditions for a discharge summary acquired by the generation condition acquisition unit 11a include at least the identification information of the target patient. Furthermore, the generation conditions for a discharge summary may include various conditions, such as the name of the target patient's illness or the period of electronic medical records that should be included in the discharge summary. Furthermore, the generation conditions for a discharge summary may include conditions such as electronic medical record information that should not be included in the discharge summary. The generation conditions for a discharge summary may also include sentences describing various conditions in natural language.

[0042] The medical information acquisition unit 11b performs a process of acquiring electronic medical record information required to generate a discharge summary for the target patient from the electronic medical record management device 5 by communicating with the electronic medical record management device 4 via the security device 6 using the communication unit 13. The medical information acquisition unit 11b repeatedly communicates with the electronic medical record management device 4 at a predetermined interval, acquires a portion of the information stored in the electronic medical record DB 8, and stores the acquired information in the DWH 9. The medical information acquisition unit 11b also generates query information for acquiring necessary information from the DWH 9, which is a copy of the electronic medical record DB 8, based on the generation conditions acquired by the generation condition acquisition unit 11a, and acquires the necessary information from the DWH 9 based on the generated query information.

[0043] The medical document generation unit 11c performs processing to generate a discharge summary using the language model 7 based on the generation conditions acquired by the generation condition acquisition unit 11a and the electronic medical record information acquired by the medical information acquisition unit 11b from the DWH 9. The medical document generation unit 11c generates prompt information to be input to the language model 7 based on the generation conditions acquired by the generation condition acquisition unit 11a. In this embodiment, the medical document generation unit 11c has, for example, multiple prompt information templates in advance, selects one of the templates according to the generation conditions set by the user, and generates prompt information by setting necessary conditions for the selected template. The medical document generation unit 11c inputs the generated prompt information together with the electronic medical record information acquired from the DWH 9 into the language model 7 and acquires the information output by the language model 7 to generate a discharge summary. The medical document generation unit 11c transmits the generated discharge summary information to the terminal device 3 via the security device 6, thereby displaying the discharge summary information on the display unit of the terminal device 3 and providing the discharge summary information to the user.

[0044] The search condition acquisition unit 11d performs a process of acquiring information on search conditions specified by the user regarding the electronic medical record information stored in the electronic medical record DB 8 by communicating with the terminal device 3 via the security device 6 using the communication unit 13. In the information processing system according to this embodiment, the user can input search conditions in the form of question sentences in natural language, and can also input search conditions by selecting one of candidate sentences for search conditions prepared in advance. The search condition acquisition unit 11d acquires sentence information for the search conditions input or selected by the user.

[0045] The search processing unit 11e performs a process of acquiring information corresponding to the search conditions acquired by the search condition acquisition unit 11d from the DWH 9. The search processing unit 11e generates query information for acquiring necessary information from the DWH 9 based on, for example, the search conditions acquired by the search condition acquisition unit 11d, and acquires information from the DWH 9 based on the generated query information. At this time, the search processing unit 11e inputs prompt information including an instruction to generate query information based on the search conditions entered in a sentence in natural language to the language model 7 together with the search conditions acquired by the search condition acquisition unit 11d, and acquires the query information output by the language model 7, thereby generating the query information. The search processing unit 11e can also acquire information corresponding to the search conditions from the DWH 9 based on the similarity between the feature vector of the sentence information of the search conditions and the feature vector of the information stored in the DWH 9.

[0046] The search processing unit 11e generates a natural language answer sentence for the search conditions entered by the user in question format, based on the information of the electronic medical record acquired from the DWH 9, using the language model 7. The search processing unit 11e transmits information on the answer sentence, which is the search result, to the terminal device 3 via the security device 6, thereby displaying the information on the search result on the display unit of the terminal device 3 and providing the information on the search result to the user.

[0047] 5 is a block diagram showing an example of the configuration of a terminal device 3 according to this embodiment. The terminal device 3 according to this embodiment is configured to include a processing unit 31, a storage unit 32, a communication unit 33, a display unit 34, and an operation unit 35. The terminal device 3 is a device used by a user such as a doctor or a nurse. The processing unit 31 is configured using an arithmetic processing unit such as a CPU or an MPU, a ROM, and the like. The processing unit 31 reads and executes a program 32a stored in the storage unit 32 to perform various processes such as input / output processing of information related to electronic medical records, processing related to the generation of discharge summaries, and processing related to searching electronic medical records.

[0048] The storage unit 32 is configured using, for example, a non-volatile memory element such as a flash memory or a storage device such as a hard disk. The storage unit 32 stores various programs executed by the processing unit 31 and various data required for processing by the processing unit 31. In this embodiment, the storage unit 32 stores the program 32a executed by the processing unit 31. In this embodiment, the program 32a is distributed by a remote server device or the like, and the terminal device 3 acquires it via communication and stores it in the storage unit 32. However, the program 32a may also be written to the storage unit 32, for example, during the manufacturing stage of the terminal device 3. For example, the program 32a may be recorded on a recording medium 98 such as a memory card or an optical disk, and the terminal device 3 reads the program 32a and stores it in the storage unit 32. For example, the program 32a may be recorded on the recording medium 98 and read by a writing device and written to the storage unit 32 of the terminal device 3. The program 32a may be provided in the form of distribution via a network or in the form of being recorded on the recording medium 98.

[0049] The communication unit 33 communicates with various devices, for example, via a network N within a medical institution. In this embodiment, the communication unit 33 communicates with the electronic medical record management device 4 and the security device 6 via the network N. The communication unit 33 transmits data provided by the processing unit 31 to other devices, and provides data received from other devices to the processing unit 31.

[0050] The display unit 34 is configured using a liquid crystal display or the like, and displays various images, characters, etc. based on processing by the processing unit 31. The operation unit 35 accepts user operations and notifies the processing unit 31 of the accepted operations. For example, the operation unit 35 accepts user operations using an input device such as a mechanical button or a touch panel provided on the surface of the display unit 34. Furthermore, for example, the operation unit 35 may be an input device such as a mouse and a keyboard, and these input devices may be configured to be detachable from the terminal device 3.

[0051] In addition, in the terminal device 3 according to this embodiment, the processing unit 31 reads and executes the program 32a stored in the storage unit 32, whereby the electronic medical record processing unit 31a, the discharge summary processing unit 31b, the search processing unit 31c, etc. are realized as software functional units in the processing unit 31. Note that the program 32a may be a program dedicated to the information processing system according to this embodiment, or may be a general-purpose program such as an internet browser or a web browser.

[0052] The electronic medical record processing unit 31a performs processing related to the electronic medical record, such as accepting information input to the electronic medical record by users such as doctors, and displaying the electronic medical record information stored in the electronic medical record DB 9. For example, the electronic medical record processing unit 31a displays a template of the electronic medical record on the display unit 34, and accepts input of information regarding multiple items included in the electronic medical record based on the user's operation of the operation unit 35. The electronic medical record processing unit 31a stores the electronic medical record information entered by the user in the electronic medical record DB 8 by transmitting the accepted information to the electronic medical record management device 4 via the communication unit 33.

[0053] The electronic medical record processing unit 31a also accepts input of patient identification information from the user and requests the electronic medical record management device 4 to transmit the electronic medical record information of the accepted identification information. In response to this request, the electronic medical record management device 4 reads out the electronic medical record information associated with the identification information from the electronic medical record DB 8 and transmits it to the terminal device 3. The electronic medical record processing unit 31a receives this information via the communication unit 33 and displays the received electronic medical record information on the display unit 34. The electronic medical record processing unit 31a may accept operations from the user, such as adding, modifying, or deleting information to the displayed electronic medical record.

[0054] The discharge summary processing unit 31b processes the input and output of information related to the generation of a patient's discharge summary. The discharge summary processing unit 31b displays an appropriate information input screen on the display unit 34 and accepts input of generation conditions, including identification information of the patient for whom the discharge summary is to be generated, from the user. The discharge summary processing unit 31b transmits the accepted generation conditions to the information processing device 1 via the security device 6 to request the generation of a discharge summary. The discharge summary processing unit 31b acquires information on the discharge summary generated by the information processing device 1 in response to this request by receiving it via the security device 6 at the communication unit 33. The discharge summary processing unit 31b displays the acquired information on the discharge summary on the display unit 34.

[0055] The search processing unit 31c performs processing related to a search using natural language for electronic medical record information stored in the electronic medical record DB8. The search processing unit 31c displays an appropriate information input screen on the display unit 34 and accepts input of a natural language question that serves as a search condition for information. In this embodiment, the search processing unit 31c may also accept a search condition question by displaying multiple candidate question sentences prepared in advance on the information input screen and accepting a selection from the displayed candidate sentences. The search processing unit 31c transmits the natural language question received from the user as a search condition to the information processing device 1 and requests a search for information in the electronic medical record DB8. In response to this request, the information processing device 1 transmits information on the answer sentence that is the search result to the terminal device 3 via the security device 6. However, the information processing device 1 performs the search on the DWH9, which is a copy of the electronic medical record DB8. Upon receiving the information on the answer sentence, the search processing unit 31c displays the received information on the display unit 34.

[0056] 6 is a block diagram showing an example of the configuration of a security device 6 according to this embodiment. The security device 6 according to this embodiment may be, for example, a communication device such as a router or modem that relays communications, or an information processing device such as a personal computer or server computer, or a small-scale device such as an IoT (Internet of Things) device, or may be any other device with a variety of other configurations. The security device 6 is configured to include a control unit 60, a first communication unit 61, and a second communication unit 62.

[0057] The security device 6 according to this embodiment is configured to include a control unit 60, a first communication unit 61, and a second communication unit 62. The first communication unit 61 is connected to a network outside the medical institution, such as the Internet or a VPN, and communicates with the information processing device 1, etc. The second communication unit 62 is connected to a network within the medical institution, such as a LAN (Local Area Network), and communicates with the terminal device 3 and the electronic medical record management device 4, etc.

[0058] The control unit 60 controls the relay of data between the first communication unit 61 and the second communication unit 62. The control unit 60 can be configured using, for example, a CPU or an ASIC (Application Specific Integrated Circuit). The control unit 60 transmits data received by the first communication unit 61 from the second communication unit 62, and also transmits data received by the second communication unit 62 from the first communication unit 61. This allows the security device 6 to relay data sent and received between the information processing device 1 and electronic medical record management device 5 and the terminal device 3 and electronic medical record management device 4.

[0059] In this embodiment, the control unit 60 of the security device 6 encrypts and anonymizes the data to be relayed. The control unit 60 encrypts data received from a device within the medical institution using the second communication unit 62, and transmits the encrypted data to a device outside the medical institution using the first communication unit 61. The control unit 60 also receives data encrypted by a device outside the medical institution using the first communication unit 61, decrypts the received data, and transmits it from the second communication unit 62 to the device within the medical institution.

[0060] Furthermore, when transmitting electronic medical record information handled by a device within a medical institution to a device outside the medical institution, the control unit 60 performs a process to anonymize personal information contained in the electronic medical record, such as the patient's name, date of birth, and address. The control unit 60 pre-stores rules for converting character information into other character information, and performs anonymization by converting the characters of the personal information contained in the electronic medical record according to these conversion rules. The conversion rules used by the control unit 60 may be any, such as a hash function, a substitution with random characters, or a uniform substitution with spaces. Furthermore, when transmitting anonymized information from a device outside the usage period to a device within the medical institution, the control unit 60 performs a process to restore the anonymized information to its original information (de-anonymization process). For this purpose, the security device 6 stores, for example, the correspondence between the original information and the anonymized information when anonymizing the information.

[0061] The electronic medical record management device 4 included in the information processing system according to this embodiment is installed inside a medical institution and acquires electronic medical record information entered by a user, such as a doctor, on a terminal device 3, for example, and stores it in the electronic medical record DB 8. The electronic medical record management device 4 also receives query information based on a database language, such as SQL, from the terminal device 3, acquires electronic medical record information from the electronic medical record DB 8 in accordance with the received query information, and transmits the electronic medical record information to the terminal device 3 that sent the query information. The electronic medical record management device 4 also accepts additions or corrections to information from users, such as doctors, to the transmitted electronic medical record information, and stores the added or revised information in the electronic medical record DB 8. Because the electronic medical record management device 4 is an existing device, a block diagram of the configuration and detailed description thereof will be omitted.

[0062] Furthermore, the information processing device 1 according to this embodiment is installed outside the medical institution and copies the electronic medical record information stored in the electronic medical record DB8 of the electronic medical record management device 4 installed inside the medical institution to create the DWH 9. The information processing device 1 communicates with the electronic medical record management device 4 via the security device 6 at a predetermined frequency, for example, once an hour, once a day, or once a week, to acquire the information stored in the electronic medical record DB8 and store it in the DWH 9. At this time, the information processing device 1 may acquire from the electronic medical record DB8 only information that has been added or modified since the previous information acquisition, or may acquire all of the information in the electronic medical record DB8.

[0063] Furthermore, the electronic medical record DB8 is a database that stores various information, such as medical conditions or treatment details entered by users such as doctors, linked to, for example, identification information uniquely assigned to each patient. The DWH9 is a database that stores some information extracted from the electronic medical record DB8 and is a copy of the electronic medical record DB8. The electronic medical record DB8 and the DWH9 may store, for example, the following data in association with the patient's identification information. Note that each of the following data may be stored as table data in which, for example, multiple items of information listed in parentheses are associated. However, the following data stored in the electronic medical record DB8 and the DWH9 are merely examples and are not limited to these. Furthermore, although the DWH9 is a copy of the electronic medical record DB8, the patient's personal information contained in the electronic medical record stored in the electronic medical record DB8 is anonymized by the security device 6.

[0064] Prescription data (prescription date or drug name, etc.) Injection data (date of administration, drug name, etc.) Test result data (test items or test results, etc.) Progress record data (record date or content, etc.)

[0065] When the electronic medical record management device 4 is given query information that specifies the identification information of the target patient and requests information on drugs ordered by Doctor A between January and June 2023, for example, it can extract information on the corresponding ordering doctor and period from the prescription data of the target patient and send it to the device that made the request.

[0066] Furthermore, in the information processing system according to this embodiment, a user such as a doctor can add a specific flag (keyword) when inputting the above-described electronic medical record information into the terminal device 3. The specific flag is stored in the electronic medical record DB 8 and the DWH 9 together with the input information. When the electronic medical record information stored in the DWH 9 includes information with a specific flag, the information processing device 1 generates a discharge summary by using the information with this specific flag as a priority. This allows a user such as a doctor to add a specific flag to information that they deem important when inputting electronic medical record information, thereby causing the information processing device 1 to generate a discharge summary that includes this information.

[0067] For example, a specific flag may be "!!!" (three consecutive exclamation points or exclamation marks). For example, when a user such as a doctor inputs information such as "Drug A prescribed" into an electronic medical record, the user can add a specific flag to the information in the electronic medical record by adding "!!!" at the end of the sentence, such as "Drug A prescribed!!!". By adopting a configuration in which text information such as "!!!" is added as a specific flag when text information is input into the electronic medical record, the electronic medical record DB8 and DWH9 can simply store the information with the specific flag added as a single block of text information, thereby realizing the addition of a specific flag without changing the system configuration of the existing electronic medical record DB8. Note that "!!!" is merely an example of a specific flag, and is not limited to this; any specific flag may be used. Furthermore, the specific flag may be added to the beginning of a sentence rather than the end, or may be added to both the beginning and the end of a sentence.

[0068] <Discharge summary generation process> In the information processing system according to this embodiment, a user, such as a doctor who has examined or treated a patient hospitalized in a hospital, uses a terminal device 3 to enter the patient's condition, treatment details, etc. into an electronic medical record. The terminal device 3 transmits the electronic medical record information entered by the user to an electronic medical record management device 4, which then receives the electronic medical record information transmitted from the terminal device 3 and stores it in an electronic medical record database 8. When the patient is subsequently discharged from the hospital, the user, such as a doctor, creates a discharge summary. The discharge summary summarizes information such as the patient's medical history, findings at the time of admission, and medical treatment during hospitalization, and is used by another doctor, etc., to understand the patient's past medical history when examining the patient after discharge. In the information processing system according to this embodiment, the information processing device 1 can automatically generate a discharge summary using a language model 7 based on the electronic medical record information stored in a database 9, which is a copy of the electronic medical record database 8.

[0069] In the information processing system according to this embodiment, the discharge summary generation process by the information processing device 1 is started when a user such as a doctor selects an item for generating a discharge summary from a menu screen or the like displayed on the display unit 34 of the terminal device 3. First, the information processing device 1 receives, from a user such as a doctor via the terminal device 3, identification information of a target patient for whom a discharge summary is to be generated.

[0070] FIG. 7 is a schematic diagram showing an example of a patient ID reception screen. The information processing device 1 according to this embodiment displays the patient ID reception screen shown in this figure on the terminal device 3 and receives information input by the user using the operation unit 35 of the terminal device 3, thereby receiving input of a patient ID (patient identification information). The terminal device 3 displays the patient ID reception screen on the display unit 34 in response to an instruction from the information processing device 1. The patient ID reception screen displays, for example, a title string "Generate Discharge Summary" at the top, and below that a message string "Please enter patient ID" and a text box for entering the patient ID. The user operates the operation unit 35 of the terminal device 3 to input a patient ID such as "A1234" into the text box. The terminal device 3 acquires the patient ID entered in the text box and transmits it to the information processing device 1.

[0071] The information processing device 1 acquires a patient ID from the terminal device 3 and acquires attribute information, such as the patient name, date of birth, age, and gender, of the patient corresponding to the acquired patient ID from the DWH 9. The information processing device 1 transmits the acquired patient attribute information to the terminal device 3, and upon receiving this information, the terminal device 3 displays the received information on a patient ID reception screen. In the example shown in FIG. 7 , the terminal device 3 displays the attribute information of the patient corresponding to the input patient ID in a table format below the text box for inputting the patient ID. Note that in this example, information for one patient corresponding to the patient ID is displayed. However, if, for example, a patient B with "A12345" exists for the input patient ID "A1234," information for two patients, Patient A and Patient B, may be displayed. The user can proceed to inputting conditions for generating a discharge summary by selecting the patient name, etc., of one patient for whom a discharge summary is to be generated from the information of one or more patients displayed on the terminal device 3.

[0072] FIG. 8 is a schematic diagram illustrating an example of a discharge summary generation condition input screen. After a target patient is selected, the information processing device 1 displays the generation condition input screen shown in this figure on the terminal device 3 and accepts input of discharge summary generation conditions from the user via the terminal device 3. The terminal device 3 displays the discharge summary generation condition input screen on the display unit 34 in response to an instruction from the information processing device 1. The generation condition input screen displays, for example, a message string "Please enter the discharge summary generation conditions" at the top, and configurable generation condition items are displayed in order below that, with a button labeled "Next" at the bottom. In this example, the user can set the generation conditions for six items: "Main Illness," "Generation Template," "Outcome," "Admission Date," "Discharge Date," and "Hospitalization Progress Reference Information." Of these six items, "Main Illness" and "Generation Template" are required input items. Although "Outcome," "Admission Date," and "Discharge Date" are required input items, information acquired from the DWH 9 based on, for example, the patient ID is displayed as default values, and the user can change the information as needed. If multiple pieces of information on "outcome," "admission date," and "discharge date" are stored for a patient ID, the information processing device 1 displays, for example, the most recent information as a default value. Also, "hospitalization progress reference information" is an optional input item.

[0073] In this example, the generation conditions "Main Illness," "Generation Template," and "Outcome" are items that the user can set by selecting one of multiple options from a pull-down menu. In the generation condition input screen shown in FIG. 8, "myocardial infarction" is selected as the "Main Illness," "General" is selected as the "Generation Template," and "Improvement" is selected as the "Outcome." The "Admission Date" and "Discharge Date" are items that the user can set by operating a similar pull-down menu to display a calendar and selecting a date from the calendar. In the generation condition input screen shown in FIG. 8, "2023 / 9 / 25" is selected as the "Admission Date" and "2023 / 11 / 7" is selected as the "Discharge Date." Note that default values ​​are displayed for the "Outcome," "Admission Date," and "Discharge Date," so the user can change the values ​​of these items as needed.

[0074] The "hospitalization progress reference information" generation condition is an item that accepts the selection of electronic medical record information to be included as progress records in the discharge summary. On the generation condition input screen, the terminal device 3 displays, under the item name "hospitalization progress reference information," a description such as "Please select any progress records that should be used. If an important record in the electronic medical record has "!!!" written in it, it will be automatically selected." along with a button labeled "Add." When the terminal device 3 receives a click or touch operation on the "Add" button, it displays a progress record selection screen on the display unit 34. At this time, the terminal device 3, which has received the operation on the "Add" button, requests the information processing device 1 to send a list of progress records for the hospitalization period. In response to the request from the terminal device 3, the information processing device 1 obtains information recorded in the electronic medical record DB 9 for the target patient from the electronic medical record management device 5 and transmits the obtained list of information to the terminal device 3.

[0075] FIG. 9 is a schematic diagram showing an example of a progress record selection screen. The terminal device 3 receives the list information transmitted from the information processing device 1 and displays the received list information on the progress record selection screen. On the illustrated progress record selection screen, the title string "Progress Record" is displayed at the top, and below this, a list of information recorded in the DWH 9 for the target patient is displayed in table format, with a button labeled "Close" displayed at the bottom. In this example, this list displays information such as "Title," "Description Date," "Author," and "Content" in association with each other. In addition, this list has check boxes, for example, at the left end of the columns. The user can select progress record information to be used in the discharge summary by checking these check boxes. When the "Close" button is operated, the terminal device 3 accepts the information checked in the check box as the selection of information to be used in generating the discharge summary.

[0076] The terminal device 3, which has accepted the selection of information on the progress record selection screen, displays the selected information in a list in tabular form below the item "Reference information for hospitalization progress" on the generation condition input screen shown in Fig. 8 (not shown). Note that in this example, the selection of information to be used in generating the discharge summary is accepted from the user, but this is not limited to this, and instead of or together with the selection of information to be used in generating the discharge summary, it is also possible to accept, for example, a selection of information not to be used in generating the discharge summary.

[0077] The user sets the generation conditions by inputting appropriate information into each field on the generation condition input screen, and then operates the "Next" button at the bottom of the generation condition input screen. When the terminal device 3 receives the operation of the "Next" button, it accepts the information input into each field on the generation condition input screen as the generation conditions, and transmits the accepted generation conditions to the information processing device 1 to request the generation of a discharge summary.

[0078] 10 and 11 are schematic diagrams showing other examples of the generation condition input screen for a discharge summary. The information processing system may display the generation condition input screen shown in FIGS. 10 and 11 instead of the generation condition input screen shown in FIG. 8. The generation conditions that can be set by the user on the generation condition input screen shown in FIGS. 10 and 11 are, for example, 10 items: "Purpose of Admission," "Generation Template," "Outcome," "Applicable Diagnosis," "Source of Progress Record," "Chief Complaint," "History of Present Illness," "Past Medical History," "Hospitalization Progress," and "Post-Discharge Policy." Of these, the conditions for the four items "Purpose of Admission" to "Applicable Diagnosis" can be set by operating a pull-down menu. "Source of Progress Record" is the same as "Reference Information for Hospitalization Progress" shown in FIG. 8.

[0079] 10 and 11, the five items "Chief Complaint," "History of Present Illness," "Past Medical History," "Hospitalization Progress," and "Post-Discharge Policy" are each provided with a text box that accepts natural language input by the user. In each text box, the user can input information such as sentences to be actually included in the discharge summary, and can also input information such as instructions written in natural language that include requests or restrictions on the content to be included in the discharge summary.

[0080] The generation condition input screens shown in Figures 8, 10, and 11 are merely examples and are not limited to these, and any items may be provided on the generation condition input screen displayed by the terminal device 3.

[0081] The information processing device 1 receives a discharge summary generation request from the terminal device 3 along with the generation conditions, and acquires information necessary for generating the discharge summary from the DWH 9. The information necessary for generating the discharge summary includes information from the electronic medical record of the target patient recorded in the DWH 9 that the user selects as "hospitalization progress reference information" on the generation condition input screen, as well as predetermined required information, such as the target patient's attribute information. In addition to the information selected by the user as "hospitalization progress reference information," the information processing device 1 may also acquire highly relevant information from the DWH 9 based on other items entered by the user. For example, the information necessary for generating the discharge summary may include information that meets the conditions specified for the items "chief illness," "generation template," "outcome," "admission date," or "discharge date" on the generation condition input screen shown in FIG. 8. The information necessary for generating the discharge summary may also include information necessary for satisfying the conditions entered in natural language for the items "chief complaint," "current illness history," "previous medical history," "hospitalization progress," or "post-discharge policy" on the generation condition input screen shown in FIGS. 10 and 11. In this embodiment, the information processing device 1 acquires the electronic medical record information with the above-mentioned specific flags attached as information necessary for generation from the DWH 9. Note that in this embodiment, the information processing device 1 acquires the necessary information from the DWH 9, but this is not limiting. For example, the information processing device 1 may acquire all information related to the target patient from the DWH 9, provide all the acquired information to the language model 7, and have the language model 7 decide whether to accept or reject the information.

[0082] The information processing device 1 acquires the necessary information from the DWH 9 and inputs prompt information containing instructions for generating a discharge summary based on the electronic medical record information into the language model 7 along with the acquired electronic medical record information. The language model 7 generates and outputs discharge summary information from the electronic medical record information in accordance with the prompt information. The information processing device 1 acquires the discharge summary information output by the language model 7 and generates a final discharge summary by performing appropriate processing, editing, etc. on the acquired information as needed. The information processing device 1 transmits the generated discharge summary information to the terminal device 3 and displays the discharge summary on the display unit 34 of the terminal device 3.

[0083] 12 is a schematic diagram showing a display example of a discharge summary. In this embodiment, the discharge summary generated by the information processing device 1 includes information such as "Patient ID," "Patient Name," "Age," "Gender," "Date of Admission," "Date of Discharge," "Length of Hospitalization," "Discharge Outcome," and "Main Illness." In this example, the "Patient ID" in the discharge summary is "A1234," the "Patient Name" is "Patient A," the "Age" is "70 years old," the "Gender" is "Male," the "Date of Admission" is "2023 / 9 / 11," the "Date of Discharge" is "2023 / 10 / 19," the "Length of Hospitalization" is "38," the "Discharge Outcome" is "Improved," and the "Main Illness" is "Dehydration."

[0084] Information such as "Patient ID," "Patient Name," "Age," and "Gender" in the discharge summary is information extracted from patient attribute information contained in the electronic medical record information stored in the DWH 9. However, in this embodiment, the personal information such as "Patient Name," "Age," and "Gender" stored in the DWH 9 is anonymized, and the security device 6 restores the anonymized information sent by the information processing device 1 to the original information and sends it to the terminal device 3, whereby the original information is displayed on the terminal device 3.

[0085] Furthermore, information such as "date of admission," "date of discharge," and "number of days of hospitalization" in the discharge summary is information extracted from progress information and the like included in the information of the electronic medical record stored in the DWH 9. The information processing device 1 may generate these items included in the discharge summary without using the language model 7, for example, by acquiring predetermined information and extracting the predetermined information.

[0086] The discharge summary also shows the "discharge outcome" as one of the following options: "cured," "improved," "unchanged," "worsening," "died," "completed," "continued," "discontinued," and "other." This "discharge outcome" information is included in the information of the predetermined electronic medical record of the subject patient stored in the DWH9, and the information processing device 1 obtains information corresponding to the "discharge outcome" by extracting predetermined information from the information of the predetermined electronic medical record. In this example, the "discharge outcome" in the discharge summary is "improved."

[0087] The discharge summary also includes information on the "principal disease" as information on the diagnosis of the patient. This "principal disease" information is included in the information of the predetermined electronic medical record of the patient stored in the DWH 9, and the information processing device 1 can obtain the "principal disease" information by extracting predetermined information from the information of the predetermined electronic medical record. The user can change the displayed "principal disease" as needed.

[0088] The information processing device 1 according to this embodiment generates query information using, for example, SQL and transmits it to the electronic medical record management device 5 to acquire the information contained in the discharge summary from the DWH 9. In this embodiment, the information processing device 1 pre-stores query information for acquiring the necessary information, associated with a combination of multiple conditions that can be selected, such as "principal illness" and "outcome," on the generation condition input screen shown in FIG. 8. The information processing device 1 can generate query information for acquiring the conditions necessary to generate the discharge summary by acquiring and combining one or more pieces of pre-stored query information based on the conditions acquired from the user via the terminal device 3. Note that the method for generating query information is not limited to this; for example, the information processing device 1 may input information on the conditions set by the user into the language model 7 to generate query information.

[0089] The discharge summary also includes information on "hospitalization progress information." The "hospitalization progress information" also includes five items of information: "chief complaint," "current illness history," "medical history," "hospitalization progress," and "post-discharge policy." In this embodiment, the "hospitalization progress information" in the discharge summary contains information in natural language text, and the information processing device 1 generates the five items of information to be included in this "hospitalization progress information" using a language model 7. FIG. 13 is a schematic diagram showing an example of the "hospitalization progress information" to be included in the discharge summary.

[0090] In this example, the "Chief Complaint" in the "Hospitalization Progress Information" section includes the textual information, "Pain in the left hip. Post-operative rehabilitation." The "Present Illness History" section includes the textual information, such as, "On January 1, 2023, the patient fell off his bicycle, developed pain in his right hip, and was unable to move. He was rushed to X-ray Hospital and admitted with a right femoral trochanteric fracture. On January 5, an open internal fixation (γ-nail) was performed. On January 12, he was referred to our hospital for discharge support and transferred there." The "Past Medical History" section includes the textual information, such as "Stomach cancer, high blood pressure, osteoporosis." The "Hospitalization Progress" section includes the textual information, such as, "January 12, 2023 (2 weeks after surgery) Hospitalized in the orthopedic department for rehabilitation.", "January 20, 2023 (3 weeks after surgery) X-ray showed no progression of metastasis.", and "February 20, 2023 Discharged to a senior housing facility with support services, able to move around in a wheelchair." Furthermore, the "Post-discharge policy" contains text information such as "The treatment policy after discharge for the patient is that he will be wheelchair-bound with assistance as he is not expected to regain the ability to walk. His next appointment is scheduled for March 4, 2023 at the orthopedic department." The information processing device 1 generates text information for these five items using the language model 7, and embeds the text information obtained from the language model 7 into each item of the "Hospitalization progress" to generate the discharge summary information shown in Fig. 13.

[0091] In addition to the above items, the discharge summary generated by the information processing device 1 may include various information such as "current prescription details." The information processing device 1 can generate information to be included in the discharge summary by appropriately using the language model 7 depending on the format, type, and content of the information to be included in the discharge summary.

[0092] In the display example of the discharge summary shown in FIG. 12, a message is displayed below "Hospitalization Progress Information" that reads, "(*) Once you have finalized the hospitalization progress here, please copy and paste it into your existing system." Further below this message, a button labeled "Copy Text" is provided. The discharge summary in this example is generated by the information processing device 1, acquired by the terminal device 3, and displayed on the display unit 34. A user such as a doctor can use the operation unit 35 of the terminal device 3 to perform editing operations such as correcting or adding to the five items of text included in "Hospitalization Progress Information" of the displayed discharge summary.

[0093] In this embodiment, the user's completion of the final text of the discharge summary through such editing operations is referred to as "finalization." The user can input the finalized text information of the discharge summary generated by the information processing system according to this embodiment into, for example, an existing application program for creating discharge summaries by performing a so-called copy and paste operation. The user can copy the text information by operating the "Copy Text" button, and can paste (input) the text information into another application program by performing an appropriate paste operation.

[0094] In this embodiment, the user inputs the text information of the discharge summary generated by the information processing device 1 into another application program by operations such as copy and paste to create the final discharge summary data, but this is not limited to this. The data generated by the information processing device 1 may also be stored in the storage unit 12 or the like as the final discharge summary data.

[0095] The information processing device 1 according to this embodiment generates information on "chief complaint," "history of current illness," "medical history," "hospitalization progress," and "post-discharge policy" to be included in "hospitalization progress information" of the discharge summary by using the language model 7. In this case, the information processing device 1 generates prompt information for instructing the language model 7 to generate the discharge summary, and inputs the generated prompt information and information acquired from the electronic medical record DB 9 into the language model 7, thereby causing the language model 7 to generate the discharge summary information.

[0096] The information processing device 1 according to the present embodiment stores a plurality of prompt information templates for generating a sentence for a "chief complaint," a prompt information template for generating a sentence for a "history of current illness," a prompt information template for generating a sentence for a "past medical history," a prompt information template for generating a sentence for a "hospitalization progress," and a prompt information template for generating a sentence for a "post-discharge plan." These plurality of prompt information templates are created in advance in association with combinations of a "template" and an "outcome" included in the generation conditions acquired from the user via the terminal device 3, for example, and are stored in the storage unit 12 of the information processing device 1. The information processing device 1 can generate prompt information by reading, from the storage unit 12, a prompt information template corresponding to a combination of a "template" and an "outcome" included in the generation conditions acquired from the terminal device 3 and appropriately embedding information into the template.

[0097] FIG. 14 is a schematic diagram showing an example of a prompt information template. The prompt information template in this figure is a prompt information template for generating a sentence related to the "chief complaint" when "general" is set as the "template" and "all" is set as the "outcome." Note that the prompt information template shown in the figure is an example and is not limited to this. Furthermore, prompt information templates corresponding to other combinations of conditions, as well as prompt information templates for generating sentences for "current illness history," "past medical history," "hospitalization progress," and "post-discharge policy," are not shown in the figure.

[0098] The "Chief Complaint Prompt Information Template for Template: General, Outcome: All" shown in this figure contains four items: "Context:," "Rule:," "Query:," and "Example:." "Context:" contains, for example, "[(2)+(3)+Source marked with !!!+Source output by RAG]" and instructions such as "You are an excellent medical clerk. Create a chief complaint for the discharge summary according to the following items. The patient's main illness is [(1)]." Detailed examples are omitted, but "Rule:" contains the rule for generating the chief complaint, "Query:" contains the query for generating the chief complaint, and "Example:" contains an example for generating the chief complaint.

[0099] The prompt information template includes fill-in-the-blank fields indicated by (1) to (3) in the figure in the "Context:" field. Fill-in-the-blank field (1) is a field for entering information about the patient's main illness. The information processing device 1 acquires, for example, information entered in the "Main Illness" field on the generation condition input screen of FIG. 8 or information entered in the "Applicable Diagnosis Name" field on the generation condition input screen of FIG. 10, and enters this information in fill-in-the-blank field (1). Fill-in-the-blank field (2) is a field for entering any instructions from a user such as a doctor. In the prompt information template for the chief complaint, the information processing device 1 acquires, for example, a natural language sentence entered in the "Main Complaint" text box on the generation condition input screen of FIG. 11, and enters this information in fill-in-the-blank field (2). Fill-in-the-blank field (3) is a field for entering information about the electronic medical record that the user has specified to be used in generating the discharge summary. The information processing device 1 acquires and writes information on one or more electronic medical records selected as "reference information for hospitalization progress" on the generation condition input screen of FIG. 8, or information on one or more electronic medical records selected as "progress record source" on the generation condition input screens of FIGS. 10 and 11, in the fill-in-the-blank section (3). Note that the selected electronic medical record information itself may be written in the fill-in-the-blank section (3), or link information for referencing the selected electronic medical record may be written. "Source marked with !!!" is information marked with "!!!" when a user, such as a doctor, inputs electronic medical record information. "Source output by RAG" is information extracted based on the similarity of feature vectors, and is information extracted from the DWH 9 using the so-called RAG (Retrieval-Augmented Generation) method.

[0100] The information processing device 1 generates prompt information by embedding appropriate information into a prompt information template for each of the five items: "Chief Complaint," "History of Current Illness," "Past Medical History," "Hospitalization Progress," and "Post-Discharge Policy." The information processing device 1 inputs the generated prompt information and information acquired from the electronic medical record DB 9 into the language model 7 and acquires the information output by the language model 7, thereby obtaining text information to be entered in each item of the discharge summary. The information processing device 1 enters the information acquired from the language model 7 into each item of the discharge summary to generate a final discharge summary. The information processing device 1 transmits the generated discharge summary information to the terminal device 3, and the terminal device 3 displays the discharge summary on the display unit 34 based on the received information, as shown in FIG. 12.

[0101] In this embodiment, the electronic medical record information that the information processing device 1 inputs to the language model 7 together with the prompt information includes information selected by the user as "reference information for hospitalization progress" or "source of progress record," and electronic medical record information to which a user such as a doctor has previously attached a specific flag. In addition to this information, the information processing device 1 may generate query information based on, for example, one or more conditions set by the user as generation conditions, and input information obtained from the electronic medical record DB 9 in accordance with this query information to the language model 7 together with the prompt information.

[0102] The user can perform finalization operations, i.e., edits such as adding, deleting, or correcting information, on the discharge summary displayed on the terminal device 3. The terminal device 3 accepts editing work performed by the user through operation of the operation unit 35, reflects the accepted edited content in the displayed discharge summary, and notifies the edited content to the information processing device 1. In addition, in this embodiment, when the user performs a predetermined operation on the screen displaying the discharge summary, for example, the terminal device 3 displays the information of the electronic medical record used to generate the discharge summary as "reference information."

[0103] FIG. 15 is a schematic diagram showing an example of a display of reference information. The terminal device 3 according to this embodiment uses the right-hand region of the screen displaying the discharge summary as a display region for reference information. In this display region, the terminal device 3 displays a list of electronic medical record information related to the target patient, arranged vertically in chronological order, and highlights the electronic medical record information used to generate the discharge summary within this list. In this figure, the electronic medical record information related to the target patient is represented by multiple rectangular frames, and among these, the rectangular frames used to generate the discharge summary are highlighted with bold lines. The information used to generate the discharge summary includes, for example, information acquired from the electronic medical record database 9 in response to query information based on the generation conditions, information selected by the user as "reference information for the hospitalization progress" or "source of the progress record," information previously flagged by the user, and information determined by the language model 7 to be highly relevant. The terminal device 3 acquires this information from the information processing device 1 and highlights it as reference information.

[0104] The terminal device 3 also accepts operations from the user to add or delete information from the displayed list. When an operation to add or delete information is performed, the terminal device 3 notifies the information processing device 1 of the added or deleted information and requests the regeneration of the discharge summary. The information processing device 1 generates a discharge summary that reflects the addition or deletion of information, and transmits information about the created discharge summary to the terminal device 3. The terminal device 3 acquires information about the regenerated discharge summary from the information processing device 1 and displays the acquired information about the discharge summary on the display unit 34.

[0105] 16 is a flowchart showing an example of the procedure of the discharge summary generation process performed by the information processing device 1 according to this embodiment. The generation condition acquisition unit 11a of the processing unit 11 of the information processing device 1 according to this embodiment accepts input of a patient ID assigned to a patient for whom a discharge summary is to be generated from a user via the terminal device 3 (step S1). Next, the generation condition acquisition unit 11a accepts input of discharge summary generation conditions from the user via the terminal device 3 (step S2). The medical information acquisition unit 11b of the processing unit 11 generates query information for acquiring electronic medical record information required to generate the discharge summary based on the patient ID accepted in step S1 and the generation conditions accepted in step S2 (step S3). The medical information acquisition unit 11b acquires the required electronic medical record information from the DWH 9 based on the query information generated in step S3 (step S4).

[0106] In this embodiment, when a user such as a doctor inputs information into the electronic medical record on the terminal device 3, the user can mark important information with a specific flag such as "!!!". In step S4, the medical information acquisition unit 11b also acquires the information with the specific flag from the DWH 9.

[0107] Next, the medical document generation unit 11c of the processing unit 11 selects one of a plurality of pre-stored templates based on the generation conditions received in step S2, and generates prompt information necessary for generating a discharge summary by embedding necessary information in the selected template (step S5). The medical document generation unit 11c inputs the prompt information generated in step S5 and the electronic medical record information acquired from the DWH 9 in step S4 into the language model 7, acquires information output by the language model 7, and generates a discharge summary using the language model 7 (step S6). The medical document generation unit 11c formats or edits the discharge summary generated in step S6 as necessary, then transmits it to the terminal device 3 (step S7), and displays the generated discharge summary on the display unit 34 of the terminal device 3.

[0108] A user of the terminal device 3 creates (finalizes) the final discharge summary by performing appropriate editing operations on the discharge summary displayed on the display unit 34. The user can also input text information, etc. of the discharge summary displayed on the terminal device 3 into another application program by performing operations such as copy and paste.

[0109] (Variation 1) In the above embodiment, the information processing device 1 acquires necessary information from the DWH 9 based on the query information, but the acquisition of information from the DWH 9 is not limited to the method using the query information, and another method may be adopted. As another method, a method of extracting information from the DWH 9 based on the similarity between information stored in the DWH 9 converted into vector information of feature quantities of a predetermined dimension and information on generation conditions set by the user converted into vector information of feature quantities of a predetermined dimension, such as the RAG method, may be adopted.

[0110] The method using vector similarity uses a conversion model previously generated by machine learning, such as a learning model that converts text information into vector information. The electronic medical record information stored in the DWH 9 is stored in association with vector information previously converted using the conversion model. The information processing device 1 converts information related to the generation conditions acquired from the user via the terminal device 3 into vector information using the conversion model, calculates the similarity (e.g., cosine similarity) between the converted vector information and the vector information stored in the DWH 9, and extracts the electronic medical record information with the highest similarity or a predetermined number of electronic medical record information in descending order of similarity from the DWH 9.

[0111] <Natural language search processing> The information processing system according to this embodiment has a function to assist users such as doctors in searching for electronic medical record information stored in the electronic medical record DB8 (DWH9). For example, a user such as a doctor selects an electronic medical record search item from a menu screen or the like displayed on the display unit 34 of the terminal device 3, thereby starting the electronic medical record search process by the information processing device 1. First, the information processing device 1 displays an electronic medical record search screen on the terminal device 3 for receiving search conditions and the like from the user.

[0112] 17 is a schematic diagram showing an example of an electronic medical record search screen. The illustrated electronic medical record search screen displays, for example, a title string "Electronic Medical Record Search" at the top. On the electronic medical record search screen, the terminal device 3 displays a number of candidate sentences below the title string. In this example, three candidate sentences are displayed: "When was this medicine first prescribed?", "Please tell me if this keyword is included in the medical record," and "When was the first consultation date?"

[0113] The terminal device 3 displays a setting area for search conditions such as "patient ID," "search target data," and "search target period" below the area displaying multiple candidate sentences on the electronic medical record search screen. The terminal device 3 displays a text box for inputting the patient ID. In this embodiment, the search target for the electronic medical record can be selected from, for example, "progress record," "prescription," "examination," "injection," and "general purpose," and the terminal device 3 displays radio buttons (option buttons) for alternatively selecting which of these to use as the search target data. In this embodiment, the search target period condition can be set arbitrarily, and the terminal device 3 displays radio buttons (option buttons) for selecting whether the search target period condition is "none" or "yes," and a text box for inputting the period if "yes."

[0114] Below the area displaying the multiple candidate sentences, the terminal device 3 displays a message string "Please enter your question," a text box for inputting a search-related question, and a button labeled "Search." The user can input any question in natural language into this text box and then operate the "Search" button to search for information in the electronic medical record. The user can also select one of the multiple candidate sentences and input the candidate sentence into the text box. In this example, the user selects the candidate sentence "When was this medicine first prescribed?" and inputs this candidate sentence into the text box. In this example, after the candidate sentence is input into the text box, the user inputs the sentence "Medicine: Drug A" to specify which "this medicine" is included in the candidate sentence.

[0115] In this embodiment, the candidate sentences to be displayed on the electronic medical record search screen are stored in advance in the information processing device 1. The information processing device 1 appropriately selects several candidate sentences from a plurality of candidate sentences stored in advance and transmits information on the selected candidate sentences to the terminal device 3. The terminal device 3 can display the candidate sentences provided by the information processing device 1 on the electronic medical record search screen. For example, the information processing device 1 selects candidate sentences to be displayed on the electronic medical record search screen from a plurality of candidate sentences stored in advance based on the frequency of use of each candidate sentence, etc. The information processing device 1 may also store a history of question sentences entered by the user in a text box and select candidate sentences from the stored history.

[0116] When the search button is operated, the terminal device 3 transmits the patient ID, search target data, and search target period conditions, as well as the question entered in the text box, to the information processing device 1, requesting a search of the electronic medical records. In response to the request from the terminal device 3, the information processing device 1 determines a search method for the electronic medical record DB 9 based on the given search conditions and question. In this embodiment, the search method is predetermined according to the test target data. When the search target data is progress records, the information processing device 1 performs a search based on the similarity of feature vectors, a search using the so-called RAG method, and when the search target data is other than progress records, a search using so-called SQL query information.

[0117] When the data to be searched is a progress record, the information processing device 1 calculates the similarity between the feature vector converted from the question sentence entered in the text box and the feature vector of each data stored in the DWH9, and extracts and obtains information with high similarity from the DWH9.

[0118] Furthermore, when the data to be searched is other than progress records, the information processing device 1 generates query information for acquiring information from the DWH 9 using the language model 7. Note that the language model 7 that generates the query information in the electronic medical record search process and the language model 7 that generates the discharge summary may be the same model or different models. The language model 7 that generates the query information has previously learned the correspondence between example question sentences and query information, and outputs query information in SQL for the input question sentence. The information processing device 1 acquires information from the DWH 9 based on the query information generated by the language model 7.

[0119] The information processing device 1 inputs information acquired from the DWH 9 and a question sentence acquired from the user into the language model 7, and causes the language model 7 to generate an answer sentence to the user's question sentence. At this time, the prompt information that the information processing device 1 provides to the language model 7 may include, for example, an instruction to generate an answer sentence to the question sentence, the question sentence by the user, information used to generate the answer sentence (information acquired from the DWH 9), and information specifying the output format of the answer sentence. The language model 7 that generates the answer sentence and the language model 7 that generates the query information may be the same model or different models. The information processing device 1 acquires the answer sentence output by the language model 7 and transmits it to the terminal device 3.

[0120] FIG. 18 is a schematic diagram showing an example of a search result display screen. The terminal device 3 receives the answer text transmitted from the information processing device 1 and displays the search result display screen on the display unit 34. Similar to the electronic medical record search screen shown in FIG. 17, the search result display screen of this example displays an area for accepting conditions such as a patient ID, search target data, and search target period at the bottom of the screen, a text box for inputting a question text related to the search, and a button labeled "Search." The terminal device 3 displays the question text entered by the user and the answer text obtained from the information processing device 1, arranged vertically in chronological order, at the top of the search result display screen. In this example, the terminal device 3 displays an icon labeled "Question" and the question text entered by the user, "When was this medicine first prescribed?" and "Drug: Drug A," side by side. Below this question text, the terminal device 3 also displays an icon labeled "Answer" and the answer text obtained from the information processing device 1, "Prescription date: September 8, 2023," and "Drug name: Drug A," side by side.

[0121] The user can perform additional searches by setting search conditions in a condition setting area provided at the bottom of the search result display screen, entering additional question text in the text box, and operating the "Search" button. The terminal device 3 displays the additionally entered question text below the answer text, and displays the answer text obtained from the information processing device 1 in response to this question text below the question text. In this way, the terminal device 3 can provide search result information in a so-called chat format by displaying the question text and answer text in chronological order.

[0122] The terminal device 3 also displays a button labeled "Check Reference Information" to the right of the answer sentence, for example. When the "Check Reference Information" button is operated, the terminal device 3 acquires the electronic medical record information used to generate the answer sentence from the information processing device 1, and displays the acquired electronic medical record information as reference information on the display unit 34. The reference information displayed at this time is information acquired by the information processing device 1 from the DWH 9 based on the query information, and is information input to the language model 7 to generate the answer sentence. The terminal device 3 requests the information processing device 1 to transmit the reference information used to generate the answer sentence, and displays the reference information transmitted from the information processing device 1 in response to this request as the center of gravity on the display unit 34. At this time, the terminal device 3 may display the reference information in a row below the answer sentence, or may switch to another screen to display the reference information.

[0123] 19 is a flowchart showing an example of the procedure of the search process performed by the information processing device 1 according to this embodiment. The search condition acquisition unit 11d of the processing unit 11 of the information processing device 1 according to this embodiment accepts input of search conditions and question sentences for electronic medical records from the user via the terminal device 3 displaying the electronic medical record search screen (step S21).

[0124] The search processing unit 11e of the processing unit 11 determines a search method for acquiring electronic medical record information necessary to generate an answer to the question sentence based on the search conditions and the question sentence received in step S21 (step S22). At this time, the search processing unit 11e determines whether to use a search based on the similarity of feature vectors or a search based on query information, based on whether the search target data received as the search conditions is a progress record. The search processing unit 11e acquires the necessary electronic medical record information from the DWH 9 based on the method determined in step S22 (step S23). The search processing unit 11e inputs the question sentence received in step S21 and the electronic medical record information acquired in step S23 into the language model 7 along with prompt information instructing the generation of an answer to the question sentence, and generates an answer to the question sentence using the language model 7 by acquiring the information output by the language model 7 (step S24). The search processing unit 11e transmits the response text generated in step S24 to the terminal device 3 (step S25), and causes the display unit 34 of the terminal device 3 to display the response text.

[0125] <Summary> In the information processing system according to the present embodiment having the above configuration, the information processing device 1 accepts input of the patient ID of the target patient, accepts input of discharge summary generation conditions, and acquires information on one or more electronic medical records from the electronic medical record DB8 (or DWH9) based on the accepted patient ID and generation conditions. The information processing device 1 also generates prompt information for generating a discharge summary based on the accepted generation conditions, inputs the generated prompt information together with information acquired from the electronic medical record DB8 (or DWH9) into the language model 7, and acquires the discharge summary output by the language model 7, thereby generating a discharge summary for the target patient. The information processing device 1 transmits the generated discharge summary to the terminal device 3 and displays the discharge summary on the display unit 34 of the terminal device 3. As a result, the information processing system according to the present embodiment can be expected to support the creation of discharge summaries based on the electronic medical record information stored in the electronic medical record DB8.

[0126] Furthermore, in the information processing system according to this embodiment, the information processing device 1 acquires electronic medical record information marked with a predetermined flag, such as "!!!", from among the information on a plurality of electronic medical records stored in the electronic medical record DB8 (or DWH9) based on the patient ID and generation conditions. As a result, in the information processing system according to this embodiment, when a user such as a doctor inputs information into the electronic medical record, the user can mark information that the user wants to include in the discharge summary with a predetermined flag, and the discharge summary can be generated based on the information marked with the predetermined flag.

[0127] Furthermore, in the information processing system according to this embodiment, the information processing device 1 generates query information based on the received patient ID and generation conditions, and acquires electronic medical record information from the electronic medical record DB8 (or DWH9) based on the generated query information. Alternatively, the information processing device 1 may convert the information on the generation conditions into vector information, and acquire the electronic medical record information from the electronic medical record DB8 (or DWH9) based on the similarity with the vector information of the electronic medical record stored in the electronic medical record DB8 (or DWH9). As a result, the information processing system according to this embodiment is expected to accurately acquire information necessary for generating a discharge summary from the electronic medical record DB8 (or DWH9).

[0128] Furthermore, in the information processing system according to this embodiment, the information processing device 1 displays multiple electronic medical record information of the target patient obtained from the electronic medical record DB8 (or DWH9) on the terminal device 3, and accepts from the user via the terminal device 3 a selection of information to be used in generating a discharge summary from the multiple pieces of displayed information. The information processing device 1 may also accept a selection of information not to be used in generating a discharge summary from the multiple pieces of displayed information. As a result, the information processing system according to this embodiment is expected to allow the user to select information to be used in generating a discharge summary and choose which electronic medical record information to use.

[0129] In the information processing system according to this embodiment, the information processing device 1 stores multiple prompt information templates in the storage unit 12, selects a template based on the received generation conditions, and generates prompt information based on the generation conditions and the template. The information processing device 1 also receives instructions regarding the discharge summary to be generated from the user via the terminal device 3 in natural language, and generates prompt information including the received instructions. As a result, the information processing system according to this embodiment is expected to generate various prompt information according to the generation conditions or instructions in natural language, and to cause the language model 7 to generate various discharge summaries.

[0130] Furthermore, in the information processing system according to this embodiment, the information processing device 1 transmits the generated discharge summary together with information on one or more electronic medical records used to generate this discharge summary to the terminal device, and causes the discharge summary and the information used to generate it to be displayed on the display unit 34 of the terminal device 3. As a result, the information processing system according to this embodiment can be expected to provide the user with the generated discharge summary together with the information that served as the basis for its generation.

[0131] Furthermore, in the information processing system according to this embodiment, the information processing device 1 accepts an operation to modify the discharge summary via the terminal device 3, and modifies the generated discharge summary. As a result, in the information processing system according to this embodiment, it is expected that the addition, deletion, or modification of information by the user can be reflected in the discharge summary generated by the information processing device 1 using the language model 7.

[0132] Furthermore, the information processing system according to this embodiment generates a discharge summary including the subject patient's chief complaint, current medical history, past medical history, hospitalization progress, or post-discharge policy based on the information of the electronic medical record stored in the electronic medical record DB8 (or DWH9). However, the information processing system may also generate a medical document other than the discharge summary based on the information of the electronic medical record stored in the electronic medical record DB8 (or DWH9).

[0133] Medical documents that can be generated by the information processing system can include various documents such as nursing summaries, rehabilitation summaries, medical information reports (letters of referral), diagnosis information reports, discharge rehabilitation information reports, attending physician opinions, interim summaries, discharge instructions (medication instructions, lifestyle guidance), instructions (visiting nursing instructions), home medical care management instructions, medical certificates, insurance documents, opinions, life support plans, nutritional care plans, care plans (plans for those requiring assistance, plans for those requiring nursing care), or assessment sheets. The information processing system can also generate various medical documents other than the documents exemplified here.

[0134] The information processing device 1 can handle the creation of multiple types of medical documents, for example, by accepting a selection of the type of medical document to be created from a user and appropriately generating prompt information to be provided to the language model 7 in accordance with the selected type of medical document. For example, the information processing device 1 can store prompt information templates for each type of medical document in advance, and select a template in accordance with the type of medical document to be created, thereby creating prompt information in accordance with the type of medical document and providing it to the language model 7. Furthermore, for example, the information processing device 1 can store required items for each type of medical document in advance, and embed required items in a prompt information template in accordance with the type of medical document to be created, thereby creating prompt information in accordance with the type of medical document and providing it to the language model 7.

[0135] In the information processing system according to the present embodiment, the information processing device 1 receives a question sentence regarding the electronic medical record information of a target patient via the terminal device 3, input in natural language. The information processing device 1 generates query information for acquiring electronic medical record information necessary for creating an answer sentence from the electronic medical record DB 8 (or DWH 9) based on the received question sentence, and acquires the electronic medical record information from the electronic medical record DB 8 (or DWH 9) based on the generated query information. The information processing device 1 inputs the information acquired from the electronic medical record DB 8 (or DWH 9) and prompt information that instructs the generation of an answer sentence to the question sentence based on this information to the language model 7, and acquires the answer sentence output by the language model 7, thereby generating an answer sentence to the question sentence. The information processing device 1 transmits the generated answer sentence to the terminal device 3 and displays the answer sentence on the display unit 34 of the terminal device 3. As a result, the information processing system according to the present embodiment can receive a search for electronic medical record information stored in the electronic medical record DB 8 (or DWH 9) using a question sentence in natural language and provide an answer sentence, which is expected to support users in information searches.

[0136] In this embodiment, a configuration for searching for electronic medical record information related to a specific patient by specifying a patient ID has been described. However, information searches are not limited to those related to a specific patient. The information processing system may be configured to perform search processes such as searching for information across multiple patients and outputting statistical information on the obtained information. The information processing system may extract information on one or more patients who have been administered a specific drug from the electronic medical record DB9 without specifying the patient, by accepting specifications such as age and gender from the user. The information processing system may also generate statistical information indicating, for example, the number of discharged patients this month and their corresponding primary illnesses based on information extracted from the electronic medical record DB8 (or DWH9) without specifying the patient. The information processing system according to this embodiment can appropriately extract information from the electronic medical record DB8 (or DWH9) in response to various requests entered by the user in natural language and display the search results in an output format specified in natural language.

[0137] Furthermore, in the information processing system according to this embodiment, the information processing device 1 displays multiple candidate question sentences on the display unit 34 of the terminal device 3 and accepts input of a question sentence based on a selection from these candidate sentences. This makes it possible for the information processing system according to this embodiment to facilitate input of a question sentence by the user, and is expected to support the user's information search.

[0138] Furthermore, in the information processing system according to this embodiment, the information processing device 1 displays information from one or more electronic medical records used to generate the answer sentence on the display unit 34 of the terminal device 3. As a result, the information processing system according to this embodiment can be expected to provide the user with the answer sentence to the question sentence as well as the information on which the answer sentence is based.

[0139] Although the information processing system according to the present embodiment supports document generation and the like in medical institutions such as hospitals and nursing care facilities, medical institutions that can use this system are not limited to hospitals and nursing care facilities. Medical institutions can include various types of medical institutions, such as hospitals, nursing care facilities, nursing care offices, community comprehensive support centers, home medical care, clinics, visiting nursing stations, and dental clinics. The information processing system may also be used in various medical institutions other than the medical institutions exemplified here.

[0140] (Variation 2) In the information processing system according to the present embodiment described above, a security device 6 is interposed between the information processing device 1 and the terminal device 3 and electronic medical record management device 4, and the security device 6 performs processes such as anonymization and encryption of data transmitted and received between the devices. However, if processes such as anonymization and encryption of this data are not required, the information processing system may be configured without the security device 6, in which case data may be transmitted and received directly between the information processing device 1 and the terminal device 3 and electronic medical record management device 4.

[0141] For example, if the information processing device 1, the terminal device 3, and the electronic medical record management device 4 are all located inside a medical institution, there is a low possibility that data transmitted and received between these devices will be leaked outside the medical institution. In such a case, the information processing system may be configured not to include the security device 6, and to transmit and receive data directly between these devices without anonymizing or encrypting them.

[0142] Furthermore, for example, if the terminal device 3 is located inside a medical institution and the information processing device 1 and electronic medical record management device 4 are located outside the medical institution, data that has not been anonymized or encrypted outside the medical institution is already being sent and received between the information processing device 1 and the electronic medical record management device 4, so there is little need to provide a security device 6 inside the medical institution. In such a case, the information processing system can also be configured not to provide a security device 6 inside the medical institution. However, in such a case, the security device 6 may be provided outside the medical institution.

[0143] (Variation 3) In the information processing system according to the present embodiment described above, the information processing device 1 generates medical documents using the language model 7 based on medical information stored in the electronic medical record DB 8 managed by the electronic medical record management device 4. However, the information processing system may be configured without the electronic medical record management device 4 and the electronic medical record DB 8. In this case, in the information processing system, for example, the terminal device 3 accepts input of various data used to generate medical documents, and the information processing device 1 generates medical documents using the language model 7 based on the accepted data.

[0144] For example, the terminal device 3 according to the third modification accepts input of a patient ID and input of medical document generation conditions, similar to the case of generating a discharge summary shown in FIGS. 7 and 8 , and then displays a screen for accepting input of medical information necessary for generating medical information and accepts input of the necessary medical information from the user. For example, the terminal device 3 accepts input of medical information by accepting an operation of copying and pasting text of medical information displayed in an application program such as a word processor, document viewer, or text editor into an input box provided on the input screen. Alternatively, the terminal device 3 may accept input of medical information by displaying a list of files stored in the storage unit 32 and accepting selection of a file containing medical information necessary for generating a medical document from the user. The file input as medical information is not limited to a text file or a document file, but may also be a file containing information other than text, such as an image file.

[0145] The terminal device 3 transmits the input medical information, generation conditions, etc. to the information processing device 1 and requests that it generate a medical document. The information processing device 1 receives the generation request along with the medical information, generation conditions, etc. transmitted from the terminal device 3, generates a medical document using the language model 7, and transmits the generated medical document to the terminal device 3. The terminal device 3 receives the medical document generated by the information processing device 1 and displays it on the display unit 34.

[0146] (Variation 4) The information processing system according to the fourth modification provides a user with a reservation function for creating medical documents. For example, a user such as a doctor uses the terminal device 3 to input the creation conditions and the like and set the creation date and time of the discharge summary before the date on which the patient is scheduled to be discharged. The terminal device 3 accepts the creation conditions for the discharge summary and the creation date and time setting from the user, and transmits a request for creating the discharge summary to the information processing device 1 together with information such as the accepted creation conditions and creation date and time setting.

[0147] The information processing device 1 receives a generation request including settings of the generation conditions and generation date and time transmitted from the terminal device 3, and stores the received information in the storage unit 12. If a generation date and time has been set, the information processing device 1 does not generate a discharge summary at the time of receiving the generation request from the terminal device 3. When the set generation date and time arrives or at an appropriate timing thereafter, the information processing device 1 generates a discharge summary based on the stored information such as the generation conditions, and transmits the generation result to the terminal device 3.

[0148] As described above, the information processing system according to Variation 4 can pre-book a date and time for generating a medical document, allowing the information processing device 1 to generate the medical document at a time later than the time the user inputs the generation conditions, etc., on the terminal device 3. Since the information processing device 1 performs processing for generating the medical document, such as acquiring electronic medical record information, after the set generation date and time arrives, even if information is added or changed to the electronic medical record after the user inputs the medical document generation conditions, etc., on the terminal device 3, the information processing device 1 can generate a discharge summary that reflects these additions or changes. A user, such as a doctor, can input the generation conditions, etc., when they have sufficient time in advance and set the generation date and time, for example, the date the patient is discharged from the hospital, so that a discharge summary reflecting the latest information can be provided when the patient is discharged. The information processing system according to Variation 4 may also accept only the date of generation as a reservation setting, rather than the date and time the medical document is to be generated.

[0149] The embodiments disclosed herein are to be considered in all respects as illustrative and not restrictive. The scope of the present disclosure is defined by the claims, not by the above meaning, and is intended to include all modifications within the meaning and scope of the claims.

[0150] The matters described in each embodiment can be combined with each other. In addition, the independent claims and dependent claims described in the claims can be combined with each other in any combination, regardless of the reference format. Furthermore, although the claims use a format in which a claim references two or more other claims (multiple claim format), this is not limited to this format. A multiple claim (multi-multi claim) that references at least one other multiple claim may also be used. [Explanation of symbols]

[0151] 1. Information processing equipment (computer) 3 Terminal Devices 6 Security device (anonymization device) 7 Language Model 9 DWH 11 Processing section 11a Generation condition acquisition part 11b Medical Information Acquisition Department 11c Medical Document Generation Department 11d Search condition acquisition section 11e Search processing section 12 Storage section 12a Program (computer program) 12b Model information storage section 12c Discharge Summary Storage 13 Communications Department 31 Processing section 31a Electronic Medical Record Processing Department 31b Discharge Summary Processing Department 31c Search processing section 32 Storage section 32a Program 33 Communications Department 34 Display section 35 Control section 98,99 Recording media N Network

Claims

1. A computer program that causes a computer to execute a process for generating a medical document based on medical information stored in a database, The computer, Accept input of target patient's identification information; Accepting input of condition information related to the generation of the medical document; acquiring one or more pieces of medical information from the database based on the received identification information of the target patient and the condition information; generating prompt information related to the generation of the medical document based on the condition information; inputting the acquired medical information and the generated prompt information into a language model to acquire a medical document output by the language model; Display the acquired medical document on the display unit A computer program that executes a process.

2. acquiring medical information with a predetermined flag attached from among the plurality of medical information stored in the database; 2. The computer program of claim 1.

3. generating query information for the database based on the received identification information of the target patient and the condition information; acquiring medical information from the database based on the generated query information; 2. The computer program of claim 1.

4. converting the condition information into vector information; acquiring one or more pieces of medical information from the database based on vector information of the condition information and vector information of medical information stored in the database; 2. The computer program of claim 1.

5. Displaying a plurality of pieces of medical information obtained from the database; accepting a selection of medical information to be used in generating the medical document from the displayed plurality of pieces of medical information; 2. The computer program of claim 1.

6. Displaying a plurality of pieces of medical information obtained from the database; accepting a selection of medical information that will not be used in generating the medical document from among the displayed plurality of pieces of medical information; 2. The computer program of claim 1.

7. A plurality of prompt information templates are stored in a storage unit, Select a template based on the acquired condition information, Generate prompt information based on the acquired condition information and the selected template.

2. The computer program of claim 1.

8. accepting instructions regarding the medical document to be generated by inputting natural language; generating the prompt information based on the received instruction; 2. The computer program of claim 1.

9. displaying the medical document obtained from the language model together with one or more pieces of medical information used to generate the medical document; 2. The computer program of claim 1.

10. Accepting an operation to correct the displayed medical document; modifying the medical document in response to the received operation; 2. The computer program of claim 1.

11. The medical document is a discharge summary including information on the subject patient's chief complaint, current medical history, past medical history, hospitalization progress, or post-discharge policy.

2. The computer program of claim 1.

12. Accepting input of settings related to the date on which the medical document will be generated; generating the medical document after the date of receipt; 2. The computer program of claim 1.

13. Questions about the patient's medical information are accepted through natural language input. generating query information for the database based on the received question; Acquiring medical information from the database based on the generated query information; inputting the acquired medical information and prompt information instructing generation of an answer to the question based on the medical information into a language model, and acquiring answer information output by the language model; Displaying the obtained answer on a display unit.

2. The computer program of claim 1.

14. A computer program that causes a computer to execute a process for generating a medical document based on medical information, The computer, Accepting input of the medical information; Accepting input of condition information related to the generation of the medical document; generating prompt information related to the generation of the medical document based on the condition information; inputting the received medical information and the generated prompt information into a language model, and obtaining a medical document output by the language model; Display the acquired medical document on the display unit A computer program that executes a process.

15. A computer program that causes a computer to execute a search process on a database that stores medical information, The computer, Questions about the patient's medical information are accepted through natural language input. generating query information for the database based on the received question; Acquiring medical information from the database based on the generated query information; inputting the acquired medical information and prompt information instructing generation of an answer to the question based on the medical information into a language model, and acquiring answer information output by the language model; The acquired answer is displayed on the display unit. A computer program that executes a process.

16. Displaying multiple candidate sentences for the question, accepting input of the question based on a selection from the displayed plurality of candidate sentences; 16. A computer program according to claim 13 or claim 15.

17. displaying one or more pieces of medical information used to generate the answer; 16. A computer program according to claim 13 or claim 15.

18. An information processing method in which an information processing device generates a medical document based on medical information stored in a database, comprising: The information processing device, Accept input of target patient's identification information; Accepting input of condition information related to the generation of the medical document; acquiring one or more pieces of medical information from the database based on the received identification information of the target patient and the condition information; generating prompt information related to the generation of the medical document based on the condition information; inputting the acquired medical information and the generated prompt information into a language model to acquire a medical document output by the language model; Displaying the acquired medical document on the display unit. Information processing methods.

19. An information processing device including a processing unit that performs processing to generate a medical document based on medical information stored in a database, The processing unit Accept input of target patient's identification information; Accepting input of condition information related to the generation of the medical document; acquiring one or more pieces of medical information from the database based on the received identification information of the target patient and the condition information; generating prompt information related to the generation of the medical document based on the condition information; inputting the acquired medical information and the generated prompt information into a language model to acquire a medical document output by the language model; Displaying the acquired medical document on the display unit. Information processing device.

20. an information processing device having a processing unit that performs processing to generate medical documents based on medical information stored in a database; a management device that manages the database; an anonymization device that intervenes in communication between the information processing device and the management device and anonymizes medical information transmitted and received in the communication; Equipped with The processing unit of the information processing device Accept input of target patient's identification information; Accepting input of condition information related to the generation of the medical document; Based on the received identification information of the target patient and the condition information, communicating with the management device via the anonymization device, and acquiring one or more pieces of anonymized medical information from the database; generating prompt information related to the generation of the medical document based on the condition information; inputting the acquired medical information and the generated prompt information into a language model to acquire a medical document output by the language model; The acquired medical document is de-anonymized via the anonymization device and displayed on a display unit. Information processing system.

21. An information processing device having a processing unit that performs processing to generate medical documents based on medical information stored in a database, and an anonymization device that intervenes in communication between a management device that manages the database and anonymizes the medical information sent and received in the communication.

Citation Information

Patent Citations

  • Electronic medical chart device

    JP2005316968A

Cited By

  • Information processing system, information processing method, and information processing program

    JP7865661B1