CN115034190A - Form generation method and device, electronic equipment and storage medium - Google Patents

Form generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115034190A
CN115034190A CN202210728729.5A CN202210728729A CN115034190A CN 115034190 A CN115034190 A CN 115034190A CN 202210728729 A CN202210728729 A CN 202210728729A CN 115034190 A CN115034190 A CN 115034190A
Authority
CN
China
Prior art keywords
filled
area
region
processed
information
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
CN202210728729.5A
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.)
Guahao Net Hangzhou Technology Co Ltd
Original Assignee
Guahao Net Hangzhou Technology 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 Guahao Net Hangzhou Technology Co Ltd filed Critical Guahao Net Hangzhou Technology Co Ltd
Priority to CN202210728729.5A priority Critical patent/CN115034190A/en
Publication of CN115034190A publication Critical patent/CN115034190A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • 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
    • 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
    • G16H15/00ICT specially adapted for medical reports, e.g. generation or transmission thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Epidemiology (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a form generation method, a form generation device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring at least one to-be-processed area corresponding to a to-be-generated form; wherein the at least one region to be processed comprises a word processing region and/or a drawing region; determining form drawing parameters corresponding to each region to be processed, and drawing the corresponding region to be processed based on the form drawing parameters to obtain the region to be filled; and filling the information to be filled into the corresponding area to be filled to obtain a target form, and displaying the target form when a form acquisition instruction is received. The problem of form format single and fixed, be difficult to with the form that generates and different business demands assorted is solved, the effect of the form of having got the nimble generation and matching with the business demand is got.

Description

Form generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a form generation method and apparatus, an electronic device, and a storage medium.
Background
When the medical record is carried out on the patient, the medical record information of the patient can be conveniently checked by using the character record, and meanwhile, the graphic information is used as an auxiliary record.
Currently, when corresponding form conversion is performed according to diagnosis and treatment information of a patient, corresponding client software needs to be downloaded mostly, and the diagnosis and treatment information is recorded and checked based on the client software. However, this is not very convenient for the medical staff and usually has a poor ability to configure medical information.
In order to better record the diagnosis and treatment information, a corresponding form generation mode needs to be improved.
Disclosure of Invention
The invention provides a form generation method, a form generation device, electronic equipment and a storage medium, and aims to solve the problems that a form format is single and fixed, and the form is difficult to generate and match with different business requirements.
In a first aspect, an embodiment of the present invention provides a form generation method, including:
acquiring at least one to-be-processed area corresponding to a to-be-generated form; wherein the at least one region to be processed comprises a word processing region and/or a drawing region;
determining form drawing parameters corresponding to each area to be processed, and drawing the corresponding area to be processed based on the form drawing parameters to obtain an area to be filled;
and filling the information to be filled into the corresponding area to be filled to obtain a target form, and displaying the target form when a form acquisition instruction is received.
In a second aspect, an embodiment of the present invention further provides a form generating apparatus, including:
the system comprises a to-be-processed area acquisition module, a to-be-processed area generation module and a to-be-processed area generation module, wherein the to-be-processed area acquisition module is used for acquiring at least one to-be-processed area corresponding to a to-be-generated form; wherein the at least one area to be processed comprises a word processing area and/or a drawing area;
the device comprises a to-be-filled region determining module, a to-be-filled region determining module and a to-be-filled region determining module, wherein the to-be-filled region determining module is used for determining form drawing parameters corresponding to each to-be-processed region and drawing the corresponding to-be-processed region based on the form drawing parameters to obtain the to-be-filled region;
and the target form determining module is used for filling the information to be filled into the corresponding area to be filled to obtain a target form, and displaying the target form when a form acquiring instruction is received.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a form generation method according to any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to, when executed, cause a processor to implement the form generation method according to any embodiment of the present invention.
According to the technical scheme, at least one to-be-processed area corresponding to the to-be-generated form is obtained, the to-be-processed area comprises a word processing area and a drawing area, and the corresponding word processing area and/or the drawing area can be called from the target database according to the information identification carried by the to-be-used information in the to-be-generated form. Determining form drawing parameters corresponding to the areas to be processed, drawing the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled, determining height parameters and width parameters corresponding to the areas to be processed, and drawing the areas to be processed based on the corresponding height parameters and width parameters to obtain the corresponding areas to be filled. And filling the information to be filled into the corresponding area to be filled to obtain a target form, displaying the target form when a form acquisition instruction is received, generating the target form based on the area to be filled and the corresponding information to be filled, and displaying the target form when the form acquisition instruction is received. The method and the device solve the problems that the form format is single and fixed, and the form which is matched with different business requirements is difficult to generate, and achieve the effect of flexibly generating the form which is matched with the business requirements.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of a form generation method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a form generation method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a form generating apparatus according to a fourth embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an electronic device implementing a form generation method according to an embodiment of the present invention;
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
Example one
Fig. 1 is a flowchart of a form generation method provided in an embodiment of the present invention, where the embodiment is applicable to a case where a form is flexibly generated based on business requirements, and the method may be executed by a form generation apparatus, where the form generation apparatus may be implemented in a form of hardware and/or software, and the form generation apparatus may be configured in a computing device that can execute the form generation method.
As shown in fig. 1, the method includes:
s110, at least one to-be-processed area corresponding to the to-be-generated form is obtained.
The form to be generated can be understood as a form designed according to business requirements, and the form to be generated can include characters and graphics, such as a diagnosis and treatment information form related to a doctor, a form related to customer information in sales work, and the like. The area to be processed includes a word processing area and/or a drawing area.
Specifically, in many scenes of daily work and life, in order to be able to visually see some information, a form drawing mode may be adopted to process the information to obtain a corresponding form to be generated, so that the form to be generated can be visually reflected. Typically, at least one word processing area and/or at least one drawing area is included in the form to be generated.
For example, in the process of performing treatment for the treatment user, a medical institution needs to pay attention to the development and change of the illness state of the treatment user at any time, and therefore, various physical sign information of the treatment user needs to be recorded, and if the recording is performed in a simple information recording manner, the change of the physical sign information of the treatment user may not be visually seen, so that a corresponding form can be generated according to the relevant information of the treatment user, and medical staff can conveniently observe the illness state change of the treatment user according to the form. Specifically, the form related to the visiting user may include basic information related to the visiting user, such as a name, an identification number, a department of hospital, medical information, and hospitalization related information, and may further include image information drawn based on the physical sign information of the visiting user, such as a line graph of body temperature change of the visiting user.
Optionally, the obtaining at least one to-be-processed area corresponding to the to-be-generated form includes: determining information to be used in the form to be generated; and calling a to-be-processed area corresponding to the to-be-identified identifier from a target database according to the information identifier carried by the to-be-used information.
The information to be used may be understood as characteristic information of the form to be processed, for example, taking a medical record form of the visiting user as an example, the information to be used may be any one of medical record type information, department information, diagnosis and treatment information, and the like in the medical record form information. The information identifier may be identifying information of the information to be used, for example, a keyword in the information to be used. The target database may be understood as a database for storing different regions to be matched, e.g. may comprise a word processing region and a drawing region.
Specifically, according to different information required in the form to be processed, a corresponding region to be processed, that is, a word processing region and a drawing region, needs to be called from the target database, and in the process of obtaining, the corresponding calling can be performed from the target database through an information identifier carried by the information to be used.
And S120, determining form drawing parameters corresponding to the areas to be processed, and drawing the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled.
The form drawing parameters may be understood as size information, such as width and height, of each region to be processed. The region to be filled can be understood as a region obtained by drawing the region to be processed based on the corresponding form drawing parameters. The region to be filled may be a region including a cell, a region including a small square, a blank region, or the like.
Specifically, the to-be-generated form includes at least one to-be-processed region, drawing parameters of the form corresponding to each to-be-processed region are different, and the corresponding to-be-processed region is drawn according to the determined drawing parameters of the form, so that the corresponding to-be-filled region can be obtained.
Optionally, the to-be-filled region includes a text-filled region, determining form drawing parameters corresponding to each to-be-processed region, and performing drawing processing on the corresponding to-be-processed region based on the form drawing parameters to obtain the to-be-filled region, including: if the area to be processed is the word processing area, determining a cell drawing parameter corresponding to a cell to be used in the word processing area; and drawing the cell to be used based on the cell drawing parameters to obtain a text region to be filled corresponding to the word processing region.
The word processing area may be understood as an area to be processed in which all information is word information. A cell to be used may be understood as a cell in a word processing area, e.g. in a word processing area containing 2 lines of information corresponding to the visiting user, each line may comprise 3 different pieces of information, and in a cell to be used comprising 6 cells to be used. The cell drawing parameters include the height and width of the cell to be used. The text region to be filled can be understood as a cell region for filling in text information.
Specifically, at least one cell to be used may be included in the word processing area, and generally, the number of the cells to be used is greater than the number of the information of the visiting user to be filled, so that the information related to the visiting user can be fully displayed according to each item of filling information in the cell to be used. Meanwhile, when the cell to be used is set, the cell drawing parameter corresponding to the cell to be used needs to be determined, and the corresponding cell to be used is drawn based on the cell drawing parameter, so that the text region to be filled corresponding to the word processing region is obtained.
S130, filling the information to be filled into the corresponding area to be filled to obtain a target form, and displaying the target form when a form acquisition instruction is received.
The information to be filled may include text information to be filled and graphic information to be filled, and correspondingly, the area to be filled may include a text filling area and a graphic filling area. The target form can be understood as a form to be generated containing information to be filled, for example, a medical record form containing information of a visiting user. The form retrieval instruction may be understood as an instruction for retrieving a target form.
Specifically, after the information to be filled is filled into the corresponding area to be filled, a target form is obtained, when the visiting user needs to obtain the target form, a corresponding form obtaining instruction can be triggered in the target display interface, and the target form is displayed based on the target display interface.
Optionally, the filling the information to be filled into the corresponding area to be filled includes: determining at least one keyword to be used corresponding to the text region to be filled; and calling text information to be filled corresponding to each keyword to be used from an information database, and filling the text information to be filled to a text position to be filled corresponding to each keyword to be used.
Taking the medical record form of the visiting user as an example, the keywords to be used may include keywords corresponding to basic information, department information, diagnosis information, and physical sign information associated with the visiting user. The information database may be understood as a database for storing various information associated with each visiting user, e.g. a database which may be used by a medical institution for storing information of the visiting user. The text information to be filled can be understood as information corresponding to each keyword to be used, and the text information to be filled usually contains the corresponding keyword to be used, so that the corresponding text information to be filled can be obtained according to the keyword to be used. The text position to be filled in may be understood as a position in the region to be filled in corresponding to the keyword to be used.
Specifically, after the area to be filled is obtained, in order to further draw the form to be generated, corresponding keywords to be used may be set in the area to be filled, for example, the keywords may include height, weight, body temperature, heart rate, respiration frequency, pulse, blood pressure, and stool and urine conditions of the visiting user, and may also include keywords such as date, number of days in hospital, operation date, and post-operation date. Usually, the information may be stored in an information database, and according to the corresponding keyword to be used, the corresponding text information to be filled may be called from the information database, and each text information to be filled is filled to the text position to be filled corresponding to each keyword to be used.
Optionally, the filling the information to be filled into the corresponding area to be filled to obtain the target form, and displaying the target form when receiving the form obtaining instruction includes: generating a target form based on the filling area and corresponding information to be filled; and when a form acquisition instruction corresponding to the target form is received, sending the target form to a target client side so as to display the target form based on the target client side.
According to the technical scheme of the embodiment, at least one to-be-processed area corresponding to the to-be-generated form is obtained, the to-be-processed area comprises a word processing area and a drawing area, and the corresponding word processing area and/or the drawing area can be called from the target database according to the information identifier carried by the to-be-used information in the to-be-generated form. Determining form drawing parameters corresponding to the areas to be processed, drawing the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled, determining height parameters and width parameters corresponding to the areas to be processed, and drawing the areas to be processed based on the corresponding height parameters and width parameters to obtain the corresponding areas to be filled. And filling the information to be filled into the corresponding area to be filled to obtain a target form, displaying the target form when a form acquisition instruction is received, generating the target form based on the area to be filled and the corresponding information to be filled, and displaying the target form when the form acquisition instruction is received. The problem of form format single and fixed, be difficult to with the form that generates and different business demands assorted is solved, the effect of the form of having got the nimble generation and matching with the business demand is got.
Example two
Fig. 2 is a flowchart of a form generating method according to the second embodiment of the present invention, where optionally, the areas to be filled include graphic filling areas, the form drawing parameters corresponding to the areas to be processed are determined, and drawing processing is performed on the corresponding areas to be processed based on the form drawing parameters, so as to refine the areas to be filled.
As shown in fig. 2, the method includes:
s210, at least one to-be-processed area corresponding to the to-be-generated form is obtained.
S220, determining form drawing parameters corresponding to the areas to be processed, and drawing the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled.
Taking the area to be filled as the graph filling area as an example, determining form drawing parameters corresponding to each area to be processed, and performing drawing processing on the corresponding area to be processed based on the form drawing parameters to obtain the area to be filled includes: if the area to be processed is the drawing area, determining a height parameter to be used of the drawing area according to the height to be used of the form to be generated, and determining a width parameter to be used of the drawing area according to the width to be used of the form to be generated; and drawing the drawing area based on the height parameter to be used and the width parameter to be used to obtain a graphic area to be filled corresponding to the drawing area.
The drawing area may be understood as an area for displaying a graphic generated based on data to be drawn. The height to be used may be understood as height information of the drawing area, and the height parameter to be used may be understood as a parameter value of the height to be used. The width to be used may be understood as width information of the drawing area, and the width parameter to be used may be understood as a parameter value of the width to be used.
Specifically, the area to be filled in the form to be generated may include not only the text area to be filled but also a graphic area to be filled. When the area to be filled is a drawing area, a height parameter to be used and a width parameter to be used, which correspond to the drawing area, need to be preset, and the drawing area is drawn according to the height parameter to be used and the width parameter to be used, so as to obtain the area to be filled of the graph.
Illustratively, the height parameter to be used and the width parameter to be used of the area to be filled with the graphic may be set correspondingly according to the height and the width of the form to be generated, for example, the width parameter to be used of the area to be filled with the graphic may be set according to the width information of the form to be generated, and the height parameter to be used may be set in equal proportion according to the width parameter to be used, so as to draw the area to be filled with the graphic based on the height parameter to be used and the width parameter to be used.
Optionally, the filling the information to be filled into the corresponding area to be filled includes: acquiring at least one to-be-drawn data corresponding to the to-be-filled region of the graph; and performing graph drawing on the at least one data to be drawn based on a preset drawing mode to obtain a graph to be used, and filling the graph to be used to the graph area to be filled.
Specifically, taking the form to be generated as the medical record form of the visiting user as an example, the medical record form may include the physical sign information of the visiting user, and the physical sign information of the visiting user may be used as the data to be drawn. The graph to be used may be understood as a graph drawn based on data to be drawn. The preset drawing mode comprises at least one of broken line drawing, dotted line drawing and geometric figure drawing.
And S230, filling the information to be filled into the corresponding area to be filled to obtain a target form, and displaying the target form when a form acquisition instruction is received.
According to the technical scheme of the embodiment, at least one to-be-processed area corresponding to the to-be-generated form is obtained, the to-be-processed area comprises a word processing area and a drawing area, and the corresponding word processing area and/or the drawing area can be called from the target database according to the information identifier carried by the to-be-used information in the to-be-generated form. Determining form drawing parameters corresponding to the areas to be processed, drawing the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled, determining height parameters and width parameters corresponding to the areas to be processed, and drawing the areas to be processed based on the corresponding height parameters and width parameters to obtain the corresponding areas to be filled. And filling the information to be filled into the corresponding area to be filled to obtain a target form, displaying the target form when a form acquisition instruction is received, generating the target form based on the area to be filled and the corresponding information to be filled, and displaying the target form when the form acquisition instruction is received. The problem of form format single and fixed, be difficult to with the form that generates and different business demands assorted is solved, the effect of the form of having got the nimble generation and matching with the business demand is got.
EXAMPLE III
In a specific example, taking the form to be generated as the clinical thermometer of the user, data of 6 time points may be collected every day with 7 days as a period in the clinical thermometer, and the core data includes body temperature, cooling, pulse, heart rate, respiration, and special events. Data information that can be attached every day is: the contents of urine frequency, stool frequency, body fluid intake and discharge, drug allergy and the like are selected and filled.
To facilitate monitoring of the patient's condition changes of the attending user based on the thermometer, different regions (i.e., to-be-processed regions) may be provided in the thermometer, including a word processing region and/or a drawing region. Illustratively, the word processing areas in the body temperature sheet may include a top base presentation area, a table top presentation area, and a table bottom presentation area. The top basic display area may include the name of the visiting user, the admission date, the diagnosis, the department, and the like (i.e., the information to be used), and the specific fields may be set according to actual requirements. The table top display area may include fields for date, days of hospitalization, number of days of surgery or post-partum, etc. The bottom of the table shows fields for the area such as blood pressure, body fluid intake, urine volume, stool, urine, and height. Specifically, when the word processing area is generated, at least one to-be-used cell in the word processing area may be determined according to the number of fields included in the word processing area, and a cell drawing parameter of the to-be-used cell, such as the height of the to-be-used cell, may be determined and recorded as H1. The word processing area can be used for displaying basic information, diagnosis and treatment information and the like associated with the visiting user, and the drawing area can be used for displaying physical sign information (namely to-be-drawn data) which can be changed by the visiting user, such as the mouth temperature, the axillary temperature, the heart rate, the pulse and the temperature after physical cooling of the visiting user. Illustratively, in a body temperature chart (i.e., a form to be generated), horizontal lines are drawn, starting at the leftmost end of the form to be generated, starting at a height of H1, and ending at the rightmost end of the form, with each field being repeatedly drawn according to the number of fields at a single, fixed row spacing. And obtaining the height information of the word processing area by multiplying the field number and the line height, drawing a vertical line, and recording the height of the end point after drawing as H2. Further, the height H2 was used as the height of the large compartment, 1/8 of the total width of the body temperature unit compartment was used as the height TH of the large compartment. Starting at TH and H2, the table width ends. The 6 horizontal lines are drawn repeatedly. The horizontal line is drawn with 1/5 at TH as the height of the line. The horizontal line part of the grid in the central area can be obtained. Further, TH was used as a space, and 1/5 of TH was used as a space to draw a vertical line, and the height was H4. Drawing straight lines by using 1/2 and H2 of TH as starting points, and drawing characters by using H2 height, thereby completing the basic blank body temperature chart.
And after the body temperature sheet is generated, acquiring the information to be filled corresponding to each area to be processed, and filling the information to be filled to the corresponding position to be filled. Illustratively, taking the graphic region to be filled as an example, the sign information (i.e., the data to be drawn) of the visiting user is obtained, and the sign information is displayed in a broken line manner. It should be noted that, if the height and the width of the to-be-filled region of the graph in the body temperature chart are single and fixed parameters, when the value of the physical sign information exceeds the preset value in the to-be-filled region of the graph, the to-be-drawn data exceeding the to-be-filled region of the graph needs to be marked. If the body temperature value in the graphic area to be filled is up to 40 ℃, if the body temperature data of the user at a certain time is 42 ℃, the body temperature value in the graphic area to be filled is required to be marked in a special way, for example, the body temperature value can be marked in a way of an upward arrow and assisting a specific body temperature value, because the numerical value cannot be displayed in the graphic area to be filled.
In addition, after the target form is generated based on the area to be filled and the corresponding information to be filled, a corresponding trigger condition may be set in the target form, for example, when a worker or a user who views the target form moves a mouse to a certain point or a certain area, specific information of the point is automatically displayed, such as the temperature data of the visiting user is 42 ℃, the temperature is 39 ℃ after physical cooling, and time information before and after physical cooling, etc. Further, after receiving the form obtaining instruction, the target form is sent to the corresponding client side, so that the target form is displayed on a target display interface of the client side.
According to the technical scheme, at least one to-be-processed area corresponding to the to-be-generated form is obtained, the to-be-processed area comprises a word processing area and a drawing area, and the corresponding word processing area and/or the drawing area can be called from the target database according to the information identification carried by the to-be-used information in the to-be-generated form. Determining form drawing parameters corresponding to the areas to be processed, drawing the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled, determining height parameters and width parameters corresponding to the areas to be processed, and drawing the areas to be processed based on the corresponding height parameters and width parameters to obtain the corresponding areas to be filled. And filling the information to be filled into the corresponding area to be filled to obtain a target form, displaying the target form when a form acquisition instruction is received, generating the target form based on the area to be filled and the corresponding information to be filled, and displaying the target form when the form acquisition instruction is received. The method and the device solve the problems that the form format is single and fixed, and the form which is matched with different business requirements is difficult to generate, and achieve the effect of flexibly generating the form which is matched with the business requirements.
Example four
Fig. 3 is a schematic structural diagram of a form generating apparatus according to a fourth embodiment of the present invention. As shown in fig. 3, the apparatus includes: a to-be-processed region obtaining module 310, a to-be-filled region determining module 320, and a target form determining module 330.
The to-be-processed area obtaining module 310 is configured to obtain at least one to-be-processed area corresponding to a to-be-generated form; wherein the at least one region to be processed comprises a word processing region and/or a drawing region;
the to-be-filled region determining module 320 is configured to determine form drawing parameters corresponding to each to-be-processed region, and perform drawing processing on the corresponding to-be-processed region based on the form drawing parameters to obtain the to-be-filled region;
and the target form determining module 330 is configured to fill the information to be filled into the corresponding area to be filled to obtain a target form, and display the target form when the form acquiring instruction is received.
According to the technical scheme of the embodiment, at least one to-be-processed area corresponding to the to-be-generated form is obtained, the to-be-processed area comprises a word processing area and a drawing area, and the corresponding word processing area and/or the drawing area can be called from the target database according to the information identifier carried by the to-be-used information in the to-be-generated form. Determining form drawing parameters corresponding to the areas to be processed, drawing the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled, determining height parameters and width parameters corresponding to the areas to be processed, and drawing the areas to be processed based on the corresponding height parameters and width parameters to obtain the corresponding areas to be filled. And filling the information to be filled into the corresponding area to be filled to obtain a target form, displaying the target form when a form acquisition instruction is received, generating the target form based on the area to be filled and the corresponding information to be filled, and displaying the target form when the form acquisition instruction is received. The problem of form format single and fixed, be difficult to with the form that generates and different business demands assorted is solved, the effect of the form of having got the nimble generation and matching with the business demand is got.
Optionally, the module for acquiring a region to be processed includes: the to-be-used information determining submodule is used for determining to-be-used information in the to-be-generated form;
the to-be-processed area calling submodule is used for calling the to-be-processed area corresponding to the to-be-identified identifier from a target database according to the information identifier carried by the to-be-used information; wherein, the target database comprises at least one region to be matched.
Optionally, the module for determining the region to be filled includes: a cell drawing parameter determining submodule, configured to determine a cell drawing parameter corresponding to a cell to be used in the word processing region if the region to be processed is the word processing region; the word processing area comprises at least one cell to be used, and the cell drawing parameters comprise the height and the width of the cell to be used;
and the text to-be-filled region determining submodule is used for drawing the to-be-used cell based on the cell drawing parameters to obtain a text to-be-filled region corresponding to the word processing region.
Optionally, the module for determining the region to be filled includes: the to-be-used parameter determining submodule is used for determining a to-be-used height parameter of the drawing area according to the to-be-used height of the to-be-generated form and determining a to-be-used width parameter of the drawing area according to the to-be-used width of the to-be-generated form if the to-be-processed area is the drawing area;
and the graphics to-be-filled region determining submodule is used for drawing the drawing region based on the height parameter to be used and the width parameter to be used to obtain the graphics to-be-filled region corresponding to the drawing region.
Optionally, the module for determining the region to be filled includes: the using keyword determining submodule is used for determining at least one keyword to be used corresponding to the text region to be filled;
and the text position to be filled determining submodule is used for calling text information to be filled corresponding to each keyword to be used from the information database and filling the text information to be filled to the text position to be filled corresponding to each keyword to be used.
Optionally, the module for determining the region to be filled includes: the data to be drawn acquisition submodule is used for acquiring at least one data to be drawn corresponding to the area to be filled in the graph;
the graph to-be-filled region determining submodule is used for carrying out graph drawing on the at least one piece of data to be drawn based on a preset drawing mode to obtain a graph to be used and filling the graph to be used to the graph to-be-filled region; the preset drawing mode comprises at least one of broken line drawing, dotted line drawing and geometric figure drawing.
Optionally, the target form determining module includes: the target form generation submodule is used for generating a target form based on the filling area and the corresponding information to be filled;
and the target form display sub-module is used for sending the target form to a target client when receiving a form acquisition instruction corresponding to the target form so as to display the target form based on the target client.
The form generation device provided by the embodiment of the invention can execute the form generation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 4 shows a schematic structural diagram of the electronic device 10 of the embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the form generation method.
In some embodiments, the form generation method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the form generation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the form generation method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
The computer program for implementing the form generation method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A form generation method, comprising:
acquiring at least one to-be-processed area corresponding to a to-be-generated form; wherein the at least one region to be processed comprises a word processing region and/or a drawing region;
determining form drawing parameters corresponding to each region to be processed, and drawing the corresponding region to be processed based on the form drawing parameters to obtain the region to be filled;
and filling the information to be filled into the corresponding area to be filled to obtain a target form, and displaying the target form when a form acquisition instruction is received.
2. The method of claim 1, wherein the obtaining at least one to-be-processed area corresponding to the form to be generated comprises:
determining information to be used in the form to be generated;
calling a to-be-processed area corresponding to the to-be-identified identifier from a target database according to the information identifier carried by the to-be-used information; wherein, the target database comprises at least one region to be matched.
3. The method according to claim 1, wherein the areas to be filled comprise text filling areas, and determining form drawing parameters corresponding to the areas to be processed, and performing drawing processing on the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled comprises:
if the area to be processed is the word processing area, determining a cell drawing parameter corresponding to a cell to be used in the word processing area; the word processing area comprises at least one cell to be used, and the cell drawing parameters comprise the height and the width of the cell to be used;
and performing drawing processing on the cells to be used based on the cell drawing parameters to obtain a text region to be filled corresponding to the word processing region.
4. The method according to claim 1, wherein the areas to be filled comprise graphic filling areas, and determining form drawing parameters corresponding to the areas to be processed, and performing drawing processing on the corresponding areas to be processed based on the form drawing parameters to obtain the areas to be filled comprises:
if the area to be processed is the drawing area, determining a height parameter to be used of the drawing area according to the height to be used of the form to be generated, and determining a width parameter to be used of the drawing area according to the width to be used of the form to be generated;
and drawing the drawing area based on the height parameter to be used and the width parameter to be used to obtain a graphic area to be filled corresponding to the drawing area.
5. The method according to claim 3, wherein the filling information into the corresponding area to be filled comprises:
determining at least one keyword to be used corresponding to the text region to be filled;
and calling text information to be filled corresponding to each keyword to be used from an information database, and filling the text information to be filled to a text position to be filled corresponding to each keyword to be used.
6. The method according to claim 4, wherein the filling information to be filled into the corresponding area to be filled comprises:
acquiring at least one to-be-drawn data corresponding to the to-be-filled region of the graph;
performing graph drawing on the at least one data to be drawn based on a preset drawing mode to obtain a graph to be used, and filling the graph to be used to the graph to be filled region; the preset drawing mode comprises at least one of broken line drawing, dotted line drawing and geometric figure drawing.
7. The method according to claim 1, wherein the filling information to be filled into the corresponding area to be filled to obtain a target form, and when a form obtaining instruction is received, displaying the target form comprises:
generating a target form based on the filling area and corresponding information to be filled;
and when a form acquisition instruction corresponding to the target form is received, sending the target form to a target client side so as to display the target form based on the target client side.
8. A form generation apparatus, comprising:
the system comprises a to-be-processed area acquisition module, a to-be-processed area generation module and a to-be-processed area generation module, wherein the to-be-processed area acquisition module is used for acquiring at least one to-be-processed area corresponding to a to-be-generated form; wherein the at least one region to be processed comprises a word processing region and/or a drawing region;
the device comprises a to-be-filled region determining module, a to-be-filled region determining module and a form processing module, wherein the to-be-filled region determining module is used for determining form drawing parameters corresponding to each to-be-processed region and drawing the corresponding to-be-processed region based on the form drawing parameters to obtain the to-be-filled region;
and the target form determining module is used for filling the information to be filled into the corresponding area to be filled to obtain a target form, and displaying the target form when a form acquiring instruction is received.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the form generation method of any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the form generation method of any one of claims 1-7 when executed.
CN202210728729.5A 2022-06-24 2022-06-24 Form generation method and device, electronic equipment and storage medium Pending CN115034190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210728729.5A CN115034190A (en) 2022-06-24 2022-06-24 Form generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210728729.5A CN115034190A (en) 2022-06-24 2022-06-24 Form generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115034190A true CN115034190A (en) 2022-09-09

Family

ID=83126518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210728729.5A Pending CN115034190A (en) 2022-06-24 2022-06-24 Form generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115034190A (en)

Similar Documents

Publication Publication Date Title
CN116307672A (en) Fault diagnosis method, device, electronic equipment and medium
CN114925143A (en) Method, device, equipment, medium and product for describing logical model blood relationship
CN115422924A (en) Information matching method and device, electronic equipment and storage medium
JP5419292B2 (en) User interface program, system and method for displaying time series data
US20210266397A1 (en) Computer messaging analytics systems and methods
CN115034190A (en) Form generation method and device, electronic equipment and storage medium
CN115510212A (en) Text event extraction method, device, equipment and storage medium
CN115049369A (en) Project management method and device, electronic equipment and storage medium
CN115599679A (en) Test rule base updating method and device, electronic equipment and storage medium
CN115130444A (en) Method, device, equipment and medium for generating dynamic form
CN113963771A (en) Method and device for calculating medicine opening quantity, electronic equipment and storage medium
CN117271840B (en) Data query method and device of graph database and electronic equipment
CN111653345B (en) Nursing scheme processing method and device
CN116152385B (en) Physiological signal drawing method and device, electronic equipment and storage medium
JP2013088876A (en) Image display device, image display system and program
CN116339733B (en) Application page generation method, system, electronic device and medium
CN114998037A (en) Data processing method and device, electronic equipment and storage medium
CN116230150A (en) Information processing method, apparatus, device and storage medium
CN114913948A (en) Information processing method and device, electronic equipment and readable storage medium
CN115274046A (en) Infusion information management method, device, medical advice management system and storage medium
CN114564491A (en) Data query method, device, equipment, medium, product and query assembly
CN114253645A (en) Method and device for creating and displaying ward theme interface
CN117423450A (en) Auxiliary diagnosis method and device for traditional Chinese medicine and electronic equipment
CN113948170A (en) Treatment duration obtaining method and device, electronic equipment and storage medium
CN114936547A (en) Entity alignment method, device, storage medium and electronic equipment

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