Generation method and generation system of patient data document and electronic equipment

Through the method and system for generating patient data documents between medical systems, the patient information in different medical systems is automatically converted into a unified patient data document, solving the problem of data format and coding differences, improving the efficiency of medical services and informatization construction level.

CN119446383APending Publication Date: 2025-02-14JIAHE MEIKANG BEIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411501226.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The lack of unified data interfaces and standards between different medical systems leads to differences in the data format and encoding of patient data, increasing the complexity of medical services and the difficulty of data integration.

Method used

Provide a method and system for generating patient data documents. The patient information of each medical system is obtained through preset time intervals, and the preset document templates and field correspondence relationships are used to automatically convert patient data into standardized patient data documents to reduce data. Difficulty of integration.

Benefits of technology

It realizes the conversion of scattered patient information into unified patient data documents, reduces the difficulty of patient data integration, and improves the level of hospital information construction and medical service efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119446383A_ABST
    Figure CN119446383A_ABST
Patent Text Reader

Abstract

The invention provides a patient data document generation method and system and electronic equipment, and the method comprises the steps: obtaining patient information of each medical system in a current time interval according to a preset time interval; based on a preset medical system document template corresponding relation and a medical system ID, determining a target document template corresponding to each piece of patient information; and filling the patient data content into the target document template based on a preset document field corresponding relationship, the patient ID and the patient data field so as to automatically generate a patient data document corresponding to each medical system. In the mode, through the method of converting the data in different medical systems into the patient data documents with the unified data standard, scattered patient information can be automatically converted into the standard patient data documents, so that the difficulty of patient data integration is reduced, the informatization construction level of hospitals is improved, and the medical service efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical information technology, and in particular to a method, a system and an electronic device for generating a patient data document. Background Art

[0002] In modern medical systems, the recording and management of patient data is an important part of medical services. With the continuous development of medical informatization, various medical systems lack unified data interfaces and standards when recording and managing patient data, resulting in differences in the data format and encoding of patient data stored in different medical systems. This leads to incompatibility issues when sharing and integrating patient data between multiple medical systems, increasing the complexity of medical services. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a patient data document generation method, generation system and electronic device, which can automatically convert scattered patient information into standardized patient data documents, thereby reducing the difficulty of patient data integration, thereby improving the hospital's information construction level and improving medical service efficiency.

[0004] In a first aspect, an embodiment of the present invention provides a method for generating a patient data document, which is applied to a patient data document generation system, wherein the patient data document generation system is communicatively connected to at least one medical system, and the method comprises: obtaining patient information of each medical system within a current time interval according to a preset time interval; the patient information comprises a data source, a patient ID, a patient data field and a patient data content; the data source is a medical system ID of the medical system corresponding to the patient information; based on a preset medical system document template correspondence relationship and a medical system ID, determining a target document template corresponding to each patient information; based on a preset document field correspondence relationship, a patient ID and a patient data field, filling the patient data content into the target document template to automatically generate a patient data document corresponding to each medical system; wherein the patient data document comprises at least one patient data sub-document corresponding to the patient ID.

[0005] Furthermore, before the step of obtaining patient information of each medical system within the current time interval according to a preset time interval, the method also includes: obtaining a patient data style file sent by a user and a data dictionary corresponding to each medical system; wherein each medical system corresponds to a patient data style file; converting the patient data style file into a document template based on the data dictionary and a preset table template; determining a document template ID corresponding to the document template based on a preset numbering rule, associating the document template ID corresponding to the document template and the medical system ID corresponding to the medical system and saving them as a medical system document template correspondence relationship; obtaining the document field in the document template, associating the document template ID with the document field and saving them as a document field correspondence relationship.

[0006] Furthermore, a required node is set in the patient data style file; after the step of obtaining the document field in the document template and associating the document template ID with the document field and saving it as a document field correspondence relationship, the method also includes: based on the data dictionary, determining that the document field corresponding to the required node in the document template is a required document field; wherein, there is at least one required document field; and associating the medical system ID corresponding to the document template with the required document field and saving it as a system required document field correspondence relationship.

[0007] Furthermore, before the step of filling the patient data content into the target document template based on the preset document field correspondence, patient ID and patient data field to automatically generate the patient data document corresponding to each medical system, the method also includes: based on the system mandatory document field correspondence, determining whether the patient data field includes the mandatory document field corresponding to the medical system ID; if the patient data field does not include any mandatory document field, determining that the mandatory document field not included in the patient data field is the document field to be supplemented, and the patient information is the patient information to be generated, and saving the patient information to be generated and the document field to be supplemented in association in a temporary storage file.

[0008] Furthermore, after the step of obtaining patient information of each medical system within the current time interval according to a preset time interval, the method also includes: obtaining the medical system ID and patient ID corresponding to the patient information to be generated in the temporary storage file; determining whether the patient information corresponding to the medical system ID includes the patient ID; if the patient information includes the patient ID, determining whether the patient data field corresponding to the patient ID includes all the document fields to be supplemented; if the patient data field includes all the document fields to be supplemented, determining the target document template corresponding to the patient information to be generated based on the correspondence between the medical system document templates and the medical system ID.

[0009] Furthermore, before the step of obtaining patient information of each medical system within the current time interval according to a preset time interval, the method also includes: establishing a dedicated channel with each medical system; and obtaining patient information in each medical system through the dedicated channel.

[0010] Furthermore, the patient data document generation system is communicatively connected to the server; based on the preset document field correspondence, patient ID and patient data field, the patient data content is filled into the target document template to automatically generate the patient data document corresponding to each medical system. After that, the method also includes: sending each patient data document to the server so that the server stores the patient data sub-document based on the patient ID association.

[0011] In a second aspect, an embodiment of the present invention provides a system for generating a patient data document, which is communicatively connected to at least one medical system, and the system includes: a patient information acquisition module, which is used to acquire patient information corresponding to each medical system within a current time interval according to a preset time interval; the patient information includes data source, patient ID, patient data field and patient data; the data source is the medical system ID of the medical system corresponding to the patient information; a document template determination module, which is used to determine the document template corresponding to each patient information based on a preset medical system-document template correspondence and the medical system ID; a patient data document generation module, which is used to fill the patient data into the document template based on a preset document field correspondence, patient ID and patient data field, so as to automatically generate a patient data document corresponding to each medical system; wherein the patient data document includes at least one patient data sub-document corresponding to the patient ID.

[0012] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method described above when executing the computer program.

[0013] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the program code enables the processor to execute the method as described above.

[0014] The embodiment of the present invention provides a method, a system and an electronic device for generating a patient data document. The system for generating the patient data document is connected to at least one medical system in communication. The method includes: obtaining patient information of each medical system within the current time interval according to a preset time interval; the patient information includes data source, patient ID, patient data field and patient data content; the data source is the medical system ID of the medical system corresponding to the patient information; based on the preset medical system document template correspondence and the medical system ID, determining the target document template corresponding to each patient information; based on the preset document field correspondence, patient ID and patient data field, filling the patient data content into the target document template to automatically generate a patient data document corresponding to each medical system; wherein the patient data document includes at least one patient data sub-document corresponding to the patient ID. In the method, by converting data in different medical systems into a patient data document with a unified data standard, the scattered patient information can be automatically converted into a standardized patient data document, thereby reducing the difficulty of patient data integration, thereby improving the hospital's information construction level and improving the efficiency of medical services.

[0015] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A flow chart of a method for generating a patient data document provided in Embodiment 1 of the present invention;

[0019] Figure 2 A flow chart of a dedicated channel setting method provided in Embodiment 1 of the present invention;

[0020] Figure 3 A flow chart of a method for generating a corresponding relationship of a medical system document template provided in the first embodiment of the present invention;

[0021] Figure 4A flow chart of a method for generating a correspondence relationship between system mandatory document fields provided in the first embodiment of the present invention;

[0022] Figure 5 A flow chart of a temporary storage file generation method provided in Embodiment 1 of the present invention;

[0023] Figure 6 A flow chart of a method for determining a target document template corresponding to patient information to be generated provided in the first embodiment of the present invention;

[0024] Figure 7 A schematic diagram of a system for generating a patient data document provided in Embodiment 2 of the present invention;

[0025] Figure 8 A schematic diagram of another system for generating patient data documents provided in Embodiment 2 of the present invention.

[0026] Icons: 1-patient information acquisition module; 2-document template determination module; 3-patient data document generation module; 4-configuration module. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] In the current medical system, the construction of shared documents for electronic medical records faces severe challenges. Electronic medical record information is highly decentralized. Each medical system is self-contained and operates independently, carrying different aspects of the patient's medical records, resulting in fragmentation and isolation of information. This decentralized state directly leads to incompleteness and inconsistency of information. At the same time, the lack of unified data interfaces and standards between different medical systems leads to differences in data formats, encodings, etc., which is like an invisible barrier that hinders the smooth flow and sharing of information. For example, the date formats stored in different medical systems are different. This lack of standardization not only increases the difficulty of data integration, but also makes information sharing extremely difficult, further exacerbating the complexity and challenges of medical services.

[0029] The embodiment of the present invention can provide a method for generating a patient data document. Through this embodiment, scattered patient information can be automatically converted into a standardized patient data document (for example, the date format in different systems can be converted into a unified YYYY-MM-DD format), thereby reducing the difficulty of patient data integration, thereby improving the hospital's information construction level and improving medical service efficiency.

[0030] To facilitate understanding of this embodiment, the embodiment of the present invention is described in detail below.

[0031] Embodiment 1:

[0032] Figure 1 This is a flow chart of a method for generating a patient data document provided in Example 1 of the present invention.

[0033] The method for generating a patient data file is applied to a system for generating a patient data file, and the system for generating a patient data file is communicatively connected to at least one medical system.

[0034] Specifically, there are multiple medical systems set up inside the hospital, which record various medical information of patients. For example: Registration system: records the patient's registration information, including registration time, department, doctor, patient basic information, etc. Diagnosis system: records the patient's basic information and diagnosis results, including diagnosis time, diagnosis doctor, diagnosis content, medical records, etc. Inspection system: records the patient's basic information and inspection information, including inspection items, inspection time, inspection results, etc. Hospitalization system: records the patient's basic information and hospitalization information, including hospitalization time, hospitalization medication, discharge time, etc.

[0035] Different medical systems are built by different manufacturers, and the data standards are not unified. The data standards of each medical system are stored in the data dictionary corresponding to each medical system.

[0036] Reference Figure 1 , a method for generating a patient data document, comprising:

[0037] Step S101, according to a preset time interval, obtain the patient information of each medical system in the current time interval; the patient information includes data source, patient ID, patient data field and patient data content; the data source is the medical system ID of the medical system corresponding to the patient information.

[0038] Here, the time interval is preset according to actual conditions, and can be set to day or week.

[0039] Specifically, at 0:00 a.m. every day, the patient data document generation system automatically generates SQL statements (Structured Query Language) to obtain the patient information corresponding to each medical system in the previous day.

[0040] In one embodiment, referring to Figure 2 Before step S101, the method further includes:

[0041] Step S201, establishing a dedicated channel with each medical system.

[0042] Here, dedicated channels are used to achieve secure communication between systems.

[0043] Step S202: Obtain patient information in each medical system through a dedicated channel.

[0044] Here, each medical system is pre-set with a database connection account with read-only permission for data query. Among them, you can choose JDBC (Java DataBase Connectivity, JAVA language connects to the database) and ODBC (Open Database Connectivity, open database interconnection) to connect. JDBC can connect to the database of the corresponding medical system by configuring the database connection, account, password, and driver; ODBC can connect to the database of the corresponding medical system through ODBC after configuring the DSN information in the server and using the DSN, account, and password.

[0045] Specifically, for JDBC connection, the connection is established through the database URL, user name and password. For ODBC connection, first configure an ODBC data source (DSN) in the system. Then, use the DSN name, user name and password in the code to establish a connection.

[0046] Furthermore, after the current patient data document generation system is connected to the medical system, the patient information corresponding to each medical system is obtained by executing SQL query.

[0047] In one embodiment, referring to Figure 3 Before step S101, the method further includes:

[0048] Step S301, obtaining the patient data pattern file sent by the user and the data dictionary corresponding to each medical system; wherein each medical system corresponds to a patient data pattern file.

[0049] Here, the structure of the patient data document is pre-configured in the patient data style file, including node content (such as name, gender, date of birth, etc.), hierarchical structure (tree structure of parent-child relationship), whether it is cyclic (a patient may have multiple medical records, each record is a cyclic node), data element (minimum data unit and format) requirements, etc.

[0050] The data dictionary corresponding to each medical system stores the data standards corresponding to each medical system, including storage methods and naming rules.

[0051] For example, in the registration system, the patient_id field corresponds to the patient ID, the name field corresponds to the patient's name, the birth_date field corresponds to the patient's date of birth, and so on.

[0052] Step S302: converting the patient data style file into a document template based on the data dictionary and the preset form template.

[0053] Here, the table template is an Excel format file. Based on the structure in the patient data style file, the keywords of the business system stored in the data dictionary are filled into the table template to generate a document template corresponding to the current medical system. Among them, the document template can be an ".xlsx" file. For example: registration information document template.xlsx, diagnosis information document template.xlsx, test information document template.xlsx and hospitalization information document template.xlsx.

[0054] Each Excel file is configured with node content and hierarchical structure.

[0055] Specifically, the registration information document is shown in Table 1 below.

[0056] Table 1 Registration information document

[0057]

[0058]

[0059] Step S303, determining the document template ID corresponding to the document template based on a preset numbering rule, and associating the document template ID corresponding to the document template and the medical system ID corresponding to the medical system and saving them as a medical system document template correspondence relationship.

[0060] Here, the preset numbering rule is pre-set according to actual conditions and can be a sequential numbering.

[0061] Among them, one medical system corresponds to one document template. Each document template corresponds to a unique document template ID, and this document template ID is associated with the medical system ID and saved.

[0062] Step S304, obtaining the document fields in the document template, associating the document template ID with the document fields and saving them as a document field correspondence relationship.

[0063] Here, the system reads all document fields in the document template, and associates these document fields with the template ID and saves them, so that the patient information obtained subsequently can be filled into the corresponding document template according to the document fields.

[0064] Specifically, the document fields in the registration information document are obtained, including: the patient_id field corresponds to the patient ID, the name field corresponds to the patient name, the sex field corresponds to the patient gender, the birth_date field corresponds to the patient date of birth, etc.

[0065] In one embodiment, a mandatory node is set in the patient data format file. Figure 4 After step S304, the method further includes:

[0066] Step S401: Based on the data dictionary, determine that the document field corresponding to the required node in the document template is a required document field; wherein there is at least one required document field.

[0067] Specifically, taking the patient style file corresponding to the hospitalization system as an example, in the hospitalization information document template, the patient ID, patient name, admission time and discharge time are mandatory nodes. Based on the data dictionary of the hospitalization system, the document fields corresponding to these mandatory nodes are determined as mandatory document fields.

[0068] Step S402: associate the medical system ID corresponding to the document template with the required document fields and save them as a system required document field correspondence relationship.

[0069] Here, the inpatient system ID is associated with these required document fields and saved to ensure that these fields must have values ​​in the subsequent data filling process to generate a complete patient data document corresponding to the inpatient system.

[0070] Step S102, based on the preset medical system document template correspondence relationship and the medical system ID, determine the target document template corresponding to each patient information.

[0071] Here, the medical system ID of the medical system corresponding to the patient information is determined according to the data source stored in the patient information, and the target document template corresponding to the current patient information is determined based on the medical system ID. For example, the hospitalization information document template is determined according to the hospitalization system ID.

[0072] In one embodiment, referring to Figure 5 Before step S103, the method further includes:

[0073] Step S501, based on the correspondence relationship between the system mandatory document fields, it is determined whether the patient data field includes the mandatory document field corresponding to the medical system ID.

[0074] Step S502, if the patient data field does not include any required document field, determine that the required document field not included in the patient data field is a document field to be supplemented, and the patient information is patient information to be generated, and associate the patient information to be generated with the document field to be supplemented and save it in a temporary storage file.

[0075] Specifically, before filling the patient data content into the hospitalization information document template, first check whether each patient data contains all the required document fields (such as patient ID, patient name, admission time and discharge time). If a patient's data lacks required document fields, such as missing discharge information, the patient's data is marked as patient information to be generated, and the missing diagnosis information fields are recorded and saved in a temporary storage file. This temporary storage file is used to supplement data and generate a complete patient data sub-document later.

[0076] Step S103, based on the preset document field correspondence, patient ID and patient data field, fill the patient data content into the target document template to automatically generate a patient data document corresponding to each medical system; wherein the patient data document includes at least one patient data sub-document corresponding to the patient ID.

[0077] Specifically, based on the document field correspondence, the patient data content corresponding to each patient (such as admission time and discharge time, etc.) is filled into the corresponding hospitalization information document template to generate a patient data document in the hospitalization system containing all patient information added the previous day. Among them, the patient data document is an Excel document, and the information of each patient is saved as a patient data sub-document in different sheets of the Excel file.

[0078] In one embodiment, referring to Figure 6 After step S101, the method further includes:

[0079] Step S601, obtaining the medical system ID and patient ID corresponding to the patient information to be generated in the temporary storage file.

[0080] Here, if the temporary storage file includes the patient information to be generated, it is determined that there is patient information for which no patient data document has been generated within the previous time interval, and the medical system ID and patient ID corresponding to the patient information to be generated are obtained.

[0081] Step S602, determining whether the patient information corresponding to the medical system ID includes the patient ID.

[0082] Step S603, if the patient information includes a patient ID, determine whether the patient data field corresponding to the patient ID includes all the document fields to be supplemented; if the patient data field includes all the document fields to be supplemented, determine the target document template corresponding to the patient information to be generated based on the correspondence between the medical system document template and the medical system ID.

[0083] Specifically, after obtaining the patient information in the inpatient system at 0:00 in the morning, check the patient information to be generated recorded in the temporary storage file to determine its corresponding medical system ID and patient ID. Verify whether the latest patient information in the inpatient system contains the previously missing required fields (such as admission time and discharge time). If it does, the inpatient information document template determined based on the inpatient system ID, the patient data content in the patient information to be generated and the patient information content corresponding to the newly added discharge information are filled into the inpatient information document template to generate the patient data sub-document of the patient, and save it in association with the patient data document corresponding to the inpatient system within the current time interval. Remove the patient information to be generated for the patient from the temporary storage file.

[0084] Furthermore, if the patient data field does not include all the document fields to be supplemented, for example, it is found that the patient data field with patient ID 12345 contains the patient ID and admission time, but still lacks the required field of diagnosis information, the patient's information will be kept in the temporary storage file and continue to be marked as to be generated. At the same time, a list of missing fields is automatically generated and sent to the relevant data maintenance personnel or doctors to remind them to supplement the patient's diagnosis information. In the next generation cycle, the latest data of patient ID 12345 will be checked again to determine whether the diagnosis information has been completed. If the data has not been supplemented for a long time (for example, more than a week), a high priority alarm will be set to remind managers that the patient's hospitalization record has a long period of missing data, which may affect the generation of medical records and the integrity of medical services.

[0085] Further, if the latest patient information in the inpatient system includes the previously missing admission time but does not include the previously missing discharge time, the patient information to be generated is updated according to the admission time.

[0086] Here, if the latest patient information in the inpatient system contains a previously missing discharge time but does not include a previously missing admission time, a list of missing fields is automatically generated and sent to the relevant data maintenance personnel or doctors to remind them to supplement the patient's admission time.

[0087] In one embodiment, the patient data file generation system is connected to the server in communication. After step S103, the method further includes:

[0088] Each patient data document is sent to the server so that the server stores the patient data sub-documents in association based on the patient ID.

[0089] Specifically, after obtaining the patient information corresponding to each medical system, and generating the patient data document corresponding to each medical system according to the patient information and the document template corresponding to each medical system.

[0090] Upload all patient data files to the hospital's server. The server associates and stores each patient's sub-document (sheet) in the patient data file based on the patient ID, so that doctors and managers can query and manage each patient's medical records at any time.

[0091] Doctors and managers can use the patient ID to find the patient data content of the patient in all medical systems, which can provide doctors with more comprehensive and accurate patient medical history and treatment records, helping doctors make more accurate diagnoses and decisions.

[0092] Those skilled in the art should be aware that the data document format being the XLS format is not used to limit the present invention, and other data document formats are also within the protection scope of the present invention, such as XML, TXT, etc.

[0093] The embodiment of the present invention provides a method for generating a patient data document, which is applied to a patient data document generation system, wherein the patient data document generation system is connected to at least one medical system in communication, and the method comprises: obtaining patient information of each medical system within the current time interval according to a preset time interval; the patient information comprises data source, patient ID, patient data field and patient data content; the data source is the medical system ID of the medical system corresponding to the patient information; based on the preset medical system document template correspondence relationship and the medical system ID, determining the target document template corresponding to each patient information; based on the preset document field correspondence relationship, patient ID and patient data field, filling the patient data content into the target document template to automatically generate a patient data document corresponding to each medical system; wherein the patient data document comprises at least one patient data sub-document corresponding to the patient ID. In this manner, by converting data in different medical systems into a patient data document with a unified data standard, the scattered patient information can be automatically converted into a standardized patient data document, thereby reducing the difficulty of patient data integration, thereby improving the hospital's information construction level and improving the efficiency of medical services. At the same time, it can improve the efficiency of medical information integration within the hospital, provide the hospital with a unified, centralized information acquisition channel, ensure the accuracy and consistency of patient document information, and provide doctors with more comprehensive and accurate patient medical history and treatment records, helping doctors make more accurate diagnoses and decisions.

[0094] Embodiment 2:

[0095] Figure 7 A schematic diagram of a system for generating patient data documents provided in Embodiment 2 of the present invention.

[0096] The patient data file generation system is communicatively connected to at least one medical system.

[0097] Reference Figure 7, a system for generating patient data documents, including:

[0098] The patient information acquisition module 1 is used to obtain the patient information of each medical system within the current time interval according to the preset time interval; the patient information includes the data source, patient ID, patient data field and patient data content; the data source is the medical system ID of the medical system corresponding to the patient information.

[0099] The document template determination module 2 is used to determine the target document template corresponding to each patient information based on the preset medical system document template correspondence relationship and the medical system ID.

[0100] The patient data document generation module 3 is used to fill the patient data content into the target document template based on the preset document field correspondence, patient ID and patient data field, so as to automatically generate a patient data document corresponding to each medical system; wherein the patient data document includes at least one patient data sub-document corresponding to the patient ID.

[0101] In one embodiment, referring to Figure 8 The system for generating patient data documents further comprises: a configuration module 4, the configuration module 4 is used to:

[0102] Obtain the patient data style file sent by the user and the data dictionary corresponding to each medical system; wherein each medical system corresponds to a patient data style file.

[0103] Convert patient data style files into document templates based on data dictionaries and preset form templates.

[0104] The document template ID corresponding to the document template is determined based on a preset numbering rule, and the document template ID corresponding to the document template and the medical system ID corresponding to the medical system are associated and saved as a medical system document template correspondence relationship.

[0105] Get the document fields in the document template, associate the document template ID with the document fields and save them as a document field correspondence relationship.

[0106] In one embodiment, a mandatory node is set in the patient data format file, referring to Figure 8 , configuration module 4, is also used to:

[0107] Based on the data dictionary, it is determined that the document field corresponding to the required node in the document template is a required document field; wherein there is at least one required document field.

[0108] The medical system ID corresponding to the document template and the required document fields are associated and saved as a system required document field correspondence relationship.

[0109] In one embodiment, referring to Figure 7, the patient data document generation module 3 is also used for:

[0110] Based on the correspondence between the system's mandatory document fields, determine whether the patient data field includes the mandatory document field corresponding to the medical system ID.

[0111] If the patient data field does not include any required document field, determine that the required document field not included in the patient data field is a document field to be supplemented, the patient information is patient information to be generated, and associate the patient information to be generated with the document field to be supplemented and save it in a temporary storage file.

[0112] In one embodiment, referring to Figure 7 , the patient information acquisition module 1 is also used for:

[0113] Obtain the medical system ID and patient ID corresponding to the patient information to be generated in the temporary storage file.

[0114] Determine whether the patient information corresponding to the medical system ID includes the patient ID.

[0115] If the patient information includes the patient ID, determine whether the patient data field corresponding to the patient ID includes all the document fields to be supplemented; if the patient data field includes all the document fields to be supplemented, determine the target document template corresponding to the patient information to be generated based on the correspondence between the medical system document templates and the medical system ID.

[0116] In one embodiment, referring to Figure 8 , configuration module 4, is also used to:

[0117] Establish a dedicated channel with each medical system.

[0118] Access patient information in every healthcare system through dedicated channels.

[0119] In one embodiment, the patient data file generation system is connected to the server in communication, referring to Figure 7 , the patient data document generation module 3 is also used for:

[0120] Each patient data document is sent to the server so that the server stores the patient data sub-documents in association based on the patient ID.

[0121] The embodiment of the present invention provides a system for generating patient data documents. In this method, by converting data in different medical systems into patient data documents with unified data standards, scattered patient information can be automatically converted into standardized patient data documents, thereby reducing the difficulty of patient data integration, thereby improving the level of hospital information construction and improving medical service efficiency. At the same time, it can improve the integration efficiency of medical information in the hospital, provide a unified and centralized information acquisition channel for the hospital, ensure the accuracy and consistency of patient document information, provide doctors with more comprehensive and accurate patient medical history and treatment records, and help doctors make more accurate diagnoses and decisions.

[0122] An embodiment of the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for generating a patient data document provided in the above embodiment are implemented.

[0123] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for generating a patient data document of the above embodiment are executed.

[0124] The computer program product provided in the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment and will not be repeated here.

[0125] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0126] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0127] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0128] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0129] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for generating a patient data file, characterized in that: A system for generating a patient data file is applied, wherein the system for generating a patient data file is communicatively connected to at least one medical system, and the method comprises: According to a preset time interval, obtaining the patient information corresponding to each medical system in the current time interval; the patient information includes a data source, a patient ID, a patient data field and a patient data content; the data source is a medical system ID of the medical system corresponding to the patient information; Determine the target document template corresponding to each of the patient information based on the preset medical system document template correspondence relationship and the medical system ID; Based on the preset document field correspondence, the patient ID and the patient data field, the patient data content is filled into the target document template to automatically generate a patient data document corresponding to each medical system; wherein the patient data document includes at least one patient data sub-document corresponding to the patient ID.

2. The method for generating a patient data file according to claim 1, characterized in that: Before the step of obtaining patient information of each medical system within the current time interval according to the preset time interval, the method further includes: Acquire the patient data pattern file sent by the user and the data dictionary corresponding to each of the medical systems; wherein each of the medical systems corresponds to one of the patient data pattern files; Based on the data dictionary and the preset form template, converting the patient data style file into a document template; Determine the document template ID corresponding to the document template based on a preset numbering rule, and associate the document template ID corresponding to the document template with the medical system ID corresponding to the medical system and save it as a medical system document template correspondence relationship; The document fields in the document template are obtained, and the document template ID is associated with the document fields and saved as a document field correspondence relationship.

3. The method for generating a patient data file according to claim 2, characterized in that: The patient data style file is provided with mandatory nodes; After the step of obtaining the document fields in the document template and associating the document template ID with the document fields and saving them as a document field correspondence relationship, the method further includes: Based on the data dictionary, determining that the document field corresponding to the required node in the document template is a required document field; wherein the number of required document fields is at least one; The medical system ID corresponding to the document template and the required document fields are associated and saved as a system required document field correspondence relationship.

4. The method for generating a patient data file according to claim 3, characterized in that: Before the step of filling the patient data content into the target document template based on the preset document field correspondence, the patient ID and the patient data field to automatically generate a patient data document corresponding to each medical system, the method further includes: Based on the correspondence relationship between the system mandatory document fields, determining whether the patient data field includes the mandatory document field corresponding to the medical system ID; If the patient data field does not include any of the required document fields, it is determined that the required document fields not included in the patient data field are document fields to be supplemented, and the patient information is patient information to be generated, and the patient information to be generated and the document fields to be supplemented are associated and saved in a temporary storage file.

5. The method for generating a patient data file according to claim 4, characterized in that: After the step of obtaining patient information of each medical system within the current time interval according to the preset time interval, the method further includes: Obtain the medical system ID and the patient ID corresponding to the patient information to be generated in the temporary storage file; Determine whether the patient information corresponding to the medical system ID includes the patient ID; If the patient information includes the patient ID, determine whether the patient data field corresponding to the patient ID includes all the document fields to be supplemented; if the patient data field includes all the document fields to be supplemented, determine the target document template corresponding to the patient information to be generated based on the correspondence between the medical system document templates and the medical system ID.

6. The method for generating a patient data file according to claim 1, characterized in that: Before the step of obtaining patient information of each medical system within the current time interval according to the preset time interval, the method further includes: establishing a dedicated channel with each of said medical systems; The patient information in each of the medical systems is obtained through the dedicated channel.

7. The method for generating a patient data file according to claim 1, characterized in that: The patient data document generation system is communicatively connected to the server; After the step of filling the patient data content into the target document template based on the preset document field correspondence, the patient ID and the patient data field to automatically generate a patient data document corresponding to each medical system, the method further includes: Each of the patient data sub-documents is sent to the server, so that the server stores the patient data sub-documents in association based on the patient ID.

8. A system for generating patient data files, characterized in that: The patient data file generation system is communicatively connected to at least one medical system, and the system includes: A patient information acquisition module, used to acquire patient information of each medical system within a current time interval according to a preset time interval; the patient information includes a data source, a patient ID, a patient data field, and a patient data content; the data source is a medical system ID of the medical system corresponding to the patient information; A document template determination module, used to determine a target document template corresponding to each of the patient information based on a preset medical system document template correspondence relationship and the medical system ID; A patient data document generation module is used to fill the patient data content into the target document template based on the preset document field correspondence, the patient ID and the patient data field, so as to automatically generate a patient data document corresponding to each medical system; wherein the patient data document includes at least one patient data sub-document corresponding to the patient ID.

9. An electronic device, characterized in that: It includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and is characterized in that when the processor executes the computer program, the method for generating a patient data document described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method for generating a patient data document according to any one of claims 1 to 7 is implemented.