Nursing document generation method, electronic equipment and storage medium
By introducing document templates and standard data elements into the obstetric nursing document system, external data are automatically acquired and entered, and the problems of repeated data entry and inconsistency are solved, and the efficiency and accuracy of document generation are improved.
Patent Information
- Application Number
- CN202510165301.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-06-06
AI Technical Summary
The existing obstetric nursing document system has the problem of repeated data entry and inconsistency, and the differences in the types of documents in different hospitals need to be redeveloped, resulting in a decrease in nursing work efficiency.
Provide a method for generating nursing documents. By obtaining the document template selected by the user, combining standard data elements, external data are automatically obtained and entered, and the standard data element collection is updated based on user input information, thereby generating target documents and reducing repeated data entry.
It improves the availability and accuracy of nursing document data, reduces the entry cost and error risks of medical staff, and improves the efficiency and accuracy of document generation.
Smart Images

Figure CN120108618A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical information technology, and more specifically, to a method for generating nursing documents, an electronic device, and a storage medium. Background Art
[0002] Obstetric nursing documents are a general term for the text, symbols and charts formed by the observation of the condition of the nursing object and the implementation of nursing measures and results by the hospital medical staff during the nursing activities. It is a comprehensive record of nursing work, a scientific basis for correct diagnosis, selection of treatment and nursing, and also reflects the hospital's medical and nursing quality, management level and nurses' professional quality. It is also an important data for clinical, teaching and scientific research.
[0003] At present, the system based on BS architecture or fixed web form mode can realize the electronic entry and editing of various obstetric nursing documents, and support electronic review and signature. However, there are still some shortcomings. For example, there is a problem of "focusing on documents and neglecting data". Although the entry and editing functions have been realized, various nursing documents still have the problem of repeated entry of the same data. When the data is cumbersome and complicated, doctors manually enter data, which is very likely to cause data inconsistency problems, which is troublesome and time-consuming to trace. This not only brings a burden to medical staff, but may also lead to legal risks in serious cases. In addition, due to the differences in the types of documents in different hospitals, if the hospital needs to add a specific type of document, it needs to be redeveloped, which is time-consuming and labor-intensive, greatly reducing the efficiency of the normal nursing work of the hospital. Summary of the invention
[0004] The purpose of this application is to provide a method for generating nursing documents, an electronic device and a storage medium to address the deficiencies in the above-mentioned prior art, thereby reducing the operations of repeated data entry and correction in nursing documents and improving the availability and accuracy of data.
[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for generating a nursing document, the method comprising:
[0007] Obtaining a document template for a target patient selected by a user, wherein the document template includes a plurality of document elements and standard data elements in a current nursing field bound to each document element, wherein the standard data elements are pre-constructed based on data related to the current nursing field;
[0008] Based on the data entry configuration information pre-configured for each first standard data element belonging to the external data type in the document template, the value of each first standard data element is obtained, the data entry configuration information includes: the identifier of the first standard data element, the identifier of the document element bound to the first standard data element, the identifier of the parameter corresponding to the first standard data element in the external system, and the document parameter processor corresponding to the first standard data element, and the value of the first standard data element is pre-entered in the external system;
[0009] For a second standard data element belonging to a non-external data type, determine whether a value of the second standard data element exists in the standard data element set of the target patient; if so, obtain the value of the second standard data element; if not, obtain the value of the second standard data element according to user input information, and enter the value of the second standard data element into the standard data element set of the target patient;
[0010] A target document for the target patient is generated according to the value of each first standard data element, the value of each second standard data element and the document template.
[0011] Optionally, before obtaining the document template for the target patient selected by the user, the method includes:
[0012] Establishing a binding relationship between each document element in the initial document template and the standard data element, and obtaining the standard data element bound to each document element;
[0013] For each first standard data element belonging to the external data type, configure data entry configuration information of each first standard data element;
[0014] The document template is generated according to the initial document template, each document element in the initial document template, the standard data element bound to each document element, and the data entry configuration information of each first standard data element.
[0015] Optionally, the establishing of a binding relationship between each document element in the initial document template and a standard data element includes:
[0016] In response to a target document element selected by a user in the initial document template, displaying a property interface of the target document element;
[0017] In response to a user triggering an operation on a standard data element search button on the attribute interface, a standard data element library interface is displayed, wherein the standard data element library contains all standard data elements;
[0018] In response to a target standard data element selected by a user in the standard data element library interface, obtaining information of the target standard data element, and associating the information of the target standard data element with the attribute information of the target document element;
[0019] In response to a user's confirmation operation on the attribute interface of the target document element, a binding relationship between the target document element and the target standard data element is established according to the attribute information of the target document element.
[0020] Optionally, the configuration of the data entry configuration information of each first standard data element belonging to the external data type includes:
[0021] In response to a user triggering operation on a new button on a data entry interface, a new interface is displayed, wherein the new interface includes at least one parameter to be configured and an area to be filled corresponding to each parameter to be configured;
[0022] In response to the user's input operation on each area to be filled, obtaining the parameter value input by the user for each parameter to be configured;
[0023] In response to the user's triggering operation on the confirmation button on the new creation interface, the data entry configuration information of the first standard data element is generated according to the parameter values inputted by each parameter to be configured.
[0024] Optionally, the step of obtaining the value of each first standard data element based on the pre-configured data entry configuration information of each first standard data element belonging to the external data type in the document template includes:
[0025] In response to a user's selection triggering operation on the document template of the target patient, determining whether the standard data element bound to the document element in the document template belongs to the first standard data element;
[0026] If so, obtaining the identifier of the first standard data element, the identifier of the document element bound to the first standard data element, the identifier of the parameter corresponding to the first standard data element in the external system, and the document parameter processor corresponding to the first standard data element in the data entry information of the first standard data element;
[0027] Sending a request message to an external system through a document parameter processor corresponding to the first standard data element, wherein the request message includes an identifier of a parameter corresponding to the first standard data element in the external system, and the request message is used to instruct to obtain a value of the parameter corresponding to the first standard data element in the external system;
[0028] The parameter value returned by the external system is received, and the parameter value is standardized to obtain the value of the first standard data element.
[0029] Optionally, for a second standard data element belonging to a non-external data type, determining whether a value of the second standard data element exists in the standard data element set of the target patient includes:
[0030] Acquire the paragraph type to which the second standard data element belongs, and determine the target paragraph where the second standard data element is located in the standard data element set of the target patient according to the paragraph type to which the second standard data element belongs;
[0031] The second standard data element is searched from the target paragraph according to the identifier of the second standard data element, and it is confirmed whether the value of the second standard data element exists.
[0032] Optionally, entering the value of the second standard data element into the standard data element set includes:
[0033] The value of the second standard data element and the second standard data element are entered into the standard data element set of the target patient according to the paragraph type to which the second standard data element belongs.
[0034] Optionally, generating a target document for the target patient according to the value of each first standard data element, the value of each second standard data element and the document template includes:
[0035] Using the value of each of the first standard data elements as the value of the document element bound to each of the first standard data elements, and using the value of each of the second standard data elements as the value of the document element bound to each of the second standard data elements;
[0036] The value of each document element is entered into the position of each document element in the document template to generate the target document for the target patient.
[0037] In a second aspect, an embodiment of the present application further provides a device for generating a nursing document, the device comprising:
[0038] An acquisition module, used to acquire a document template selected by a user for a target patient, wherein the document template includes a plurality of document elements and standard data elements in the current nursing field bound to each document element, wherein the standard data elements are pre-constructed based on data related to the current nursing field;
[0039] an acquisition module, for acquiring the value of each first standard data element based on the data entry configuration information pre-configured for each first standard data element belonging to the external data type in the document template, wherein the data entry configuration information includes: an identifier of the first standard data element, an identifier of a document element bound to the first standard data element, an identifier of a parameter corresponding to the first standard data element in an external system, and a document parameter processor corresponding to the first standard data element, wherein the value of the first standard data element is pre-entered in the external system;
[0040] a determination module, for determining, for a second standard data element belonging to a non-external data type, whether a value of the second standard data element exists in the standard data element set of the target patient, and if so, obtaining the value of the second standard data element; if not, obtaining the value of the second standard data element according to user input information, and entering the value of the second standard data element into the standard data element set of the target patient;
[0041] A generating module is used to generate a target document for the target patient according to the value of each first standard data element, the value of each second standard data element and the document template.
[0042] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when an application is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to execute the steps of the method for generating nursing documents described in the first aspect above.
[0043] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is read and executes the steps of the method for generating nursing documents described in the first aspect above.
[0044] The beneficial effects of this application are:
[0045] The present application provides a method for generating nursing documents, an electronic device, and a storage medium. Based on the pre-configured data entry configuration information of each first standard data element belonging to an external data type in a document template for a target patient selected by a user, the value of each first standard data element is obtained, so that standard introduction of non-editable external data can be achieved. Regardless of the source of the external data, the introduced external data can be uniformly processed according to the data entry configuration information, ensuring the consistency and comparability of the data, and providing convenience for subsequent data analysis and processing; for a second standard data element belonging to a non-external data type, it is determined whether the value of the second standard data element exists in the standard data element set of the target patient, and if so, the value of the second standard data element is obtained. According to the value of the first standard data element, if not, the value of the second standard data element is obtained according to the user's input information, and the value of the second standard data element is entered into the standard data element set of the target patient; by directly using the value of the second data existing in the standard data element set as the value of the second data in the document to be generated, repeated entry of data can be avoided, the interconnection and interoperability of data between various documents can be improved, repeated entry of the same concepts and data can be avoided, deviations can be avoided, and the entry cost and error risk of medical staff can be reduced. At the same time, by entering the value of the second standard data element input by the user into the standard data element set of the target patient, data integration can be achieved, solving the problem of data duplication caused by data attribution or boundary problems, thereby improving the availability and accuracy of data. According to the value of each first standard data element and the value of each second standard data element and the document template, a target document for the target patient is generated, and the efficiency and accuracy of generating the target document are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0048] Figure 2 A flowchart of a method for generating a nursing document provided in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of a document template provided in an embodiment of the present application;
[0050] Figure 4 A flowchart of a method for generating a document template provided in an embodiment of the present application;
[0051] Figure 5 A flowchart of a method for establishing a binding relationship provided in an embodiment of the present application;
[0052] Figure 6 A schematic diagram of a property interface provided in an embodiment of the present application;
[0053] Figure 7 A flowchart of a method for configuring information provided in an embodiment of the present application;
[0054] Figure 8 A schematic diagram of a new interface provided in an embodiment of the present application;
[0055] Fig. 9 A schematic diagram of a configuration list provided in an embodiment of the present application;
[0056] Fig.10 A flowchart of another method for generating nursing documents provided in an embodiment of the present application;
[0057] Fig.11 A schematic diagram of a standard data element provided in an embodiment of the present application;
[0058] Fig.12 A schematic diagram of a nursing document provided in an embodiment of the present application;
[0059] Fig.13 A schematic diagram of another nursing document provided in an embodiment of the present application;
[0060] Fig.14 A schematic diagram of a device for a method for generating nursing documents provided in an embodiment of the present application;
[0061] Fig.15 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0063] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0064] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0065] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the electronic device includes a data standardization module, a document template definition module, an external data introduction module and a user interaction module.
[0066] Among them, the data standardization module can be used to pre-fabricate standard data elements in the current nursing field. Based on the survey of obstetric hospitals and products that have been launched, combined with the common data of clinical activities during childbirth, and based on common paragraphs, more than 240 kinds of obstetric standard data elements have been pre-fabricated. These standard data elements have been pre-fabricated at the time of leaving the factory, which basically meets the needs of obstetric documents in clinical activities.
[0067] Among them, the document template definition module can be used to bind each document element in the designed document template with the pre-made standard data element, so as to realize the binding and storage of the standard data element and the document element. When multiple document templates are bound to the same standard data element, the value of the standard data element only needs to be stored once, so as to ensure the uniqueness of the value of its standard data element. Document templates can reference each other, so there is no need to repeatedly enter data or perform additional synchronization processing.
[0068] Among them, the external data import module can be used to standardize the external data. Regardless of the source of the data, they can be processed uniformly, ensuring the consistency and comparability of the data, and facilitating subsequent data processing and analysis. This avoids the complex internal communication conversion process.
[0069] Among them, the user interaction module can show the interactive process of the document to the user.
[0070] Optionally, the electronic device may be a terminal device with computing and display capabilities, such as a mobile phone, tablet computer, laptop computer, PDA, desktop computer, or a server. Specifically, it may be applied to an application in a terminal device, such as an APP (application) in a mobile phone, an application system on a computer, etc.
[0071] Optionally, the electronic device can be an electronic device used by different users in different departments in the nursing field, such as doctors in the delivery department, nurses in the delivery department, doctors in the neonatal department, nurses in the neonatal department, etc. Different users in different departments can use the electronic device to generate different nursing documents for target patients using the method for generating nursing documents provided in this application.
[0072] The specific implementation process of generating the nursing documents provided in the embodiments of the present application is explained in detail below.
[0073] Figure 2 The flowchart of a method for generating a nursing document provided in an embodiment of the present application is shown in FIG. 1 , wherein the execution subject of the method is the aforementioned electronic device. Figure 2 As shown, the method includes:
[0074] S101. Obtain a document template for a target patient selected by a user.
[0075] Among them, the document template may include multiple document elements and standard data elements in the current nursing field bound to each document element. The standard data elements are constructed in advance based on the data involved in the current nursing field. The constructed standard data elements include: the standard data element name, the standard data element code and the paragraph type to which the standard data element belongs.
[0076] The user may refer to a nurse, a doctor, or other medical staff. In the field of nursing, different types of nursing documents need to be generated for patients, such as delivery record documents, newborn record documents, prenatal care record documents, postpartum mother observation record documents, postpartum newborn observation record documents, and other delivery documents. Document templates corresponding to different types of nursing documents are pre-established. For example, for delivery record documents, document template 1 corresponds to the document template 2, such as Figure 3 As shown, the document template 1 may include multiple document elements and standard data elements in the current nursing field bound to each document element. Each document element in the document template 1 is a document element related to delivery, such as the onset of uterine contractions, the first stage of labor, full cervical dilation, fetal delivery and other document elements. The standard data element bound to "full cervical dilation" may be, for example, "full cervical dilation time", and the standard data element corresponding to "fetal delivery time" may be, for example, "fetal delivery time".
[0077] Among them, standard data elements are pre-made based on the research of obstetric hospitals and products that have been launched, combined with the common data of clinical activities during childbirth, and based on common paragraphs, to prepare standard data elements commonly used in obstetric nursing. These standard data elements have been pre-made when they leave the factory, and can basically meet the needs of obstetric documents in clinical activities. The pre-making of standard data elements can be carried out in the data standardization module.
[0078] S102. Based on the pre-configured data entry configuration information of each first standard data element belonging to the external data type in the document template, obtain the value of each first standard data element.
[0079] The data entry configuration information may include: the identifier of the first standard data element, the identifier of the document element bound to the first standard data element, the identifier of the parameter corresponding to the first standard data element in the external system, and the document parameter processor corresponding to the first standard data element, and the value of the first standard data element is pre-entered in the external system. The identifier of the parameter corresponding to the first standard data element in the external system means: if the name of the first standard data element is "birth weight", and "birthWeight" is used to represent birth weight in the external system, then the identifier of the parameter corresponding to the first standard data element "birth weight" in the external system is "birthWeight".
[0080] Optionally, for some data that do not need to be manually entered by medical staff, such as high-risk data of outpatient clinics or test reports, these data belong to external data types. The values of these data belonging to external data types are pre-entered in the external system. Therefore, it is necessary to obtain the values of these data from the external system. External data, for example, basic information of patients, specifically age, gender, medical record number, etc. Moreover, in the document template, these first standard data elements belonging to external data types are not editable.
[0081] Optionally, since the data sources in the external system are different, such as different data formats, the data entered into the external system can be uniformly converted and processed according to the data entry configuration information of each first standard data element, so as to obtain the value of each first standard data element, and standardize the obtained values of each first standard data element, thereby ensuring the consistency and comparability of the data and facilitating subsequent data analysis and processing.
[0082] S103. For a second standard data element that is a non-external data type, determine whether a value of the second standard data element exists in the standard data element set of the target patient.
[0083] Optionally, if yes, execute the following S104; if no, execute the following S105.
[0084] The target patient's standard data element set includes the second standard data element and the value of the second standard data element. The target patient's standard data element set may be obtained based on the standard data elements in other documents of the target patient that have been generated.
[0085] S104: Obtain the value of the second standard data element.
[0086] Specifically, if it is determined that the value of the second standard data element exists in the standard data element set of the target patient, that is, the value of the second standard data element has been entered in other documents of the target patient, then the value of the second standard data element can be directly obtained from the standard data element set of the target patient. In other words, for the second standard data element whose value exists in the standard data element set of the target patient, there is no need for the user to manually input it, and the value of the second standard data element in other documents generated for the target patient can be directly shared, thereby reducing the repeated entry of the value of the same standard data element and improving the connectivity, availability and accuracy of data between various documents.
[0087] S105. Obtain a value of a second standard data element according to the user's input information, and enter the value of the second standard data element into a standard data element set for the target patient.
[0088] Specifically, for a standard data element whose value does not exist in the target patient's standard data element set, the value of the second standard data element input by the user can be obtained, and the value of the second standard data element input by the user can be entered into the target patient's standard data element set, thereby updating the target patient's standard data element set, so that when other documents are generated subsequently, the updated standard data element set of the target patient can be shared.
[0089] S106. Generate a target document for a target patient according to the value of each first standard data element, the value of each second standard data element and the document template.
[0090] Specifically, a target document for the target patient may be generated using a preset method according to the value of each first standard data element, the value of each second standard data element, and the format of the document template.
[0091] In this embodiment, based on the pre-configured data entry configuration information of each first standard data element belonging to the external data type in the document template selected by the user for the target patient, the value of each first standard data element is obtained, so that the standard introduction of non-editable external data can be realized. Regardless of the source of the external data, the introduced external data can be uniformly processed according to the data entry configuration information, ensuring the consistency and comparability of the data, and providing convenience for subsequent data analysis and processing; for the second standard data element belonging to the non-external data type, it is determined whether the value of the second standard data element exists in the standard data element set of the target patient. If so, the value of the second standard data element is obtained, if not, the value of the second standard data element is obtained according to the user. The value of the second standard data element is obtained based on the input information of the user, and the value of the second standard data element is entered into the standard data element set of the target patient; by directly using the value of the second data in the standard data element set as the value of the second data in the document to be generated, repeated entry of data can be avoided, the interconnection and interoperability of data between various documents can be improved, repeated entry of the same concepts and data can be avoided, deviations can be avoided, and the entry cost and error risk of medical staff can be reduced. At the same time, by entering the value of the second standard data element input by the user into the standard data element set of the target patient, data integration can be achieved, solving the problem of data duplication caused by data attribution or boundary problems, thereby improving the availability and accuracy of data. According to the value of each first standard data element and the value of each second standard data element and the document template, a target document for the target patient is generated, and the efficiency and accuracy of generating the target document are improved.
[0092] Figure 4 A flowchart of a method for generating a document template provided in an embodiment of the present application is shown as follows: Figure 4 As shown, the step of obtaining the document template for the target patient selected by the user in S101 may include:
[0093] S201. Establish a binding relationship between each document element in the initial document template and the standard data element, and obtain the standard data element bound to each document element.
[0094] Optionally, each of the different document templates corresponds to an initial document template, and the initial document template only contains a plurality of document elements. Therefore, a binding relationship between each document element in the initial document template and a standard data element is established for each initial document template to obtain a standard data element bound to each document element. The document elements in different initial document templates can be bound to the same standard data element, for example, the document element "name" in the initial document template 1 is bound to the standard data element "name", the document element "name" in the initial document template 2 is bound to the standard data element "name", and the document element "person's name" in the initial document template 3 is bound to the standard data element "name".
[0095] S202. For each first standard data element belonging to the external data type, configure data entry configuration information of each first standard data element.
[0096] Optionally, for the first standard data element belonging to the external data type, the document element corresponding to the first standard data element also belongs to the external data, for example, the document element "name" (standard data element "name") in the initial document template 1 belongs to the external data type; the document element "name" (standard data element "name") in the initial document template 2 belongs to the external data type; the document element "person's name" (standard data element "name") in the initial document template 3 belongs to the external data type. Then, the user can enter the configuration information for the configuration data of the standard data element "name" in the initial document template 1, that is, enter the configuration information for the configuration data of the document element "name" in the initial document template 1. And so on, enter the configuration information for the configuration data of the standard data elements in the initial document template 2 and the initial document template 3 respectively.
[0097] S203: Generate a document template according to the initial document template, each document element in the initial document template, the standard data element bound to each document element, and the data entry configuration information of each first standard data element.
[0098] Optionally, the format of the generated document template is the same as that of the initial document template, and the generated document template includes various document elements and standard data elements bound to each document element. For the first standard data element belonging to the external data type, it also includes data entry configuration information of the first standard data element.
[0099] In this embodiment, by pre-binding each document element in each initial document template with a standard data element, multiple document templates can be bound to the same standard data element, so that the data only needs to be stored once, and the document templates can reference each other, so that there is no need to repeatedly enter the value of the same standard data element when it is used subsequently, and the data entry configuration information of the first standard data element of the external data type is pre-configured, so that when the value of the first standard data element is subsequently obtained from the external system, it can be processed uniformly to ensure data consistency and standardization.
[0100] Figure 5 A flowchart of a method for establishing a binding relationship provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the above S201, establishing the binding relationship between each document element in the initial document template and the standard data element, may include:
[0101] S301. In response to a target document element selected by a user in an initial document template, a property interface of the target document element is displayed.
[0102] Specifically, when the user selects a target document element in the initial document template, the property interface of the target document element may be displayed, such as Figure 6 As shown, if the selected target document element is "Duration of the third stage of labor", the attribute information such as the unique code of the target document element, the element code of the target document element, the element name of the target document element, the standard data element, the standard data element code, the standard data element concept ID, etc. can be displayed in the attribute interface of the target element.
[0103] S302: In response to the user's triggering operation on the standard data element search button on the property interface, a standard data element library interface is displayed.
[0104] The standard data element library includes all standard data elements.
[0105] For example, the user can Figure 6 Clicking the search button for standard data elements in the property interface of the target document element shown will respond to the user's trigger operation on the search button and display the standard data element library interface, in which all standard data elements are displayed.
[0106] S303. In response to the target standard data element selected by the user in the standard data element library interface, the information of the target standard data element is obtained, and the information of the target standard data element is associated with the attribute information of the target document element.
[0107] The information of the target standard data element may include: the name of the target standard data element, the code of the target standard data element, the concept ID of the target standard data element and other information.
[0108] Exemplarily, if the target standard data element selected by the user is "Duration of the third stage of labor," the information of the "Duration of the third stage of labor," such as the name of the "Duration of the third stage of labor," the code of the "Duration of the third stage of labor," the concept ID of the "Duration of the third stage of labor," and other information are obtained, and then the information of the "Duration of the third stage of labor" is entered into the attribute information of the target document element "Third stage of labor."
[0109] S304. In response to the user's confirmation operation on the attribute interface of the target document element, a binding relationship between the target document element and the target standard data element is established according to the attribute information of the target document element.
[0110] Specifically, when the user clicks the confirmation button in the property interface of the target document element, a binding relationship between the target document element and the target standard data element can be generated.
[0111] Figure 7 A flowchart of a method for configuring information provided in an embodiment of the present application is shown in FIG. Figure 7As shown, in the above S202, for each first standard data element belonging to the external data type, configuring the data entry configuration information of each first standard data element may include:
[0112] S401. In response to a user triggering an operation on a new button on a data entry interface, a new interface is displayed.
[0113] The new interface includes at least one parameter to be configured and an area to be filled corresponding to each parameter to be configured. Figure 8 As shown, the parameters to be configured may include, for example: a document element name, a document writing parameter, a document parameter value processor, a standard data element concept identifier, a standard data element name, etc.
[0114] S402: In response to the user's input operation on each area to be filled, obtain the parameter value input by the user for each parameter to be configured.
[0115] For example, the user can enter "birth weight (fetus 2)" in the to-be-filled area of the document element name, enter "birthWeight2" in the to-be-filled area of the document write parameter, enter "com.winning.common.selfemr.NursingStationRpcProcessor" in the to-be-filled area of the document parameter value processor, enter "birth weight" in the to-be-filled area of the standard data element identifier, and enter "399582440" in the to-be-filled area of the standard data element concept identifier.
[0116] S403: In response to the user's triggering operation on the confirmation button on the new creation interface, data entry configuration information of the first standard data element is generated according to the parameter values inputted by each parameter to be configured.
[0117] Specifically, the data entry configuration information of the first standard data element can be generated according to the parameter value of each parameter to be configured, and the data entry configuration information of the first standard data element is added to the configuration list, such as Fig. 9 As shown, Fig. 9 The data entry configuration information of at least one first standard data element is included, and the data entry configuration information of each first standard data element can also be modified and deleted. Fig. 9 The data entry configuration information of the first standard data element may also include an activation type, which may include activation and deactivation.
[0118] in, Fig. 9 The document writing parameter is the identifier of the parameter corresponding to the first standard data element in the external system, the document parameter value processor is the document parameter processor corresponding to the first standard data element, and the document element name is the identifier of the document element bound to the first standard data element.
[0119] Optionally, the above S102, obtaining the value of each first standard data element based on the pre-configured data entry configuration information of each first standard data element belonging to the external data type in the document template, may include:
[0120] Optionally, in response to a selection trigger operation of a document template for a target patient, it is possible to determine whether the standard data element bound to the document element in the document template belongs to the first standard data element. If so, the identifier of the first standard data element in the data entry information of the first standard data element, the identifier of the document element bound to the first standard data element, the identifier of the parameter corresponding to the first standard data element in the external system, and the document parameter processor corresponding to the first standard data element are obtained.
[0121] Among them, when determining whether the standard data element bound to the document element in the document template belongs to the first standard data element, specifically, it can be determined whether the document element is an editable element. If not, it means that the standard data element bound to the document element belongs to the first standard data element.
[0122] Specifically, a request message may be sent to an external system through a document parameter processor corresponding to the first standard data element, wherein the request message includes an identifier of a parameter corresponding to the first standard data element in the external system, and the request message is used to instruct to obtain the value of the parameter corresponding to the first standard data element in the external system. When the external system receives the request message, the value of the corresponding parameter is returned according to the identifier of the parameter corresponding to the first standard data element in the external system in the request message. When the electronic device receives the parameter value returned by the external system, the document parameter processor corresponding to the first standard data element performs standardization processing on the returned parameter value to obtain the value of the first standard data element.
[0123] Fig.10 A flowchart of another method for generating nursing documents provided in an embodiment of the present application is shown as follows: Fig.10 As shown, in the above S103, for the second standard data element belonging to the non-external data type, determining whether the value of the second standard data element exists in the standard data element set of the target patient may include:
[0124] S501. Obtain the paragraph type to which the second standard data element belongs, and determine the target paragraph where the second standard data element is located in the standard data element set of the target patient according to the paragraph type to which the second standard data element belongs.
[0125] The paragraph type to which the second standard data element belongs is determined when the second standard data element is prefabricated, that is, when the standard data element is prefabricated in the aforementioned data standardization module, the prefabricated standard data element includes the standard data element name, the concept identifier of the standard data element, and the paragraph type of the standard data element, specifically as follows Fig.11 As shown, the paragraph type to which "postpartum diastolic blood pressure" belongs is the postpartum examination situation, and the paragraph type to which "newborn medical number" belongs is the basic information of the fetus.
[0126] S502: Search the target paragraph for the second standard data element according to the identifier of the second standard data element, and confirm whether the value of the second standard data element exists.
[0127] Optionally, the set of standard data elements of the target patient is stored in the form of paragraphs, that is, a paragraph of one type contains at least one standard data element of that type and / or the value of each standard data element.
[0128] Optionally, when the second standard data element is found in the target paragraph, it is determined whether there is a value of the second standard data element. When determining whether there is a value of the second standard data element, first determine the paragraph where the second standard data element is located, and then confirm whether there is a value of the second standard data element, which can improve retrieval efficiency.
[0129] Optionally, in S105, entering the value of the second standard data element into the standard data element set of the target patient may include:
[0130] Specifically, the value of the second standard data element and the second standard data element may be entered into the standard data element set of the target patient according to the paragraph type to which the second standard data element belongs.
[0131] Optionally, for each document template, the second standard data element and the value of the second standard data element can be entered into the standard data set of the target patient, so that when the same second standard data element is used subsequently, it can be directly obtained from the standard data set of the target patient, avoiding repeated input of the same standard data element by medical staff and improving data accuracy.
[0132] In this embodiment, by storing the standard data elements according to the paragraph type, it helps to realize the digital management and structured storage of case information, and facilitates the subsequent retrieval, analysis and use of the standard data elements.
[0133] Optionally, in the above S106, generating a target document for a target patient according to the value of each first standard data element and the value of each second standard data element and the document template may include:
[0134] Optionally, the value of each first standard data element is used as the value of the document element bound to each first standard data element, the value of each second standard data element is used as the value of the document element bound to each second standard data element, and the value of each document element is entered into the position of each document element in the document template to generate a target document for the target patient. The obtained target document is as follows: Fig.12 As shown, in Fig.12 It contains various document elements and their values.
[0135] Fig.12 A schematic diagram of a nursing document provided in an embodiment of the present application, Fig.12 If the nursing document in is a delivery document, the user first enters the value of the fetal position in the delivery document, that is, selects the fetal position as LOP, and then generates other nursing documents for the target patient, such as Fig.13 If the newborn record document also includes the fetal position, the newborn record document will automatically import the value of the fetal position in the previous delivery document without the user having to input it again.
[0136] Fig.14 A schematic diagram of a method for generating a nursing document provided in an embodiment of the present application is shown in FIG. Fig.14 As shown, the device comprises:
[0137] An acquisition module 601 is used to acquire a document template for a target patient selected by a user, wherein the document template includes a plurality of document elements and standard data elements in the current nursing field bound to each document element, wherein the standard data elements are pre-constructed based on data related to the current nursing field;
[0138] The acquisition module 601 is used to acquire the value of each first standard data element based on the data entry configuration information pre-configured for each first standard data element belonging to the external data type in the document template, wherein the data entry configuration information includes: the identifier of the first standard data element, the identifier of the document element bound to the first standard data element, the identifier of the parameter corresponding to the first standard data element in the external system, and the document parameter processor corresponding to the first standard data element, and the value of the first standard data element is pre-entered in the external system;
[0139] A determination module 602 is used to determine, for a second standard data element belonging to a non-external data type, whether a value of the second standard data element exists in the standard data element set of the target patient, and if so, obtain the value of the second standard data element; if not, obtain the value of the second standard data element according to user input information, and enter the value of the second standard data element into the standard data element set of the target patient;
[0140] The generating module 603 is used to generate a target document for the target patient according to the value of each first standard data element, the value of each second standard data element and the document template.
[0141] Optionally, the acquisition module 601 is specifically used for:
[0142] Establishing a binding relationship between each document element in the initial document template and the standard data element, and obtaining the standard data element bound to each document element;
[0143] For each first standard data element belonging to the external data type, configure data entry configuration information of each first standard data element;
[0144] The document template is generated according to the initial document template, each document element in the initial document template, the standard data element bound to each document element, and the data entry configuration information of each first standard data element.
[0145] Optionally, the acquisition module 601 is specifically used for:
[0146] In response to a target document element selected by a user in the initial document template, displaying a property interface of the target document element;
[0147] In response to a user triggering an operation on a standard data element search button on the attribute interface, a standard data element library interface is displayed, wherein the standard data element library contains all standard data elements;
[0148] In response to a target standard data element selected by a user in the standard data element library interface, obtaining information of the target standard data element, and associating the information of the target standard data element with the attribute information of the target document element;
[0149] In response to a user's confirmation operation on the attribute interface of the target document element, a binding relationship between the target document element and the target standard data element is established according to the attribute information of the target document element.
[0150] Optionally, the acquisition module 601 is specifically used for:
[0151] In response to a user triggering operation on a new button on a data entry interface, a new interface is displayed, wherein the new interface includes at least one parameter to be configured and an area to be filled corresponding to each parameter to be configured;
[0152] In response to the user's input operation on each area to be filled, obtaining the parameter value input by the user for each parameter to be configured;
[0153] In response to the user's triggering operation on the confirmation button on the new creation interface, the data entry configuration information of the first standard data element is generated according to the parameter values inputted by each parameter to be configured.
[0154] Optionally, the acquisition module 601 is specifically used for:
[0155] In response to a user's selection triggering operation on the document template of the target patient, determining whether the standard data element bound to the document element in the document template belongs to the first standard data element;
[0156] If so, obtaining the identifier of the first standard data element, the identifier of the document element bound to the first standard data element, the identifier of the parameter corresponding to the first standard data element in the external system, and the document parameter processor corresponding to the first standard data element in the data entry information of the first standard data element;
[0157] Sending a request message to an external system through a document parameter processor corresponding to the first standard data element, wherein the request message includes an identifier of a parameter corresponding to the first standard data element in the external system, and the request message is used to instruct to obtain a value of the parameter corresponding to the first standard data element in the external system;
[0158] The parameter value returned by the external system is received, and the parameter value is standardized to obtain the value of the first standard data element.
[0159] Optionally, the determining module 602 is specifically configured to:
[0160] Acquire the paragraph type to which the second standard data element belongs, and determine the target paragraph where the second standard data element is located in the standard data element set of the target patient according to the paragraph type to which the second standard data element belongs;
[0161] The second standard data element is searched from the target paragraph according to the identifier of the second standard data element, and it is confirmed whether the value of the second standard data element exists.
[0162] Optionally, the determining module 602 is specifically configured to:
[0163] The value of the second standard data element and the second standard data element are entered into the standard data element set of the target patient according to the paragraph type to which the second standard data element belongs.
[0164] Optionally, the generating module 603 is specifically used for:
[0165] Using the value of each of the first standard data elements as the value of the document element bound to each of the first standard data elements, and using the value of each of the second standard data elements as the value of the document element bound to each of the second standard data elements;
[0166] The value of each document element is entered into the position of each document element in the document template to generate the target document for the target patient.
[0167] Fig.15FIG. 7 is a structural block diagram of an electronic device 700 provided in an embodiment of the present application. Fig.15 As shown, the electronic device may include: a processor 701 and a memory 702 .
[0168] Optionally, a bus 703 may also be included, wherein the memory 702 is used to store machine-readable instructions executable by the processor 701. When the electronic device 700 is running, the processor 701 communicates with the memory 702 through the bus 703. When the machine-readable instructions are executed by the processor 701, the method steps in the above method embodiment are performed.
[0169] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method steps in the above-mentioned embodiment of the method for generating nursing documents are executed.
[0170] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0171] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially 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, and the computer software product is stored in a storage medium, including several instructions to enable 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 method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.
[0172] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
Claims
1. A method for generating a nursing document, characterized in that: The method comprises: Obtaining a document template for a target patient selected by a user, wherein the document template includes a plurality of document elements and standard data elements in a current nursing field bound to each document element, wherein the standard data elements are pre-constructed based on data related to the current nursing field; Based on the data entry configuration information pre-configured for each first standard data element belonging to the external data type in the document template, the value of each first standard data element is obtained, the data entry configuration information includes: the identifier of the first standard data element, the identifier of the document element bound to the first standard data element, the identifier of the parameter corresponding to the first standard data element in the external system, and the document parameter processor corresponding to the first standard data element, and the value of the first standard data element is pre-entered in the external system; For a second standard data element belonging to a non-external data type, determine whether a value of the second standard data element exists in the standard data element set of the target patient; if so, obtain the value of the second standard data element; if not, obtain the value of the second standard data element according to user input information, and enter the value of the second standard data element into the standard data element set of the target patient; A target document for the target patient is generated according to the value of each first standard data element, the value of each second standard data element and the document template.
2. The method for generating nursing documents according to claim 1, characterized in that: Before obtaining the document template for the target patient selected by the user, the method includes: Establishing a binding relationship between each document element in the initial document template and the standard data element, and obtaining the standard data element bound to each document element; For each first standard data element belonging to the external data type, configure data entry configuration information of each first standard data element; The document template is generated according to the initial document template, each document element in the initial document template, the standard data element bound to each document element, and the data entry configuration information of each first standard data element.
3. The method for generating nursing documents according to claim 2, characterized in that: The step of establishing a binding relationship between each document element in the initial document template and the standard data element includes: In response to a target document element selected by a user in the initial document template, displaying a property interface of the target document element; In response to a user triggering an operation on a standard data element search button on the attribute interface, a standard data element library interface is displayed, wherein the standard data element library contains all standard data elements; In response to a target standard data element selected by a user in the standard data element library interface, obtaining information of the target standard data element, and associating the information of the target standard data element with the attribute information of the target document element; In response to a user's confirmation operation on the attribute interface of the target document element, a binding relationship between the target document element and the target standard data element is established according to the attribute information of the target document element.
4. The method for generating nursing documents according to claim 2, characterized in that: The configuration of the data entry configuration information of each first standard data element belonging to the external data type includes: In response to a user triggering operation on a new button on a data entry interface, a new interface is displayed, wherein the new interface includes at least one parameter to be configured and an area to be filled corresponding to each parameter to be configured; In response to the user's input operation on each area to be filled, obtaining the parameter value input by the user for each parameter to be configured; In response to the user's triggering operation on the confirmation button on the new creation interface, the data entry configuration information of the first standard data element is generated according to the parameter values inputted by each parameter to be configured.
5. The method for generating nursing documents according to claim 1, characterized in that: The step of obtaining the value of each first standard data element based on the pre-configured data entry configuration information of each first standard data element belonging to the external data type in the document template comprises: In response to a user's selection triggering operation on the document template of the target patient, determining whether the standard data element bound to the document element in the document template belongs to the first standard data element; If so, obtaining the identifier of the first standard data element, the identifier of the document element bound to the first standard data element, the identifier of the parameter corresponding to the first standard data element in the external system, and the document parameter processor corresponding to the first standard data element in the data entry information of the first standard data element; Sending a request message to an external system through a document parameter processor corresponding to the first standard data element, wherein the request message includes an identifier of a parameter corresponding to the first standard data element in the external system, and the request message is used to instruct to obtain a value of the parameter corresponding to the first standard data element in the external system; The parameter value returned by the external system is received, and the parameter value is standardized to obtain the value of the first standard data element.
6. The method for generating nursing documents according to claim 1, characterized in that: For a second standard data element belonging to a non-external data type, determining whether a value of the second standard data element exists in the standard data element set of the target patient includes: Acquire the paragraph type to which the second standard data element belongs, and determine the target paragraph where the second standard data element is located in the standard data element set of the target patient according to the paragraph type to which the second standard data element belongs; The second standard data element is searched from the target paragraph according to the identifier of the second standard data element, and it is confirmed whether the value of the second standard data element exists.
7. The method for generating nursing documents according to claim 1, characterized in that: The step of entering the value of the second standard data element into the standard data element set includes: The value of the second standard data element and the second standard data element are entered into the standard data element set of the target patient according to the paragraph type to which the second standard data element belongs.
8. The method for generating nursing documents according to claim 1, characterized in that: The step of generating a target document for the target patient according to the value of each first standard data element, the value of each second standard data element and the document template includes: Using the value of each of the first standard data elements as the value of the document element bound to each of the first standard data elements, and using the value of each of the second standard data elements as the value of the document element bound to each of the second standard data elements; The value of each document element is entered into the position of each document element in the document template to generate the target document for the target patient.
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor implements the steps of the method for generating nursing documents as described in any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for generating a nursing document as described in any one of claims 1 to 8 are executed.