Medical document creation support system, medical document creation support method, and program
The medical document creation support system addresses the unintuitive nature of existing systems by using a template-based approach with user-definable keywords and machine learning, facilitating easier and more efficient medical document generation.
Patent Information
- Application Number
- JP2024078637
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2025-01-30
- Estimated Expiration
- 2044-05-14
AI Technical Summary
Existing medical document creation systems require technical expertise in SQL and information technology, making them unintuitive for doctors to use effectively.
A medical document creation support system that uses a template-based approach with user-definable keywords and a machine learning model to automatically extract and generate medical documents, allowing intuitive use by doctors.
Facilitates easier and more efficient creation of medical documents by enabling doctors to set keywords and generate documents automatically, reducing operational costs and technical barriers.
Smart Images

Figure 0007624261000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to medical document creation support technology. [Background technology]
[0002] Doctors involved in the medical care of patients are tasked with creating medical documents such as medical information reports and discharge summaries. Medical information reports contain the patient's medical history, symptoms, test results, and treatment progress so that doctors at the receiving medical institution can quickly and accurately understand the patient's medical history and current condition. Discharge summaries contain the patient's medical history, progress during hospitalization, condition at the time of discharge, and future treatment plans to help doctors at the receiving medical institution communicate with medical professionals other than the attending physician after discharge.
[0003] Medical documents such as medical information sheets and discharge summaries are prepared by doctors while referring to the patient's medical records including the patient's medical records, test results, etc. A system for supporting the preparation of medical documents is desired.
[0004] Patent Document 1 discloses a system that uses an artificial intelligence engine that is trained to input each patient's medical records and information for creating a referral letter, and output either the name of a suspected disease, the location of the disorder, the need for further examination, or the need for surgery. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2018-13825 A Summary of the Invention [Problem to be solved by the invention]
[0006] As in Patent Document 1, a system that performs specific learning on a model called an artificial intelligence engine so that specific information is output requires appropriate learning according to its operation.
[0007] When using templates that can be freely configured by the doctor who is the user, there may be systems in which the template must contain SQL statements to extract the necessary information from the medical records, or systems in which the settings for extracting the necessary information from the medical records must be set separately from the template.However, there is a demand for a system that can be used intuitively even by doctors who are not familiar with information and communication technologies such as SQL and systems.
[0008] The present disclosure provides a medical document creation support technology that can be intuitively used by users such as doctors. [Means for solving the problem]
[0009] The medical document creation support system disclosed herein comprises a keyword identification unit capable of identifying keywords included in a template based on a template including text that can be arbitrarily set by a user and keywords written in a manner distinguishable from the text, an extraction unit capable of inputting a prompt to an extraction system instructing the extraction system to extract information related to the keywords from patient medical records and obtaining output corresponding to the keywords from the extraction system, and a document generation unit capable of generating a medical document including the output corresponding to the keywords obtained from the extraction system at a position in the template corresponding to the keywords. Effect of the Invention
[0010] According to the present disclosure, it is possible to facilitate the creation of medical documents. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram showing a medical document creation support system according to an embodiment of the present invention; [Diagram 2] FIG. 13 is a diagram illustrating an example of a template. [Diagram 3] FIG. 1 illustrates an example of a medical record. [Figure 4]FIG. 2 is a diagram showing an example of a prompt according to the present embodiment and an example of output from the extraction system based on the prompt. [Diagram 5] FIG. 13 is a diagram showing an example of a generated medical document. [Figure 6] FIG. 13 is a block diagram showing a medical document creation support system according to another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[0013] FIG. 1 is a block diagram showing a medical document creation support system 2 of this embodiment. As shown in FIG. 1, the medical document creation support system 2 of this embodiment has a template acquisition unit 20, a medical record acquisition unit 21, a keyword identification unit 22, a prompt generation unit 23, an extraction unit 24, and a document generation unit 25. Each of these units (20 to 25) is realized by one or more processors of a computer reading a predetermined program. The medical document creation support system 2 uses an extraction system 4 to generate a medical document based on a template 10 and medical records 30, and is capable of providing the medical document to a user such as a doctor.
[0014] The extraction system 4 is a machine learning model such as LLM (Large Language Models) that can respond with an output corresponding to a prompt from the patient's medical record 30 based on the prompt, and is also called a generative AI that can generate new content (text, etc.). For example, Microsoft Azure OpenAI, Google GCP Gemini / MedLM, Anthropic Claude, etc. can be used as the extraction system 4.
[0015] The template acquisition unit 20 acquires the template 10 from the template storage unit 11, such as a DB that stores the template 10. The acquired template 10 may be either one designated by the user or a default designated one associated with the user. The template 10 is a model of a medical document, and is created in advance individually for each predetermined unit such as each document type or each medical department in a medical institution, and is stored in the template storage unit 11.
[0016] FIG. 2 is a diagram showing an example of the template 10. As shown in FIG. 2, the template 10 includes text that can be arbitrarily set by a user (medical personnel such as a doctor) and keywords that can be distinguished from the text. Examples of the text include greetings, names of medical departments, names of doctors, and preferred expressions in medical documents. The keywords are words used to extract information from the medical records 30, and can be arbitrarily set by the user. For example, in order to extract "abdominal pain" from the medical records 30 including the text "The patient complains of abdominal pain," arbitrary keywords such as "symptoms," "main complaint," and "symptoms" can be set. Even if an arbitrary keyword is set, there is a high possibility that the extraction system 4 will interpret the keyword and extract information related to the keyword. This enables intuitive use of the system. In order to make the keyword distinguishable from the text, in this embodiment, the keyword is sandwiched between a start tag "{" as an identifier indicating the start of the keyword and an end tag "}" as an identifier indicating the end of the keyword, but this is not limited thereto. An example of template 10 shown in Fig. 2 includes seven keywords: "admission date", "surgery date", "operated eye", "disease name", "operative procedure", "progress", and "discharge date". All text in template 10 other than these seven keywords is not a keyword and is not used for prompts.
[0017] The medical record acquisition unit 21 shown in FIG. 1 acquires medical records 30 from a medical record storage unit 31 such as a DB that stores medical records 30. The acquired medical records 30 may be either those specified by the user or those specified by default associated with the user. The medical records 30 are information that includes text representing the medical history and test results of a patient. For example, as illustrated in FIG. 3, the medical records 30 include text. FIG. 3 is a diagram showing an example of the medical records 30. The process of acquiring the template by the template acquiring unit 20 and the process of acquiring the medical record 30 by the medical record acquiring unit 21 may be performed in any order.
[0018] The keyword identification unit 22 shown in Fig. 1 identifies one or more keywords included in the template 10. In this embodiment, the part between tags (identifiers) is identified as a keyword. This can be identified by using regular expressions or a parser. From the template 10 shown in Fig. 2, seven keywords are identified: "admission date", "surgery date", "operated eye", "disease name", "operative procedure", "progress", and "discharge date".
[0019] The prompt generating unit 23 shown in FIG. 1 generates a prompt. The prompt is an instruction for instructing the extraction system 4 to extract information related to the keyword identified by the keyword identifying unit 22 from the patient's medical record 30. The prompt is written in a format acceptable to the extraction system 4. The prompt includes an instruction section for the model. The prompt may further include input data for which the model is requested to respond, and a format designation section for designating an output format. FIG. 4 is a diagram showing an example of a prompt of this embodiment, and an example of an output from the extraction system 4 based on the prompt. As shown in the upper part of FIG. 4, the prompt includes an instruction section saying, "Please extract and display the following items from the following medical records: date of admission, date of surgery, operated eye, disease name, surgical procedure, progress, and date of discharge." In FIG. 4, the format designation section and input data are omitted.
[0020] The extraction unit 24 shown in Fig. 1 is configured to input the prompt generated by the prompt generation unit 23 to the extraction system 4 and obtain output corresponding to the keywords from the extraction system 4. Specifically, the extraction unit 24 inputs a prompt to the extraction system 4 and receives an output from the extraction system 4. The lower part of Fig. 4 shows an output from the extraction system 4 obtained from the medical record 30 illustrated in Fig. 3 using some of the prompts shown in the upper part of Fig. 4. As shown in the lower part of Fig. 4, some output is obtained for seven keywords.
[0021] The document generation unit 25 shown in Fig. 1 generates a medical document based on the template 10 and the output obtained from the extraction system 4. Specifically, the document generation unit 25 generates a medical document by replacing keywords in the template 10 with the output corresponding to the keywords obtained from the extraction system 4. Fig. 5 is a diagram showing an example of a generated medical document. As shown in Fig. 5, the keywords in the template 10 shown in Fig. 2 are replaced with the output of the extraction system 4.
[0022] According to this system, a user such as a doctor can write text of his / her choice in a template 10, which is a model for a medical document, and can write keywords in a distinguishable manner (using an identification tag in this embodiment) in the part where the medical record 30 needs to be referenced, and the medical document is automatically generated in a form in which information related to the keywords is extracted from the medical record 30 and supplemented in the template. The user does not need to generate the medical document from scratch, but can simply confirm and correct the automatically generated document, making it easier to create medical documents. Compared to a case where the generation AI (extraction system 4) is directly prompted to "create a medical information report" or "create a discharge summary" to create the entire medical document, the system pinpoints the extraction of only information related to the keywords desired by the user, so that information that the user considers unnecessary (information other than information related to the keywords) can be omitted, and the medical document can be created in the format desired by the user. In addition, since the user can intuitively set keywords for extracting information from medical records 30 in the template 10 along with text, the system can be easily used even without knowledge of how to use the extraction system 4 such as generative AI (prompt engineering) or other information processing technologies, making it possible to provide a highly convenient system. In addition, since an extraction system 4 such as a generative AI capable of interpreting text is used, there is an advantage in that the medical records 30 do not need to be made into a structured data set. In addition, since an external existing extraction system 4 can be used, it may be possible to reduce operating costs. Furthermore, if the medical document creation support system 2 can call the extraction system 4, it becomes possible to configure the medical document creation support system 2 without incorporating the extraction system 4, and the relationship between the medical document creation support system 2 and the extraction system 4 can be loose, making it possible to easily change the extraction system 4 used each time a better extraction system 4 is released.
[0023] [Another embodiment] (A) In this embodiment, the extraction unit 24 is configured to be able to acquire output from one type of extraction system 4, but is not limited to this. For example, as shown in Fig. 6, the extraction unit 24 may be configured to be able to acquire output from multiple (multiple types of) extraction systems 4 based on a prompt. Fig. 6 is a block diagram showing a medical document creation support system 2 of another embodiment.
[0024] (B) In the case of (A) above, as shown in FIG. 6, the evaluation unit 26 may have an evaluation unit 26 capable of evaluating the output obtained from the extraction system 4, and the document generation unit 25 may decide whether or not to adopt the output obtained from the extraction system 4 based on the evaluation result by the evaluation unit 26, and may generate a medical document using the output that has been decided to be adopted. As a first example, the extraction unit 24 inputs a prompt including multiple keywords to multiple extraction systems 4 (systems A, B, C) and obtains outputs (A to C) from each system (A to C). The evaluation unit 26 evaluates each output (A to C) and calculates an evaluation value. The document generation unit 25 generates a medical document using the output with the highest (best) evaluation value. As an evaluation method, on the premise that the prompt includes multiple keywords, the evaluation value is evaluated as being higher (better) as the number of keywords for which an output is obtained increases. For example, when the number of keywords with a response in output A of extraction system A is four, the number of keywords with a response in output B of extraction system B is five, and the number of keywords with a response in output C of extraction system C is three, it is determined that the output B of extraction system B has the highest evaluation value. As a second example, the extraction unit 24 inputs a prompt including a plurality of keywords to the first extraction system 4 (system A) and obtains the output A from the system A. The evaluation unit 26 evaluates whether the output A satisfies a predetermined evaluation condition. If it is determined that the output A satisfies the predetermined evaluation condition, the document generation unit 25 generates a medical document using the output A. On the other hand, if it is determined that the output A does not satisfy the predetermined evaluation condition, the extraction unit 24 inputs a prompt to the second extraction system 4 (system B) and obtains the output B from the system B. The evaluation unit 26 evaluates whether the output B satisfies the predetermined evaluation condition. If it is determined that the output B satisfies the predetermined evaluation condition, the document generation unit 25 generates a medical document using the output B. On the other hand, if it is determined that the output B does not satisfy the predetermined evaluation condition, the extraction unit 24 inputs a prompt to the next extraction system 4, and the above process may be repeatedly executed until the predetermined evaluation condition is satisfied or a predetermined end condition is satisfied. According to the first or second example above, even if a certain extraction system 4 cannot properly extract information corresponding to a keyword, by using multiple types of extraction systems 4, the possibility of generating an appropriate document can be increased.
[0025] (C) In the above embodiment, start and end tags are used as identifiers to distinguish keywords, but the present invention is not limited to this. For example, the description [{admission date}] may be written as "<admission date>" or "#admission date", and any expression may be used as long as the keyword can be distinguished from other text.
[0026] (D) In the above embodiment, as long as the medical document creation support system 2 is capable of calling the extraction system 4, the medical document creation support system 2 may or may not have the extraction system 4.
[0027] (E) In the above embodiment, the document generating unit 25 replaces the keyword in the template 10 with the output corresponding to the keyword obtained from the extraction system 4, for example, by replacing "disease name" with "glaucoma", but this is not limited thereto. For example, the keyword may be replaced and left as it is, such as "disease name" to "disease name glaucoma", so that both the keyword and the output corresponding to the keyword are included in the medical document. As an example, the output may be written after the keyword, or the output may be written before the keyword. That is, including the mode of replacing and deleting the keyword and the mode of leaving the keyword, the document generating unit 25 may execute a process of including the output corresponding to the keyword obtained from the extraction system 4 in the position corresponding to the keyword in the template 10 (before or after the keyword, etc.).
[0028] (F) In the above embodiment, the document generating unit 25 replaces and deletes identifiers that make keywords distinguishable, but this is not limited to the above, and the identifiers may be left as they are.
[0029] [1] As described above in the embodiment, the medical document creation support system 2 may include a keyword identification unit 22 capable of identifying keywords included in the template 10 based on the template 10 including text that can be arbitrarily set by the user and keywords written in a manner distinguishable from the text, an extraction unit 24 capable of inputting a prompt to the extraction system 4 instructing the extraction system 4 to extract information related to the keywords from the patient's medical record 30 and obtaining an output corresponding to the keywords from the extraction system 4, and a document generation unit 25 capable of generating a medical document including an output corresponding to the keywords obtained from the extraction system 4 at a position in the template 10 corresponding to the keyword. With this configuration, users such as doctors can simply write text of their choice into template 10, which serves as a model for medical documents, and write keywords clearly in the parts of medical records 30 where it is necessary to refer to them. This allows medical documents to be automatically generated with information related to keywords supplemented from medical records 30, making it easy to create medical documents.
[0030] [2] Like the medical document creation support system 2 described in [1] above, the system may be provided with an evaluation unit 26 capable of evaluating the output obtained from the extraction system 4, the extraction unit 24 configured to be able to acquire outputs from the multiple extraction systems 4 based on a prompt, and the document generation unit 25 may decide whether or not to adopt the output obtained from the extraction system 4 based on the evaluation result by the evaluation unit 26, and generate a medical document using the output that has been decided to be adopted. According to this configuration, even if a certain extraction system 4 cannot properly extract information corresponding to a keyword, by using multiple types of extraction systems 4, the possibility of generating an appropriate document can be increased.
[0031] [3] As in the above embodiment, the medical document creation support method may include extracting keywords from a template 10 containing text that can be arbitrarily set by a user and keywords written in a manner that can be distinguished from the text, inputting a prompt to an extraction system 4 instructing the extraction system 4 to extract information related to the keywords from a patient's medical record 30, obtaining output corresponding to the keywords from the extraction system 4, and generating a medical document including the output corresponding to the keywords obtained from the extraction system 4 at a position in the template 10 corresponding to the keyword.
[0032] [4] As in the above embodiment, the program may cause one or more programs to execute the following: extracting keywords from a template 10 containing text that can be arbitrarily set by a user and keywords written in a manner that can be distinguished from the text; inputting a prompt to the extraction system 4 instructing the extraction system 4 to extract information related to the keywords from the patient's medical record 30, obtaining output corresponding to the keywords from the extraction system 4; and generating a medical document including the output corresponding to the keywords obtained from the extraction system 4 at a position in the template 10 corresponding to the keyword.
[0033] Although the embodiments of the present disclosure have been described above based on the drawings, the specific configurations should not be considered to be limited to these embodiments. The scope of the present disclosure is indicated not only by the description of the above-mentioned embodiments but also by the claims, and further includes all modifications within the meaning and scope equivalent to the claims.
[0034] The structures employed in the above-described embodiments may be employed in any other embodiment. The specific configurations of the components are not limited to the above-described embodiments, and may be modified in various ways without departing from the spirit of the present disclosure. [Explanation of symbols]
[0035] 2: Medical document creation support system 4: Extraction system 10: Templates 22: Keyword identification section 24:Extraction part 25: Document generation unit 26: Evaluation section 30: Medical records
Claims
1. a keyword specifying unit that is capable of specifying the keyword included in a template based on a template that includes a text that can be arbitrarily set by a user and a keyword that is described in a manner that can be distinguished from the text, and that does not include a medical record of a patient; an extraction unit operable to input a prompt to an extraction system instructing the extraction system to extract information related to the keywords from the patient's medical records and to obtain an output from the extraction system corresponding to the keywords; a document generation unit capable of generating a medical document by including an output corresponding to the keyword obtained from the extraction system at a position in the template corresponding to the keyword; an evaluation unit capable of evaluating the output obtained from the extraction system; The evaluation unit is capable of evaluating based on the number of the obtained keywords in the output, the extraction unit is configured to be able to input the prompt to a plurality of different types of the extraction systems and to be able to obtain the output from each of the plurality of types of the extraction systems; A medical document creation support system, wherein the document generation unit determines whether or not to adopt the output obtained from the extraction system based on the evaluation result by the evaluation unit, and is capable of generating the medical document using the output that has been decided to be adopted.
2. a keyword specifying unit that is capable of specifying the keyword included in a template based on a template that includes a text that can be arbitrarily set by a user and a keyword that is described in a manner that can be distinguished from the text, and that does not include a medical record of a patient; an extraction unit operable to input a prompt to an extraction system instructing the extraction system to extract information related to the keywords from the patient's medical records and to obtain an output from the extraction system corresponding to the keywords; a document generation unit capable of generating a medical document by including an output corresponding to the keyword obtained from the extraction system at a position in the template corresponding to the keyword; an evaluation unit capable of evaluating the output obtained from the extraction system; The evaluation unit is capable of evaluating whether the output satisfies a predetermined evaluation condition, the extraction unit is configured to be able to input the prompt to a plurality of different types of the extraction systems and to be able to obtain the output from each of the plurality of types of the extraction systems; A medical document creation support system, wherein the document generation unit determines to adopt an output that satisfies the specified evaluation condition from among the outputs obtained from the extraction system based on an evaluation result by the evaluation unit, and is capable of generating the medical document using the output that has been decided to be adopted.
3. Identifying the keyword from a template that includes text that can be arbitrarily set by a user and a keyword that is written in a manner that can be distinguished from the text, and does not include a patient's medical record; inputting prompts to a plurality of different extraction systems instructing them to extract information related to the keywords from the patient's medical records, and obtaining output from the plurality of extraction systems corresponding to the keywords; Evaluating the output from the extraction system based on the number of keywords obtained in the output; determining whether to adopt the output obtained from the extraction system based on the evaluation result; and generating a medical document using the output determined to be adopted, the medical document including the output corresponding to the keyword obtained from the extraction system at a position in the template corresponding to the keyword; A medical document creation support method comprising:
4. Identifying the keyword from a template that includes text that can be arbitrarily set by a user and a keyword that is written in a manner that can be distinguished from the text, and does not include a patient's medical record; inputting prompts to a plurality of different extraction systems instructing them to extract information related to the keywords from the patient's medical records, and obtaining output from the plurality of extraction systems corresponding to the keywords; evaluating whether the output obtained from the extraction system satisfies a predetermined evaluation condition; determining, based on the evaluation result, to adopt the output that satisfies the predetermined evaluation condition among the outputs obtained from the extraction system; generating a medical document using the output determined to be adopted, the medical document including the output corresponding to the keyword obtained from the extraction system at a position in the template corresponding to the keyword; A medical document creation support method comprising:
5. Identifying the keyword from a template that includes text that can be arbitrarily set by a user and a keyword that is written in a manner that can be distinguished from the text, and does not include a patient's medical record; inputting prompts to a plurality of different extraction systems instructing them to extract information related to the keywords from the patient's medical records, and obtaining output from the plurality of extraction systems corresponding to the keywords; Evaluating the output from the extraction system based on the number of keywords obtained in the output; determining whether to adopt the output obtained from the extraction system based on the evaluation result; and generating a medical document using the output determined to be adopted, the medical document including the output corresponding to the keyword obtained from the extraction system at a position in the template corresponding to the keyword; A program for causing one or more processors to execute the above.
6. Identifying the keyword from a template that includes text that can be arbitrarily set by a user and a keyword that is written in a manner that can be distinguished from the text, and does not include a patient's medical record; inputting prompts to a plurality of different extraction systems instructing them to extract information related to the keywords from the patient's medical records, and obtaining output from the plurality of extraction systems corresponding to the keywords; evaluating whether the output obtained from the extraction system satisfies a predetermined evaluation condition; determining, based on the evaluation result, to adopt the output that satisfies the predetermined evaluation condition among the outputs obtained from the extraction system; generating a medical document using the output determined to be adopted, the medical document including the output corresponding to the keyword obtained from the extraction system at a position in the template corresponding to the keyword; A program for causing one or more processors to execute the above.
Citation Information
Patent Citations
Medical record diagnosis writing missing detection method, device and equipment and readable storage medium
CN117373592A
Introduction letter creation support system, introduction letter creation support device and introduction letter creation support method
JP2018013825A
JPP7385320B
JPP7475744B