[go: up one dir, main page]

CN113887186B - Method for generating and executing built-in script of electronic medical record - Google Patents

Method for generating and executing built-in script of electronic medical record Download PDF

Info

Publication number
CN113887186B
CN113887186B CN202111112590.3A CN202111112590A CN113887186B CN 113887186 B CN113887186 B CN 113887186B CN 202111112590 A CN202111112590 A CN 202111112590A CN 113887186 B CN113887186 B CN 113887186B
Authority
CN
China
Prior art keywords
script
electronic medical
medical record
built
control
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.)
Active
Application number
CN202111112590.3A
Other languages
Chinese (zh)
Other versions
CN113887186A (en
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.)
Haitai Medical Information System Co ltd
Original Assignee
Haitai Medical Information System 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 Haitai Medical Information System Co ltd filed Critical Haitai Medical Information System Co ltd
Priority to CN202111112590.3A priority Critical patent/CN113887186B/en
Publication of CN113887186A publication Critical patent/CN113887186A/en
Application granted granted Critical
Publication of CN113887186B publication Critical patent/CN113887186B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/221Parsing markup language streams
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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

Landscapes

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

Abstract

The invention discloses an electronic medical record built-in script, a generation method and an execution method thereof, and relates to the technical field of electronic medical records. The electronic medical record built-in script is generated by setting script nodes, child nodes, attributes, source controls and attributes on a script interface of a target control in an electronic medical record template, and is executed by analyzing the electronic medical record built-in script. The built-in script of the electronic medical record realizes the customization requirement of the electronic medical record and is convenient for operation and maintenance personnel to independently use.

Description

Method for generating and executing built-in script of electronic medical record
Technical Field
The invention relates to the technical field of electronic medical records, in particular to a method for generating and executing a built-in script of an electronic medical record.
Background
Along with the rapid development of hospital informatization, electronic medical records are increasingly valued by hospitals, and the national level goes out of the rating specification of the electronic medical records of the hospitals, so that the demands of the electronic medical records are increased. Unique data logic requirements exist for different hospitals, different departments and electronic medical records including different types, and the current mainstream mode is to write functional codes into business logic according to requirements when programming. When the requirement is changed, the program code needs to be revised to be sent to the hospital for field update, and the processing mode is time-consuming and labor-consuming and is unfavorable for operation and maintenance personnel to respond to the requirement change quickly. And for different scenarios with a large number of customization needs, challenges also exist for subsequent code maintenance management.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method for generating and executing the built-in script of the electronic medical record, which realizes the customization requirement of the electronic medical record and is convenient for operation and maintenance personnel to independently use.
In order to achieve the above purpose, the invention adopts the following technical scheme: an electronic medical record built-in script is generated by the following method:
(1) Opening an electronic medical record template and selecting a target control in the electronic medical record template;
(2) Selecting a script trigger event type on the script interface of the target control selected in the step (1), and setting a script node;
(3) Selecting newly added script nodes, setting child nodes on a script interface, and setting result storage nodes and attributes on the script interface;
(4) Setting a source control and attributes on a script interface, setting a function assignment statement, carrying out function assignment statement processing on the source control, assigning the attributes of a result storage node, storing the script interface, and generating an electronic medical record built-in script.
Further, the target control includes: text boxes, drop-down boxes, radio boxes, check boxes, picture types.
Further, the script trigger event types include: onclick type, ondbclick type, onchange type, onload type.
Further, the function assignment statement includes: equaling, adding, subtracting, multiplying, dividing, taking the remainder, replacing the text, intercepting the character string, splicing the character string, verifying the format and converting the case and the case.
Further, step (2) further comprises: selecting a newly added script node, setting a judging sentence if on a script interface, selecting a functional sentence, and respectively inputting the first control, the second control and corresponding attributes to the functional sentence after the functional sentence is selected by a selection input box of the first control and the second control.
Further, the selecting a function sentence includes: greater than, equal to, less than, whether contain, whether empty, and whether digital.
Further, the attributes of the first control and the second control are text, value, length, ID, name, whether to select or not or whether to fill.
Further, the invention also provides an execution method for generating the built-in script of the electronic medical record, which specifically comprises the following steps:
(1) Opening an editing interface of the electronic medical record, and triggering a built-in script of the electronic medical record when a target control is loaded on a page;
(2) Analyzing xml of the built-in script, obtaining script sentences to be executed of all built-in scripts, judging the number of the script sentences to be executed, and ending execution if the number of the script sentences to be executed is 0; otherwise, executing the step (3);
(3) Judging the type of the script statement to be executed currently, if the script statement is an if statement, comparing the functional statements with the corresponding attributes of the first control and the second control, and if the comparison does not pass, repeating the step (2) on the next script statement to be executed; if the comparison is passed, traversing the child node of the script statement to be executed currently, and repeatedly executing the step (3); and if the current script statement to be executed is a function assignment statement, assigning the source control to the attribute of the result storage node after the function assignment statement is processed.
Compared with the prior art, the invention has the following beneficial effects: the script trigger event type is selected on the target control by the generated electronic medical record built-in script so as to trigger the change of the attribute of the electronic medical record built-in script, thereby solving the customization requirement of hospitals on various electronic medical records in the system, being capable of realizing the adjustment of data content and presentation forms and realizing the linkage among different structural points; meanwhile, the built-in script of the electronic medical record generated by the invention is flexible and customizable, and can meet the requirements of various medical record documents. The execution method of the built-in script of the electronic medical record is simple to operate, specific requirements in the electronic medical record document are realized, the requirements of operation and maintenance personnel on quick response are met, the simple data interaction requirements are extracted, the implementation is realized on the template manufacturing level, and a business system can concentrate on business logic and is free from the management of different arrangement and combination of a large number of customized requirements.
Drawings
FIG. 1 is a flowchart of a method for generating and executing a script built in an electronic medical record according to the present invention.
Detailed Description
The technical scheme of the invention is further explained below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for generating and executing an electronic medical record built-in script according to the present invention, where the method for generating the electronic medical record built-in script specifically includes the following steps:
(1) Opening an electronic medical record template, selecting a target control in the electronic medical record template, and responding to the script triggering event selected in the step (2) through the target control; the target control related in the invention comprises: the method comprises the following steps of (1) a text box, a drop-down box, a radio box, a check box and a picture type, wherein the text box, the drop-down box, the radio box and the check box are used for responding to all script trigger event types in the step (2), and the picture type is used for responding to onclick type and ondbclick type events.
(2) Selecting a script trigger event type on the script interface of the target control selected in the step (1), and setting a script node; the script triggering event types in the invention comprise: the method comprises the steps of onclick type, ondbclick type, onchange type and onload type, wherein the onclick type represents a trigger event when a mouse clicks a target control, the ondbclick type represents a trigger event when the mouse double clicks the target control, the onchange type represents a trigger event when a target control value is changed, and the onload type represents a trigger event when the target control is loaded, and the trigger event comprises all operation behaviors of an operation and maintenance person on an electronic medical record in daily life.
(3) Selecting newly added script nodes, setting child nodes on a script interface, and setting result storage nodes and attributes on the script interface; the plurality of built-in scripts can be nested by setting the child nodes, so that the complex logic judgment requirement is better met.
(4) Setting a source control and attributes on a script interface, setting a function assignment statement, performing function assignment statement processing on the source control, assigning the attributes of a result storage node, storing the script interface, and generating an electronic medical record built-in script; the attribute and the value of the result storage node are changed through the function assignment statement, so that the linkage effect among different controls is realized. The functional assignment statement in the invention comprises: equaling, adding, subtracting, multiplying, dividing, taking the remainder, replacing the text, intercepting the character string, splicing the character string, verifying the format and converting the case and the case.
When the script is executed continuously only when the specific conditions are met among different controls, functional statement comparison is needed, and the trigger conditions of the built-in script can be defined in more detail, so that in the method for generating the built-in script of the electronic medical record, the step (2) further comprises: selecting a newly added script node, setting a judging sentence if on a script interface, selecting a functional sentence, and respectively inputting the first control, the second control and corresponding attributes to the functional sentence after the functional sentence is selected by a selection input box of the first control and the second control. Wherein selecting the functional statement includes: greater than, equal to, less than, containing, empty, and a number; the attributes of the first control and the second control are text, value, length, ID, name, whether to select or not or whether to fill.
The execution method of the built-in script of the electronic medical record generated in the invention specifically comprises the following steps:
(1) Opening an editing interface of the electronic medical record, and triggering a built-in script of the electronic medical record when a target control is loaded on a page;
(2) Analyzing xml of the built-in script, obtaining script sentences to be executed of all built-in scripts, judging the number of the script sentences to be executed, and ending execution if the number of the script sentences to be executed is 0; otherwise, executing the step (3);
(3) Judging the type of the script statement to be executed currently, if the script statement is an if statement, comparing the functional statements with the corresponding attributes of the first control and the second control, and if the comparison does not pass, repeating the step (2) on the next script statement to be executed; if the comparison is passed, traversing the child node of the script statement to be executed currently, and repeatedly executing the step (3); and if the current script statement to be executed is a function assignment statement, assigning the source control to the attribute of the result storage node after the function assignment statement is processed.
By executing the built-in script of the electronic medical record through the method, the operation and maintenance personnel can perform script triggering on the operation behaviors of all the electronic medical records, the script set in the target control is executed according to the set flow, the linkage effect among different controls is realized, different logic requirements of various scenes of a hospital are met, the customization requirement of the electronic medical record is realized, and the operation and maintenance personnel can use the electronic medical record independently.
The above is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above embodiment, and all technical solutions belonging to the concept of the present invention are within the scope of the present invention. It should be noted that modifications and adaptations to the invention without departing from the principles thereof are intended to be within the scope of the invention as set forth in the following claims.

Claims (4)

1. The execution method of the built-in script of the electronic medical record is characterized by comprising the following steps of:
(1) Opening an electronic medical record template and selecting a target control in the electronic medical record template; the target control comprises: text boxes, drop-down boxes, radio boxes, check boxes, picture types;
(2) Selecting a script trigger event type on the script interface of the target control selected in the step (1), and setting a script node; step (2) further comprises: selecting a newly added script node, setting a judging sentence if on a script interface, selecting a functional sentence, and respectively inputting the first control, the second control and corresponding attributes to the selection input boxes of the first control and the second control after the functional sentence is selected, so as to compare the functional sentence;
the script trigger event types include: onclick type, ondbclick type, onchange type, onload type;
(3) Selecting newly added script nodes, setting child nodes on a script interface, and setting result storage nodes and attributes on the script interface;
(4) Setting a source control and attributes on a script interface, setting a function assignment statement, performing function assignment statement processing on the source control, assigning the attributes of a result storage node, storing the script interface, and generating an electronic medical record built-in script;
(5) Opening an editing interface of the electronic medical record, and triggering a built-in script of the electronic medical record when a target control is loaded on a page;
(6) Analyzing xml of the built-in script, obtaining script sentences to be executed of all built-in scripts, judging the number of the script sentences to be executed, and ending execution if the number of the script sentences to be executed is 0; otherwise, executing the step (7);
(7) Judging the type of the script statement to be executed currently, if the script statement is an if statement, comparing the functional statements of the corresponding attributes of the first control and the second control, and if the comparison does not pass, repeating the step (6) on the next script statement to be executed; if the comparison is passed, traversing the child node of the script statement to be executed currently, and repeatedly executing the step (7); and if the current script statement to be executed is a function assignment statement, assigning the source control to the attribute of the result storage node after the function assignment statement is processed.
2. The method for executing the built-in script of the electronic medical record according to claim 1, wherein the function assignment statement comprises: equaling, adding, subtracting, multiplying, dividing, taking the remainder, replacing the text, intercepting the character string, splicing the character string, verifying the format and converting the case and the case.
3. The method for executing the script built in the electronic medical record according to claim 1, wherein the selecting the function sentence includes: greater than, equal to, less than, whether contain, whether empty, and whether digital.
4. The method for executing the script built in the electronic medical record according to claim 1, wherein the attributes of the first control and the second control are text, value, length, ID, name, whether to select or not, or whether to fill.
CN202111112590.3A 2021-09-23 2021-09-23 Method for generating and executing built-in script of electronic medical record Active CN113887186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111112590.3A CN113887186B (en) 2021-09-23 2021-09-23 Method for generating and executing built-in script of electronic medical record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111112590.3A CN113887186B (en) 2021-09-23 2021-09-23 Method for generating and executing built-in script of electronic medical record

Publications (2)

Publication Number Publication Date
CN113887186A CN113887186A (en) 2022-01-04
CN113887186B true CN113887186B (en) 2024-08-06

Family

ID=79009904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111112590.3A Active CN113887186B (en) 2021-09-23 2021-09-23 Method for generating and executing built-in script of electronic medical record

Country Status (1)

Country Link
CN (1) CN113887186B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225246A (en) * 2019-05-28 2019-09-10 北京字节跳动网络技术有限公司 Generation method, device, electronic equipment and the computer readable storage medium of event scripts
CN113051172A (en) * 2021-04-09 2021-06-29 广州虎牙科技有限公司 Test script execution method and device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899046B (en) * 2015-06-26 2018-01-30 上海斐讯数据通信技术有限公司 A kind of multi-functional script operation method and system
CN111930358B (en) * 2020-06-08 2022-08-09 南京南瑞信息通信科技有限公司 Operation and maintenance script generation and execution method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225246A (en) * 2019-05-28 2019-09-10 北京字节跳动网络技术有限公司 Generation method, device, electronic equipment and the computer readable storage medium of event scripts
CN113051172A (en) * 2021-04-09 2021-06-29 广州虎牙科技有限公司 Test script execution method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113887186A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
US6678885B2 (en) System and method for common code generation
US20080263101A1 (en) Data Processing Device and Data Processing Method
US20190188049A1 (en) Apparatus and method to select services for executing a user program based on a code pattern included therein
CN104133772A (en) Automatic test data generation method
US12032941B2 (en) Method and system for updating legacy software
CN106484389B (en) Action flow segmentation management
CN113296759B (en) User interface processing method, user interface processing system, device and storage medium
CN113590123A (en) WPF interface switching method and device, computer equipment and storage medium
US10721305B2 (en) Presenting content using decoupled presentation resources
CN116028062B (en) Target code generation method, NPU instruction display method and device
US20080209572A1 (en) Data Processing System, Data Processing Method, and Management Server
US20090132906A1 (en) Document processing device and document processing method
CN118982008A (en) A document processing method, system, device, storage medium and product
US20090077462A1 (en) Document processing device and document processing method
US20080010588A1 (en) Document Processing Device and Document Processing Method
CN113887186B (en) Method for generating and executing built-in script of electronic medical record
US7805452B2 (en) Data processing device and data processing method
CN113705183B (en) Web service-oriented electronic form data generation and maintenance method and related equipment
US20090235156A1 (en) Document processing device and document processing method
CN114237574B (en) Financial business production management system, method, equipment, medium and program products
US20080320412A1 (en) Document Processing Device and Document Processing Method
US20080010587A1 (en) Document Processing Device and Document Processing Method
JP2014228990A (en) Control program creation apparatus and control program creation method
US7428697B2 (en) Preserving content or attribute information during conversion from a structured document to a computer program
CN114356430A (en) DAG (demand oriented architecture) dependency configuration tool based on airflow scheduling system

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
GR01 Patent grant
GR01 Patent grant