[go: up one dir, main page]

CN119851843A - Method, device, equipment and medium for switching patterns of nursing paper - Google Patents

Method, device, equipment and medium for switching patterns of nursing paper Download PDF

Info

Publication number
CN119851843A
CN119851843A CN202411959826.0A CN202411959826A CN119851843A CN 119851843 A CN119851843 A CN 119851843A CN 202411959826 A CN202411959826 A CN 202411959826A CN 119851843 A CN119851843 A CN 119851843A
Authority
CN
China
Prior art keywords
document
care
style
basic
paragraph
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411959826.0A
Other languages
Chinese (zh)
Inventor
孙前方
王飞
王琪
蒋昆明
苗喜江
胡苇苇
徐晓飞
郝志东
周炜
黄智勇
郑晓庆
李凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Winning Health Technology Group Co Ltd
Original Assignee
Winning Health Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Winning Health Technology Group Co Ltd filed Critical Winning Health Technology Group Co Ltd
Priority to CN202411959826.0A priority Critical patent/CN119851843A/en
Publication of CN119851843A publication Critical patent/CN119851843A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/258Heading extraction; Automatic titling; Numbering

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Epidemiology (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

本申请公开了一种护理文书样式切换方法、装置、设备及介质,应用于电子病历管理技术领域,包括响应于针对目标护理文书的可视化请求,确定目标护理文书的护理文书类型,获取针对护理文书类型预先配置的基础护理文书样式的基础护理文书模板;确定目标护理文书的目标护理文书样式,若目标护理文书样式与基础护理文书样式不同,则基于基础护理文书模板中各个文书段落的排序号和各个文书段落中各个数据元的顺序号,将基础护理文书模板从基础护理文书样式转换成目标护理文书样式进行显示,从而实现了从一份基础护理文书样式的基础护理文书模板到不同护理文书样式的渲染显示,进而实现了可视化样式的多样性,满足了用户不同使用需求。

The present application discloses a method, apparatus, device and medium for switching nursing document styles, which are applied to the technical field of electronic medical record management, and include responding to a visualization request for a target nursing document, determining the nursing document type of the target nursing document, and obtaining a basic nursing document template of a basic nursing document style pre-configured for the nursing document type; determining a target nursing document style for the target nursing document, and if the target nursing document style is different from the basic nursing document style, converting the basic nursing document template from the basic nursing document style to the target nursing document style for display based on the sorting number of each document paragraph in the basic nursing document template and the sequence number of each data element in each document paragraph, thereby realizing rendering and displaying from a basic nursing document template of a basic nursing document style to different nursing document styles, thereby realizing diversity of visualization styles and meeting different usage requirements of users.

Description

Method, device, equipment and medium for switching patterns of nursing paper
Technical Field
The application relates to the technical field of electronic medical record management systems, in particular to a method, a device, equipment and a medium for switching patterns of nursing papers.
Background
Along with the gradual perfection of basic information construction of hospitals, all paperwork medical records in clinical nursing, namely nursing paperwork, have all cancelled manual mode, are input and printed by an electronic medical record management system instead, thereby effectively improving the efficiency and convenience of clinical nursing. However, the visual style of the nursing document provided by the current electronic medical record management system is single, flexibility and adaptability are lacking, and different requirements of different types of nursing documents on the visual style are difficult to meet.
Disclosure of Invention
The application provides a method, a device, equipment and a medium for switching patterns of a nursing document, which are used for solving the problems that an electronic medical record management system in the prior art is single in visual pattern aiming at the nursing document and is difficult to meet different use requirements. The technical scheme provided by the application is as follows:
in one aspect, the application provides a method for switching patterns of a care document, which comprises the following steps:
The method comprises the steps of responding to a visual request for a target nursing document, determining a nursing document type corresponding to the target nursing document, and acquiring a basic nursing document template of a basic nursing document style pre-configured for the nursing document type, wherein one nursing document type corresponds to the basic nursing document template of one basic nursing document style;
And when the target care document pattern is determined to be different from the basic care document pattern, converting the basic care document template from the basic care document pattern to the target care document pattern for display according to a page layout conversion rule between the basic care document pattern and the target care document pattern based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph.
Optionally, if the basic care document style is a form type and the target care document style is a lateral form type, according to a page layout conversion rule between the basic care document style and the target care document style, converting the basic care document template from the basic care document style to the target care document style for display based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph, including:
And sequentially generating each document paragraph from left to right according to the sequence number from small to large by adopting a stream layout rule, and sequentially generating each data element from left to right in each document paragraph according to the sequence number from small to large so as to convert the basic nursing document template from a form to a transverse form for display.
Optionally, if the basic care document style is a form type and the target care document style is a longitudinal form type, according to a page layout conversion rule between the basic care document style and the target care document style, converting the basic care document template from the basic care document style to the target care document style for display based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph, including:
And sequentially generating each document paragraph from top to bottom according to the sequence number from small to large by adopting a stream layout rule, and sequentially generating each data element from top to bottom in each document paragraph according to the sequence number from small to large so as to convert the basic nursing document template from a form to a longitudinal form for display.
Optionally, when determining the target care document style corresponding to the target care document, the method further includes:
acquiring the current screen resolution;
And determining the nursing document pattern adapted to the current screen resolution as a target nursing document pattern corresponding to the target nursing document based on the adaptation relation between the pre-configured nursing document pattern and the screen resolution.
Optionally, before responding to the visualization request for the target care document, the method further comprises:
For each nursing document type, responding to a document paragraph new construction operation for the nursing document type, acquiring each document paragraph newly constructed for the nursing document type, and generating a sequence number of each document paragraph according to the new construction sequence of each document paragraph;
for each document paragraph, responding to the data element adding operation for the document paragraph, acquiring each data element added for the document paragraph, and generating the sequence number of each data element according to the adding sequence of each data element;
And generating and storing a basic care document template of a basic care document style corresponding to the care document type based on each document paragraph and each data element in each document paragraph, the sequence number of each document paragraph and the sequence number of each data element in each document paragraph.
Optionally, the method for switching the style of the care document provided by the application further comprises the following steps:
In response to a position adjustment operation for a document paragraph in the base care document template, updating a ranking number of each document paragraph in the base care document template based on the adjusted position corresponding to the document paragraph;
and in response to a position adjustment operation for the data elements in the basic care document template, updating the sequence numbers of the data elements based on the adjusted positions corresponding to the data elements.
Optionally, the method for switching the style of the care document provided by the application further comprises the following steps:
respectively adding a data element group consisting of a plurality of data elements for each document paragraph;
And performing check calculation operation among the data elements in each document paragraph based on the data element groups in each document paragraph.
In another aspect, the present application provides a device for switching patterns of a care document, including:
A basic template acquisition unit, configured to determine a care document type corresponding to a target care document in response to a visualization request for the target care document, and acquire a basic care document template of a basic care document style preconfigured for the care document type, where one care document type corresponds to the basic care document template of one basic care document style;
The target style display unit is used for determining a target nursing document style corresponding to the target nursing document, and converting the basic nursing document template from the basic nursing document style to the target nursing document style for display according to a page layout conversion rule between the basic nursing document style and the target nursing document style when the target nursing document style is determined to be different from the basic nursing document style based on the sequence numbers of all the document paragraphs and the sequence numbers of all the data elements in all the document paragraphs.
In another aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method for switching patterns of care documents described above when executing the computer program.
In another aspect, the present application provides a computer readable storage medium storing computer instructions that when executed by a processor implement the method for switching patterns of care documents described above.
The beneficial effects of the application are as follows:
According to the application, the basic care document templates of the basic care document patterns are pre-configured for different care document types, and when the visual display is carried out on the care documents of different care document types, the basic care document templates of the basic care document patterns can be determined according to the care document types corresponding to the target care documents to be displayed, so that the rendering display from the basic care document templates of one basic care document pattern to different care document patterns is realized according to the sequence numbers of all the document paragraphs corresponding to the target care documents recorded in the basic care document templates of the basic care document patterns and the sequence numbers of all the data elements in all the document paragraphs, and the diversity of the visual patterns of the care documents is further realized, and the different use requirements of users are met.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic functional structure diagram of an electronic medical record management system according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for switching patterns of a care document according to an embodiment of the application;
FIG. 3 is a schematic overview of a method for configuring a template of a basic care document according to an embodiment of the present application;
Fig. 4 is a functional schematic diagram of a device for switching the style of a care document according to an embodiment of the present application;
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
Detailed Description
In order to make the objects, technical solutions and advantageous effects of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to facilitate a better understanding of the present application, technical terms related to the present application will be briefly described below.
The application relates to an electronic medical record management system, which is a system for managing all nursing paper, and is shown in fig. 1, and comprises a nursing data center, a case buffer, a paper editor and a paper rendering engine, wherein the nursing data center is used for storing relevant data in the case buffer, the paper editor and the paper rendering engine, the case buffer is used for buffering nursing paper of different nursing paper types, the nursing paper types comprise but are not limited to record sheets, physical signs, evaluation sheets, notification sheets, body temperature sheets and the like, the paper editor provides manufacturing and preview entrance of basic nursing paper templates, the paper editor is a technical tool for manufacturing the basic nursing paper templates, and can be used for setting paragraphs, data tuples, data tuple and table attributes, setting data tuple rules and the like in the paper editor and configuring page layout rules of corresponding paper paragraphs, data tuples, value ranges, data tuples and different nursing paper styles of the nursing paper, and the paper rendering engine is used for displaying any of the nursing paper rendering forms in a list format, a horizontal table format and a longitudinal table format.
The application relates to a nursing document style, which is a rendering style of a nursing document, and comprises, but is not limited to, a form type, a transverse form and a longitudinal form, wherein the basic nursing document style and the target nursing document style can be any one of the form type, the transverse form and the longitudinal form, and preferably, the basic nursing document style can be the form type for convenient storage and improved rendering efficiency.
The data element is the minimum constitution unit of the basic nursing document template, the minimum data storage unit, namely the data element, is obtained by analyzing the actual nursing document content or manually adding the data element, and the data element is recorded with the information of the data element type, the data element value field, the classification and the like. The document editor provides a data element definition interface for defining the names, codes, types, belonging classifications and other extended attribute settings of the data elements, and can standardize the data elements according to the writing contents and requirements of the nursing document so as to realize data prefabrication.
The value field is the data option source of the data element, and the data element of a common type, such as single selection and multiple selection, needs to define the data option source, namely the value field. The document editor provides a value domain definition and a unified maintenance interface, maintains an option source, and the same value domain content can be bound into different data elements for multiplexing. Binding the defined value range content with standard data elements to realize data prefabrication, and facilitating standardized quotation in a document editor.
The table, which is a record mode for specific data elements in the basic nursing document template, such as specific data elements of patient's output, input and the like, needs to be recorded in the basic nursing document template in a tabular form. By performing tabular maintenance on a group of data elements, quick reference and table editing attribute setting can be realized in the rendering process of the basic care document template. The document editor provides a form maintenance interface, optional data elements form a form, support setting component types of data element items in the form, and the defined form supports quick reference in the document editor.
After technical terms related to the application are introduced, the technical scheme provided by the application is described in detail below.
The embodiment of the application provides a method for switching the patterns of a nursing document, and referring to fig. 2, the general flow of the method for switching the patterns of the nursing document provided by the embodiment of the application is as follows:
Step 201, determining a care document type corresponding to a target care document in response to a visual request for the target care document, and acquiring a basic care document template of a basic care document style pre-configured for the care document type, wherein one care document type corresponds to the basic care document template of one basic care document style, and each document paragraph of the target care document and each data element in each document paragraph are recorded in the basic care document template of the basic care document style, and the sequence number of each document paragraph and the sequence number of each data element in each document paragraph.
In the embodiment of the application, the basic nursing document templates of basic nursing document types which are respectively configured for different nursing document types in advance are stored in the document editor, when a visual request of a user for a target nursing document is received, the nursing document type corresponding to the target nursing document can be determined first, and then the basic nursing document templates of basic nursing document types which are pre-configured for the nursing document type corresponding to the target nursing document are acquired from the document editor.
Step 202, determining a target nursing document style corresponding to the target nursing document, and when the target nursing document style is different from a basic nursing document style, converting a basic nursing document template from the basic nursing document style to the target nursing document style according to a page layout conversion rule between the basic nursing document style and the target nursing document style and based on the sequence numbers of all the document paragraphs and the sequence numbers of all the data elements in all the document paragraphs.
In the embodiment of the application, after the target nursing document style corresponding to the target nursing document is determined, the target nursing document can be rendered and displayed according to the target nursing document style through the document renderer. In a specific implementation, if the target care document style is determined to be the same as the basic care document style, rendering the basic care document template into the basic care document style based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph of the target care document recorded in the basic care document template according to the page layout mode corresponding to the basic care document style, and if the target care document style is determined to be different from the basic care document style, converting each document paragraph in the basic care document template and each data element in each document paragraph from the basic care document style into the target care document style for display according to the page layout conversion rule between the basic care document style and the target care document style based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph, specifically, but not limited to, the following two cases may exist:
In the first case, the base care document style is a form and the target care document style is a landscape form.
In this case, when the basic care document template is converted from the basic care document style to the target care document style for display according to the page layout conversion rule between the basic care document style and the target care document style based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph, the following manner may be adopted, but is not limited to:
And sequentially generating each document paragraph from left to right according to the sequence number from small to large by adopting a stream layout rule, and sequentially generating each data element from left to right in each document paragraph according to the sequence number from small to large so as to convert the basic nursing document template from a form to a transverse form for display.
For example, according to the sequence numbers of the paragraphs of the document, a first-level title structure is sequentially generated from left to right by adopting a stream layout rule according to the sequence numbers, the paragraph names of the paragraphs of the document are read as first-level title contents, the data elements and tables in the non-tables and the data elements in the same document are generated from left to right according to the sequence numbers, the data elements and tables in the non-tables and the data elements are read as second-level title contents, the data elements in the same table or the data elements are generated from left to right according to the sequence numbers, and the data element names are read as third-level title contents. The primary, secondary and tertiary titles are laid out in a vertical table format according to a top-middle-bottom structure.
In the second case, the base care document style is a form and the target care document style is a portrait form.
In this case, when the basic care document template is converted from the basic care document style to the target care document style for display according to the page layout conversion rule between the basic care document style and the target care document style based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph, the following manner may be adopted, but is not limited to:
And sequentially generating each document paragraph from top to bottom according to the sequence number from small to large by adopting a stream layout rule, and sequentially generating each data element from top to bottom in each document paragraph according to the sequence number from small to large so as to convert the basic nursing document template from a form to a longitudinal form for display.
For example, according to the sequence numbers of the paragraphs of the document, a first-level title structure is sequentially generated from top to bottom according to the sequence numbers from small to large and the stream layout rule, the paragraph titles of the paragraphs of the document are read as first-level title contents, the data elements, tables and data tuples in the non-tables and the data tuples in the same document are generated from top to bottom according to the sequence numbers, the data elements, tables and data tuple names in the non-tables and the data tuples are read as second-level title contents, the data elements in the same table or the data elements are generated from top to bottom according to the sequence numbers as third-level title contents, and the data element names are read as third-level title contents. The primary, secondary and tertiary titles are laid out in a vertical table format according to a left-middle-right structure.
In addition, in the embodiment of the application, in order to further improve the screen suitability of the target care document when being displayed, when determining the target care document style corresponding to the target care document, the current screen resolution can be acquired, and the care document style adapted to the current screen resolution is determined as the target care document style corresponding to the target care document based on the adaptation relation between the pre-configured care document style and the screen resolution.
In this way, through configuring the adaptation relation between different nursing document styles and screen resolutions (for example, screen resolution ranges), when loading a target nursing document, the self-adaptive adjustment can be performed according to the comparison between the standard page layout corresponding to the target nursing document style and the current screen resolution after the current screen resolution is automatically identified, when the current screen resolution is in a certain screen resolution range, the nursing document style corresponding to the screen resolution range is loaded by default, and meanwhile, the switching of the nursing document styles by clicking buttons such as a form, a transverse form, a longitudinal form and the like is supported, so that the free switching of the nursing document styles is further realized, and the visual effect of the nursing document is improved.
Next, a detailed description is given of a configuration manner of a basic care document template of a basic care document style corresponding to different care document types, and in the embodiment of the present application, the basic care document template of the basic care document style corresponding to different care document types may be configured by a document editor in the following manner:
step 301, for each nursing document type, responding to a document paragraph new construction operation for the nursing document type, acquiring each document paragraph newly constructed for the nursing document type, and generating a sequence number of each document paragraph according to the new construction sequence of each document paragraph.
For example, the method can be used for carrying out paragraph disassembly according to a to-be-manufactured nursing document template provided by a hospital, extracting a document paragraph title and each data element item contained in the document paragraph, sequentially generating the sequence number of each document paragraph and the sequence number of each data element in each document paragraph according to the position of the document paragraph title in the to-be-manufactured nursing document template and the position of the document paragraph, defining the document paragraph title through newly-built document paragraph operation, automatically generating the sequence number of the document paragraph according to the newly-built sequence, and simultaneously supporting manual adjustment of the sequence of the document paragraph titles and automatic generation of new sequence numbers.
Step 302, for each document paragraph, in response to the data element adding operation for the document paragraph, obtaining each data element added for the document paragraph, and generating the sequence number of each data element according to the adding sequence of each data element.
For example, selecting a document paragraph to which data elements need to be added, creating a document paragraph structure by hooking or dragging the defined data elements and tables in the data element management subsystem, and constructing the document paragraph content. In the same document paragraph, the sequence code of the data element in the document paragraph is recorded according to the sequence of adding the data element, and whether the line feed mark exists or not is recorded. If the data element a and the data element B are respectively checked, the sequence numbers of the data element a and the data element B in the document section are respectively recorded as (a, 1, N), (B, 2, Y), wherein 1 and 2 represent sequence codes, Y, N represent line feed marks, for example, Y represents line feed, and N represents line non-feed. That is, in the embodiment of the present application, the sequence number of each data element is composed of a sequence code and a line-feed identifier.
In addition, in the embodiment of the application, for each document paragraph, a data tuple composed of a plurality of data elements can be added for the document paragraph, and based on the data tuple in the document paragraph, check calculation operation among the data elements in the document paragraph is performed, wherein the check calculation operation comprises, but is not limited to, calculation operation, mutual exclusion detection operation, filling detection operation, linkage operation and the like. The method comprises the steps of selecting data elements in a data element group, selecting the data elements participating in calculation and the data elements needing to be assigned, obtaining and running a computer executable calculation script generated based on a calculation formula and rules to realize a calculation function, selecting the data elements in the data element group, selecting the data elements participating in mutual exclusion or options of the data elements, obtaining and running the computer executable mutual exclusion script generated based on the mutual exclusion rules to realize a mutual exclusion detection function, selecting the data elements in the data element group, setting the necessary filling data elements, obtaining and running the computer executable necessary filling script generated based on the necessary filling quantity and the necessary filling text prompt rules to realize a necessary filling detection function, selecting the data elements in the data element group as the data elements triggering linkage and the data elements needing to be linked, and obtaining and running the computer executable linkage rule script generated based on the linkage rules to realize a linkage function.
Step 303, generating and storing a basic care document template of a basic care document style corresponding to the type of the care document based on each document paragraph and each data element in each document paragraph, the sequence number of each document paragraph and the sequence number of each data element in each document paragraph.
In the embodiment of the application, in the process of generating the basic care document template of the basic care document style corresponding to the type of the care document, on one hand, the sequence number of each document paragraph in the basic care document template can be updated based on the adjusted position corresponding to the document paragraph in response to the position adjustment operation for the document paragraph in the basic care document template. On the other hand, the sequence number of the data element can be updated based on the adjusted position corresponding to the data element in response to the position adjustment operation for the data element in the basic care document template, for example, the embodiment of the application supports the position adjustment of the data element and the table to carry out layout. And then, calculating the sequence codes of the data element and the subsequent data element according to the sequence code of the previous data element of the coordinate point. If 10 data elements are dragged, the coordinates of the 10 th data element are (A, 10, N), and if the 10 th data element is dragged as the 5 th data element of the second row, the system calculates the new coordinates of the 5 th data element in real time after the dragging to be (A, 5,N), and recalculates and updates the coordinates of the existing data elements. On the other hand, the original attribute of the data element in the basic care document template can be updated to the adjusted attribute corresponding to the data element in response to the verification calculation operation of the data element in the basic care document template, for example, whether the data element or the table attribute such as the title width and the title color are required to be filled or not, the display condition and the like are supported to be modified so as to meet the front-end display requirement and the function requirement.
In addition, the position of the data elements, the tables and the data tuples is adjusted, namely, in the same document paragraph, the corresponding position relation of the data elements, the tables and the data tuples in the non-tables and the data tuples can be adjusted by moving up and down through a left list, or the positions are manually dragged and adjusted through a right template editing area, and meanwhile, the sequence numbers are automatically updated.
In summary, the method for switching the style of the care document provided by the embodiment of the application has the beneficial effects that:
(1) The adaptability and the flexibility of the nursing document template are improved;
By introducing switchable rendering patterns, the adaptability of the nursing document template is remarkably improved. The method can automatically or manually adapt to the optimal writing style of the document according to the writing habits of different users and the display characteristics of different hardware devices. The flexibility effectively solves the problems of single style and inflexibility in the prior art, so that the same document can show different styles according to different conditions, thereby meeting diversified clinical care requirements.
(2) Optimizing the writing experience of the nursing document;
By supporting multiple types of entry and display styles in form, landscape form, portrait form, a more comfortable writing experience is provided for caregivers. On a high resolution screen, the landscape form style provides a more intuitive data entry mode, while on a low resolution screen, the form style or the portrait form style reduces screen scrolling and improves the convenience of data entry.
(3) The writing efficiency of nursing medical records is improved;
By providing a unified template making tool and a visualized data element management page, the template making and maintenance flow is simplified. The nursing staff can quickly switch the document style according to personal habits, so that the workload of re-drawing templates due to different screen resolutions is reduced, and the efficiency of medical record writing is remarkably improved.
(4) The operation and maintenance cost of the nursing document template is reduced;
In the conventional mode, in order to meet the writing habit of different users and the difference of hardware devices, a plurality of templates with different styles need to be maintained, which results in higher operation and maintenance cost. According to the embodiment of the application, the function of supporting multiple types of switching by one document template is realized, repeated drawing of the template is reduced, and the workload and cost of template maintenance are effectively reduced.
(5) The user friendliness of the system is enhanced;
By providing a memory function for writing operations of the care document style, it is possible to automatically match an optimal care document style according to the habit of the user. The personalized setting enhances the user friendliness and improves the satisfaction degree and the dependence degree of nursing staff on the electronic medical record management system.
Based on the foregoing embodiments, the embodiment of the present application provides a device for switching a style of a care document, as shown in fig. 4, and the device 400 for switching a style of a care document provided in the embodiment of the present application at least includes:
A basic template obtaining unit 401, configured to determine a care document type corresponding to a target care document in response to a visualization request for the target care document, and obtain a basic care document template of a basic care document style preconfigured for the care document type, where one care document type corresponds to a basic care document template of one basic care document style;
The target style display unit 402 is configured to determine a target care document style corresponding to the target care document, and when it is determined that the target care document style is different from the basic care document style, convert the basic care document template from the basic care document style to the target care document style for display according to a page layout conversion rule between the basic care document style and the target care document style, based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph.
In one possible implementation, if the basic care document style is a form type and the target care document style is a landscape form type, the target style display unit 402 is configured to sequentially generate each document paragraph from left to right in order of the sequence number from small to large by using a stream layout rule, and sequentially generate each data element from left to right in order of the sequence number from small to large in each document paragraph, so as to convert the basic care document template from the form type to the landscape form type for display.
In one possible implementation, if the basic care document style is a form and the target care document style is a longitudinal form, the target style display unit 402 is configured to sequentially generate each document paragraph from top to bottom in order of the sequence number from small to large by using a stream layout rule, and sequentially generate each data element from top to bottom in order of the sequence number from small to large in each document paragraph, so as to convert the basic care document template from the form to the longitudinal form for display.
In a possible implementation manner, the target pattern display unit 402 is further configured to obtain a current screen resolution, and determine, based on an adaptation relationship between the pre-configured care document pattern and the screen resolution, the care document pattern adapted to the current screen resolution as a target care document pattern corresponding to the target care document.
In a possible implementation manner, the device for switching the style of the care document provided by the embodiment of the application further includes:
The basic template configuration unit 403 is configured to, for each care document type, respond to a new operation of a document paragraph for the care document type, obtain each document paragraph newly created for the care document type, and generate a ranking number of each document paragraph according to the new sequence of each document paragraph, for each document paragraph, respond to a data element adding operation for the document paragraph, obtain each data element added for the document paragraph, generate a ranking number of each data element according to the adding sequence of each data element, and generate a basic care document template of a basic care document style corresponding to the care document type and store the basic care document template based on each document paragraph and each data element in each document paragraph, and the ranking number of each document paragraph and the ranking number of each data element in each document paragraph.
In a possible implementation manner, the device for switching the style of the care document provided by the embodiment of the application further includes:
The base template adjusting unit 404 is configured to update the ranking number of each document paragraph in the base care document template based on the adjusted position corresponding to the document paragraph in response to the position adjusting operation for the document paragraph in the base care document template, and update the sequence number of the data element based on the adjusted position corresponding to the data element in response to the position adjusting operation for the data element in the base care document template.
In a possible implementation manner, the basic template configuration unit 403 is further configured to add a data tuple composed of a plurality of data elements to each document paragraph, and perform a check calculation operation between data elements based on the data tuples in each document paragraph.
It should be noted that, the principle of the foregoing description of the present application for solving the technical problem by using the foregoing description of the present application to solve the technical problem is similar to that of the foregoing description of the present application, so that the implementation of the foregoing description of the present application may refer to the implementation of the foregoing description of the present application, and the repetition is omitted.
After the method and the device for switching the patterns of the nursing papers provided by the embodiment of the application are introduced, the electronic equipment provided by the embodiment of the application is briefly introduced.
Referring to fig. 5, an electronic device 500 according to an embodiment of the present application at least includes a processor 501, a memory 502, and a computer program stored in the memory 502 and capable of running on the processor 501, where the processor 501 implements the method for switching patterns of care documents according to the embodiment of the present application when executing the computer program.
The electronic device 500 provided by embodiments of the present application may also include a bus 503 that connects the different components, including the processor 501 and the memory 502. Where bus 503 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and so forth.
The Memory 502 may include readable media in the form of volatile Memory, such as random access Memory (Random Access Memory, RAM) 5021 and/or cache Memory 5022, and may further include Read Only Memory (ROM) 5023. The memory 502 may also include a program tool 5025 having a set (at least one) of program modules 5024, the program modules 5024 including, but not limited to, an operating subsystem, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The processor 501 may be a processing element or a collective term of a plurality of processing elements, for example, the processor 501 may be a micro control unit (Microcontroller Unit, MCU), or a central processing unit (Central Processing Unit, CPU), or one or more integrated circuits configured to implement the above-mentioned method for switching a style of a care document according to an embodiment of the present application. In particular, the processor 501 may be a general purpose processor including, but not limited to, a CPU, application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf programmable gate array (Field Programmable GATE ARRAY, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, and the like.
Electronic device 500 may also communicate with one or more devices (e.g., cell phone, computer, etc.) that enable a user to interact with electronic device 500, and/or with various types of external devices 504, such as devices (e.g., routers, modems, etc.) that enable electronic device 500 to communicate with one or more other electronic devices. Such communication may be through an Input/Output (I/O) interface 505. Also, electronic device 500 may communicate with one or more networks such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN), and/or a public network such as the internet via network adapter 506. As shown in fig. 5, network adapter 506 communicates with other modules of electronic device 500 over bus 503. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in connection with electronic device 500, including but not limited to microcode, device drivers, redundant processors, external disk drive arrays, disk array (Redundant Arrays of INDEPENDENT DISKS, RAID) subsystems, tape drives, and data backup storage subsystems, among others.
It should be noted that the electronic device 500 shown in fig. 5 is only an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present application.
In addition, the embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores computer instructions which are executed by the processor to realize the method for switching the patterns of the nursing paper. Specifically, the computer instruction may be built-in or installed in the processor, so that the processor may implement the method for switching the style of the care document according to the embodiment of the present application by executing the built-in or installed computer instruction.
Moreover, the method for switching the style of the care document according to the embodiment of the present application may also be implemented as a program product, where the program product includes program code, and when the program code is executed by a processor, the method for switching the style of the care document according to the embodiment of the present application is implemented.
The program product provided by embodiments of the present application may employ any combination of one or more readable media, wherein the readable media may be a readable signal medium or a readable storage medium, and the readable storage medium may be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above, and more specific examples (a non-exhaustive list) of the readable storage medium include an electrical connection having one or more wires, a portable disk, a hard disk, RAM, ROM, erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), optical fiber, portable compact disk read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product provided by the embodiment of the application can adopt a CD-ROM and comprises program codes, and can also run on electronic equipment such as a computer, a tablet personal computer, a mobile phone and the like. However, the program product provided by the embodiments of the present application is not limited thereto, and in the embodiments of the present application, the readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the elements described above may be embodied in one element in accordance with embodiments of the present application. Conversely, the features and functions of one unit described above may be further divided into a plurality of units to be embodied.
Furthermore, although the operations of the methods of the present application are depicted in the drawings in a particular order, this is not required or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the embodiments of the present application without departing from the spirit or scope of the embodiments of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims and the equivalents thereof, the present application is also intended to include such modifications and variations.

Claims (10)

1. A method for switching the style of a care document, comprising:
Determining a care document type corresponding to a target care document in response to a visual request for the target care document, and acquiring a basic care document template of a basic care document style preconfigured for the care document type, wherein one of the care document types corresponds to the basic care document template of one of the basic care document styles, and each data element in each document paragraph of the target care document, and each sequence number of each document paragraph and each sequence number of each data element in each document paragraph are recorded in the basic care document template of the basic care document style;
And when the target care document pattern is determined to be different from the basic care document pattern, converting the basic care document template from the basic care document pattern to the target care document pattern for display according to a page layout conversion rule between the basic care document pattern and the target care document pattern based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph.
2. The method according to claim 1, wherein if the basic document style is a form and the target document style is a landscape form, converting the basic document template from the basic document style to the target document style for display according to a page layout conversion rule between the basic document style and the target document style based on a ranking number of each document paragraph and a sequence number of each data element in each document paragraph, comprising:
And sequentially generating the document paragraphs from left to right according to the sequence number from small to large by adopting a stream layout rule, and sequentially generating the data elements in each document paragraph from left to large according to the sequence number from small to large in order so as to convert the basic nursing document template from the form to the transverse form for display.
3. The method according to claim 1, wherein if the basic document style is a form and the target document style is a portrait form, converting the basic document template from the basic document style to the target document style for display according to a page layout conversion rule between the basic document style and the target document style based on a ranking number of each document paragraph and a sequence number of each data element in each document paragraph, comprising:
And sequentially generating each document paragraph from top to bottom according to the sequence number from small to large by adopting a stream layout rule, and sequentially generating each data element from top to bottom in each document paragraph according to the sequence number from small to large so as to convert the basic nursing document template from the form to the longitudinal form for display.
4. The method for switching a style of a document of care according to claim 1, wherein when determining a style of a document of care corresponding to the target document of care, further comprising:
acquiring the current screen resolution;
And determining a nursing document pattern adapted to the current screen resolution as the target nursing document pattern corresponding to the target nursing document based on the adaptation relation between the pre-configured nursing document pattern and the screen resolution.
5. The method of switching a style of a care document according to any one of claims 1 to 4, further comprising, before responding to a visualization request for a target care document:
Responding to a new operation of a document paragraph aiming at each nursing document type, acquiring each new document paragraph aiming at the nursing document type, and generating a sorting number of each document paragraph according to the new sequence of each document paragraph;
For each document paragraph, responding to a data element adding operation for the document paragraph, acquiring each data element added for the document paragraph, and generating a sequence number of each data element according to the adding sequence of each data element;
and generating and storing a basic care document template of a basic care document style corresponding to the care document type based on each document paragraph and each data element in each document paragraph, and the sequence number of each document paragraph and the sequence number of each data element in each document paragraph.
6. The method for switching a style of a care document according to claim 5, further comprising:
In response to a position adjustment operation for the document paragraphs in the base care document template, updating the ranking number of each document paragraph in the base care document template based on the adjusted position corresponding to the document paragraph;
And in response to the position adjustment operation for the data elements in the basic care document template, updating the sequence numbers of the data elements based on the adjusted positions corresponding to the data elements.
7. The method for switching a style of a care document according to claim 5, further comprising:
Adding a data element group consisting of a plurality of data elements to each document paragraph respectively;
and performing check calculation operation among data elements on the data elements in each document paragraph based on the data element groups in each document paragraph.
8. A care document style switching device, characterized by comprising:
A basic template obtaining unit, configured to determine a care document type corresponding to a target care document in response to a visual request for the target care document, and obtain a basic care document template of a basic care document style preconfigured for the care document type, where one of the care document types corresponds to a basic care document template of one of the basic care document styles, and the basic care document template of the basic care document style has recorded therein each document paragraph of the target care document and each data element in each document paragraph, and a sequence number of each document paragraph and a sequence number of each data element in each document paragraph;
The target style display unit is used for determining a target care document style corresponding to the target care document, and converting the basic care document template from the basic care document style to the target care document style for display according to a page layout conversion rule between the basic care document style and the target care document style when the target care document style is determined to be different from the basic care document style based on the sequence number of each document paragraph and the sequence number of each data element in each document paragraph.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of care document style switching according to any one of claims 1-7 when the computer program is executed.
10. A computer readable storage medium storing computer instructions which when executed by a processor implement the method of care document style switching of any one of claims 1 to 7.
CN202411959826.0A 2024-12-30 2024-12-30 Method, device, equipment and medium for switching patterns of nursing paper Pending CN119851843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411959826.0A CN119851843A (en) 2024-12-30 2024-12-30 Method, device, equipment and medium for switching patterns of nursing paper

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411959826.0A CN119851843A (en) 2024-12-30 2024-12-30 Method, device, equipment and medium for switching patterns of nursing paper

Publications (1)

Publication Number Publication Date
CN119851843A true CN119851843A (en) 2025-04-18

Family

ID=95355906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411959826.0A Pending CN119851843A (en) 2024-12-30 2024-12-30 Method, device, equipment and medium for switching patterns of nursing paper

Country Status (1)

Country Link
CN (1) CN119851843A (en)

Similar Documents

Publication Publication Date Title
CN110045894B (en) System and method for dialog box customization
US8209355B2 (en) Automatic user interface generation for entity interaction
TWI450107B (en) Method and computer readable storage media for web data usage platform
US10129188B2 (en) Method, system and apparatus for adding network comment information
US20120191793A1 (en) Methods, computer program products, apparatuses, and systems to accommodate decision support and reference case management for diagnostic imaging
CN106796581A (en) For the generation based on user view of the layout of content-data
US10210142B1 (en) Inserting linked text fragments in a document
US11120205B2 (en) Reviewing document designs
CN107077460A (en) Structuring sample author content
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
US20230077829A1 (en) Systems for Generating Interactive Reports
CN111783405A (en) Online document processing method, apparatus, computer equipment and storage medium
WO2016095502A1 (en) Mathematical formula processing method, device, apparatus and computer storage medium
CN113849175A (en) A code generation method, device, device and storage medium
CN119150836A (en) Financial product report generation method and device based on interactive configuration
JPWO2005098663A1 (en) Information management device
CN119851843A (en) Method, device, equipment and medium for switching patterns of nursing paper
EP1768034A1 (en) Document processing device and document processing method
US20070198915A1 (en) Document Processing Device And Document Processing Method
JPWO2017043664A1 (en) Information management apparatus and file management method
CN120407662B (en) Data processing method, device and related equipment for training artificial intelligence models
JP5612930B2 (en) Terminal device, information processing method, and program
JPWO2005098698A1 (en) Document processing device
JP5301907B2 (en) Information processing device
CN119963373A (en) Method and system for providing a dedicated document sharing platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination