CN109670152B - HL7V3 analysis method, storage medium, electronic equipment and system - Google Patents

HL7V3 analysis method, storage medium, electronic equipment and system Download PDF

Info

Publication number
CN109670152B
CN109670152B CN201811544855.5A CN201811544855A CN109670152B CN 109670152 B CN109670152 B CN 109670152B CN 201811544855 A CN201811544855 A CN 201811544855A CN 109670152 B CN109670152 B CN 109670152B
Authority
CN
China
Prior art keywords
hl7v3
file
standard
constraint
parameters
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
CN201811544855.5A
Other languages
Chinese (zh)
Other versions
CN109670152A (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.)
Wuhan Fiberhome Information Integration Technologies Co ltd
Original Assignee
Wuhan Fiberhome Information Integration Technologies 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 Wuhan Fiberhome Information Integration Technologies Co ltd filed Critical Wuhan Fiberhome Information Integration Technologies Co ltd
Priority to CN201811544855.5A priority Critical patent/CN109670152B/en
Publication of CN109670152A publication Critical patent/CN109670152A/en
Application granted granted Critical
Publication of CN109670152B publication Critical patent/CN109670152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an HL7V3 analysis method, a storage medium, electronic equipment and a system, and relates to the technical field of communication. Extracting parameters in the HL7V3 constraint file, and correspondingly inputting the parameters into a JAVA class file to obtain an HL7V3 standard class file. And sequentially splicing the HL7V3 standard class files according to the XML description text to generate an HL7V3 message in an XML format. The invention can analyze according to the constraint file supplied by the user and provide various formats of HL7V3 messages according to the requirement.

Description

HL7V3 analysis method, storage medium, electronic equipment and system
Technical Field
The invention relates to the technical field of communication, in particular to an HL7V3 analysis method, a storage medium, electronic equipment and a system.
Background
HL7 (Health Level 7, standard for exchanging Health information) is a protocol for electronic transmission between different applications in the medical field. HL7 aggregates the standard formats used by different vendors to design interfaces between application software, which will allow data interactions between the heterogeneous systems by individual healthcare institutions. As an information exchange standard, HL7 issued v2.0v2.1v2.2v2.3v2.3.1, V2.4, V3.0, i.e., HL7V3, in succession since release of V1.0 in 1987, and V2.4 in 2000.
Because of the special structure of HL7v3, one HL7v3 message that is required may contain more than one entity. And the message containing a plurality of entities and some event information can be analyzed by using the simplest mode or the complex mode under the condition of meeting the HL7v3 constraint. This ambiguous parsing approach presents a significant hurdle to how the parsing engine processes HL7v3 messages and how the relevant Java entities are defined.
Therefore, a flexible parsing scheme is needed to support the complexity of various HL7V3 messages, and users can form HL7V3 messages as long as they provide files satisfying HL7V3 constraints.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention aims to provide an HL7V3 parsing method, a storage medium, electronic equipment and a system, which can parse according to constraint files supplied by users and provide HL7V3 messages in various formats according to requirements, and meanwhile, once an interface needs to be adjusted, if a message publisher does not only publish the simplest message but also adds field content, the invention does not need to modify codes; whereas the manual coding mode requires modification of the relevant code for adaptation.
To achieve the above object, in a first aspect, an embodiment of the present invention provides an HL7V3 parsing method
Acquiring an HL7V3 constraint file in an XML format, identifying a logic relation in the HL7V3 constraint file, and generating a JAVA class file with a preset structure according to the logic relation, wherein the JAVA class file has an XML description text of the HL7V3 constraint file;
extracting parameters in the HL7V3 constraint file, and correspondingly inputting the parameters into a JAVA class file to obtain an HL7V3 standard class file;
and sequentially splicing the HL7V3 standard class files according to the XML description text to generate an HL7V3 message in an XML format.
As a preferred embodiment:
after the HL7V3 standard class file is obtained, the method further comprises the following steps before packing the HL7V3 standard class file:
and checking the HL7V3 standard file, if the HL7V3 standard file passes the check, performing the next step, otherwise, adjusting the HL7V3 standard file according to the check error until the HL7V3 standard file passes the check.
As a preferred embodiment:
the extraction of parameters in the HL7V3 constraint file comprises the following steps:
obtaining an HL7V3 constraint file;
searching for preset characteristic characters, and extracting parameters corresponding to the characteristic characters according to the characteristic characters.
As a preferred embodiment, before extracting the parameters in the HL7V3 constraint file, the method further comprises the following steps:
and checking the JAVA class file, and acquiring parameters to be input according to the error reporting information.
As a preferred embodiment, it is further characterized in that it packages HL7V3 standard class files to generate data packages, said data packages providing an access interface for defining file access paths.
As a preferred embodiment:
the data packet is a jar compression packet.
In a second aspect, the present implementations also provide an HL7V3 parsing system based on the first aspect, comprising:
the identifying module is used for identifying the logic relation in the HL7V3 constraint file and generating a JAVA class file according to the logic relation;
the checking module is used for checking the JAVA class file and acquiring parameters to be input according to the error reporting information;
the extraction module is used for acquiring an HL7V3 constraint file, searching a preset characteristic character, extracting parameters corresponding to the characteristic character according to the characteristic character, and inputting the JAVA class file to obtain an HL7V3 standard class file;
the packaging module is used for packaging the HL7V3 standard type file to generate a data packet, wherein the data packet is used for defining a file access path to provide an access interface;
the generating module is used for accessing the interface according to the access path of the data packet and obtaining the HL7V3 message. In a third aspect, embodiments of the present invention provide an HL7V3 parsing system, comprising:
the conversion module is used for acquiring an HL7V3 constraint file in an XML format, identifying a logic relation in the HL7V3 constraint file, and generating a JAVA class file with a preset structure according to the logic relation, wherein the JAVA class file has an XML description text of the HL7V3 constraint file;
the input module is used for extracting parameters in the HL7V3 constraint file, correspondingly inputting the parameters into the JAVA class file to obtain an HL7V3 standard class file;
and the message module is used for sequentially splicing the HL7V3 standard class files according to the XML description text to generate an XML format HL7V3 message.
In a fourth aspect, embodiments of the present invention further provide a storage medium having stored thereon a computer program which, when executed by a processor, implements the method in the embodiments of the first aspect.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program running on the processor, and the processor implements the method in the embodiment of the first aspect when executing the computer program.
Compared with the prior art, the invention has the advantages that:
according to the HL7V3 analysis method, the storage medium, the electronic equipment and the system, the logical relation of the HL7V3 constraint file is firstly converted into the JAVA class file with the preset structure, then parameters in the JAVA class file are extracted and input into the JAVA class file, the HL7V3 standard class file is directly obtained, and then the HL7V3 standard class file is spliced to generate an HL7V3 message. The method separates the logic relationship and the parameters, ensures that standard files and messages can be identified by converting the logic and format, then stores the parameters to be read, and finally ensures that the parameters can be read correctly.
Drawings
For a clearer description of the technical solutions of the embodiments of the present invention, the following description will be given for a brief description of the drawings corresponding to the embodiments, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart illustrating steps of an embodiment of an HL7V3 parsing method;
FIG. 2 is a schematic diagram of an HL7V3 parsing system.
In the figure: 1-conversion module, 2-input module, 3-packing module.
Detailed Description
Embodiments of the present invention are described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides an HL7V3 parsing method, a storage medium, electronic equipment and a system, which can parse according to constraint files supplied by a user and provide HL7V3 messages in various formats according to requirements.
In order to achieve the technical effects, the general idea of the application is as follows:
acquiring an HL7V3 constraint file in an XML format, identifying a logic relation in the HL7V3 constraint file, and generating a JAVA class file with a preset structure according to the logic relation, wherein the JAVA class file has an XML description text of the HL7V3 constraint file;
extracting parameters in the HL7V3 constraint file, and correspondingly inputting the parameters into a JAVA class file to obtain an HL7V3 standard class file;
and sequentially splicing the HL7V3 standard class files according to the XML description text to generate an HL7V3 message in an XML format.
In summary, the constraint file is a description file of information to be converted provided by a user, and the measured parameters are displayed in the constraint file according to a fixed logic rule.
In order to better understand the above technical solution, the following detailed description is provided in connection with specific embodiments.
Example 1
Referring to fig. 1, an embodiment of the present invention provides an HL7V3 parsing method, which includes:
s1: acquiring an HL7V3 constraint file in an XML format, identifying a logic relation in the HL7V3 constraint file, and generating a JAVA class file with a preset structure according to the logic relation, wherein the JAVA class file has an XML description text of the HL7V3 constraint file;
s2: extracting parameters in the HL7V3 constraint file, and correspondingly inputting the parameters into a JAVA class file to obtain an HL7V3 standard class file;
s3: and sequentially splicing the HL7V3 standard class files according to the XML description text to generate an HL7V3 message in an XML format.
The above file conversion is not limited to single file conversion, and may be single file splitting multiple files and then integrating. Converting the XML format file into a plurality of JAVA class files with XML description reserved, inputting parameters to be filled into the JAVA internal file, and then splicing according to the XML description to obtain the message.
For example, the HL7V3 constraint file is split into multiple Java entity classes, then the Java entity classes are summarized into HL7V3 entities one by one, XML is generated, finally the generated program classes and constraint files are packaged by a packaging script, preferably, HL7V3 messages are files in XML format, and the file format of the HL7V3 constraint file is XML format.
It should be noted that, the finally generated HL7V3 packet may be stored in the form of a package file in the above example, but the best usage scenario is online transmission, and after transmission, the HL7V3 packet is recognized by the respective system and then converted into the format of the respective system. In the use scenario: asynchronous call, network delay and packet drop are serious, and the packet is packed and sent to a destination system in the form of a file for analysis.
As a preferred embodiment, after obtaining the HL7V3 standard class file, the method further comprises the following steps before packaging the HL7V3 standard class file:
and checking the HL7V3 standard file, if the HL7V3 standard file passes the check, performing the next step, otherwise, adjusting the HL7V3 standard file according to the check error until the HL7V3 standard file passes the check.
After conversion, a part of the message possibly does not meet the file standard and cannot be read by a receiver, so that the message can be adjusted in advance by checking the message so as to ensure that the converted message can be read by the receiver.
As a preferred embodiment, extracting parameters in HL7V3 constraint file specifically is:
a1: obtaining an HL7V3 constraint file;
a2: searching for preset characteristic characters, and extracting parameters corresponding to the characteristic characters according to the characteristic characters.
The constraint file stores parameters through specific logic rules, such as special character pairs, special text signs and the like, and the parameters can be obtained through analysis by reading the special character pairs and the special text signs. For example, the logical rules of the HTML file hold special characters of web page titles, text, etc., identifying and holding patient physiological characteristic parameters.
Further, before the file parameters are extracted, the JAVA type file is checked, and parameters needing to be input are obtained according to error reporting information.
Because the file has converted its logical relation into the JAVA type file of the preset structure without parameter, must report errors and report errors as lacking various parameters when checking, therefore, according to these report error information, can carry on the input of the demand parameter, namely find the parameter needing to be input before, find the position needing to be input now, then input the parameter to this position, can get the intact JAVA type file.
Further, as a preferred embodiment, the present example further provides an HL7V3 analysis system based on the above analysis method, which includes:
the identifying module is used for identifying the logic relation in the HL7V3 constraint file and generating a JAVA class file according to the logic relation;
the checking module is used for checking the JAVA class file and acquiring parameters to be input according to the error reporting information;
the extraction module is used for acquiring an HL7V3 constraint file, searching a preset characteristic character, extracting parameters corresponding to the characteristic character according to the characteristic character, and inputting the JAVA class file to obtain an HL7V3 standard class file;
the packaging module is used for packaging the HL7V3 standard type file to generate a data packet, wherein the data packet is used for defining a file access path to provide an access interface;
the generating module is used for accessing the interface according to the access path of the data packet and obtaining the HL7V3 message.
The system analyzes the HL7V3 file by using the method.
Based on the same inventive concept, the present application provides a second embodiment, and the specific implementation manner thereof is as follows.
Example two
Referring to fig. 2, an embodiment of the present invention provides an HL7V3 parsing system, which includes:
the conversion module 1 is used for acquiring an HL7V3 constraint file in an XML format, identifying a logic relation in the HL7V3 constraint file, and generating a JAVA class file with a preset structure according to the logic relation, wherein the JAVA class file has an XML description text of the HL7V3 constraint file;
the input module 2 is used for extracting parameters in the HL7V3 constraint file, correspondingly inputting the parameters into the JAVA class file to obtain an HL7V3 standard class file;
and the message module 3 is used for sequentially splicing the HL7V3 standard class files according to the XML description text to generate an XML format HL7V3 message.
The various modifications and specific examples of the foregoing method embodiments are equally applicable to the system of the present embodiment, and those skilled in the art will be aware of the implementation methods and benefits of the system of the present embodiment through the foregoing detailed description of the method, so they will not be described in detail herein for brevity.
Based on the same inventive concept, the present application provides embodiment three.
Example III
A third embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements an HL7V3 parsing method as provided by any embodiment of the present invention, the method comprising:
acquiring an HL7V3 constraint file in an XML format, identifying a logic relation in the HL7V3 constraint file, and generating a JAVA class file with a preset structure according to the logic relation, wherein the JAVA class file has an XML description text of the HL7V3 constraint file;
extracting parameters in the HL7V3 constraint file, and correspondingly inputting the parameters into a JAVA class file to obtain an HL7V3 standard class file;
and sequentially splicing the HL7V3 standard class files according to the XML description text to generate an HL7V3 message in an XML format.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having 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. In this document, a computer 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.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Based on the same inventive concept, the present application provides an embodiment four.
Example IV
The fourth embodiment of the present invention also provides an electronic device, including a memory and a processor, where the memory stores a computer program running on the processor, and where the processor implements all or part of the method steps in the first embodiment when executing the computer program.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is a control center of the computer device, connecting various parts of the overall computer device using various interfaces and lines.
The memory may be used to store the computer program and/or modules, and the processor may implement various functions of the computer device by running or executing the computer program and/or modules stored in the memory, and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
In general, according to the HL7V3 parsing method, the storage medium, the electronic device and the system provided by the embodiment of the invention, compared with the traditional technology and the like, through more characteristics, the HL7V3 parsing method, the storage medium, the electronic device and the system can parse according to constraint files supplied by users and provide HL7V3 messages in various formats according to requirements.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. An HL7V3 parsing method, comprising:
acquiring an HL7V3 constraint file in an XML format, identifying a logic relation in the HL7V3 constraint file, and generating a JAVA class file with a preset structure according to the logic relation, wherein the JAVA class file has an XML description text of the HL7V3 constraint file;
extracting parameters in the HL7V3 constraint file, and correspondingly inputting the parameters into a JAVA class file to obtain an HL7V3 standard class file;
sequentially splicing the HL7V3 standard class files according to the XML description text to generate an HL7V3 message in an XML format;
the extraction of parameters in the HL7V3 constraint file comprises the following steps:
obtaining an HL7V3 constraint file;
searching for preset characteristic characters, and extracting parameters corresponding to the characteristic characters according to the characteristic characters;
before extracting parameters in the HL7V3 constraint file, the method further comprises the following steps:
and checking the JAVA class file, and acquiring parameters to be input according to the error reporting information.
2. The method of claim 1, wherein:
after the HL7V3 standard class file is obtained, the method further comprises the following steps before packing the HL7V3 standard class file:
and checking the HL7V3 standard file, if the HL7V3 standard file passes the check, performing the next step, otherwise, adjusting the HL7V3 standard file according to the check error until the HL7V3 standard file passes the check.
3. The method of claim 1, further comprising packaging HL7V3 standard class files to generate a data packet that defines a file access path to provide an access interface.
4. A method as claimed in claim 3, wherein:
the data packet is a jar compression packet.
5. An HL7V3 parsing system based on the method of claim 1, comprising:
the identifying module is used for identifying the logic relation in the HL7V3 constraint file and generating a JAVA class file according to the logic relation;
the checking module is used for checking the JAVA class file and acquiring parameters to be input according to the error reporting information;
the extraction module is used for acquiring an HL7V3 constraint file, searching a preset characteristic character, extracting parameters corresponding to the characteristic character according to the characteristic character, and inputting the JAVA class file to obtain an HL7V3 standard class file;
the packaging module is used for packaging the HL7V3 standard type file to generate a data packet, wherein the data packet is used for defining a file access path to provide an access interface;
the generating module is used for accessing the interface according to the access path of the data packet and obtaining the HL7V3 message.
6. A storage medium having a computer program stored thereon, characterized by: the computer program, when executed by a processor, implements the method of any of claims 1 to 4.
7. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that runs on the processor, characterized in that: the processor, when executing the computer program, implements the method of any of claims 1 to 4.
8. An HL7V3 parsing system based on the method of claim 1, wherein:
the conversion module is used for acquiring an HL7V3 constraint file in an XML format, identifying a logic relation in the HL7V3 constraint file, and generating a JAVA class file with a preset structure according to the logic relation, wherein the JAVA class file has an XML description text of the HL7V3 constraint file;
the input module is used for extracting parameters in the HL7V3 constraint file, correspondingly inputting the parameters into the JAVA class file to obtain an HL7V3 standard class file;
and the message module is used for sequentially splicing the HL7V3 standard class files according to the XML description text to generate an XML format HL7V3 message.
CN201811544855.5A 2018-12-17 2018-12-17 HL7V3 analysis method, storage medium, electronic equipment and system Active CN109670152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811544855.5A CN109670152B (en) 2018-12-17 2018-12-17 HL7V3 analysis method, storage medium, electronic equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811544855.5A CN109670152B (en) 2018-12-17 2018-12-17 HL7V3 analysis method, storage medium, electronic equipment and system

Publications (2)

Publication Number Publication Date
CN109670152A CN109670152A (en) 2019-04-23
CN109670152B true CN109670152B (en) 2023-05-26

Family

ID=66143921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811544855.5A Active CN109670152B (en) 2018-12-17 2018-12-17 HL7V3 analysis method, storage medium, electronic equipment and system

Country Status (1)

Country Link
CN (1) CN109670152B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111223B (en) * 2021-04-26 2023-10-13 银清科技有限公司 Method and device for generating XML string by message

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699770A (en) * 2013-06-07 2014-04-02 南方医科大学南方医院 ECG (Electrocardiograph) data storage method based on HL7 (Health Level Seven) standard
CN108388811A (en) * 2018-03-22 2018-08-10 广东技术师范学院天河学院 Personalized study under wechat public platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7346889B1 (en) * 2003-01-16 2008-03-18 Oracle International Corporation Method and system for building message instances
CN102609506B (en) * 2012-02-03 2014-01-08 杭州杰唐信息技术有限公司 Method for generating HL7 (Health Level 7) message through mapping
CN103514376A (en) * 2013-10-12 2014-01-15 无锡中盛医疗设备有限公司 Implementation method for middleware collaborative exchange among medical information systems with different structures

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699770A (en) * 2013-06-07 2014-04-02 南方医科大学南方医院 ECG (Electrocardiograph) data storage method based on HL7 (Health Level Seven) standard
CN108388811A (en) * 2018-03-22 2018-08-10 广东技术师范学院天河学院 Personalized study under wechat public platform

Also Published As

Publication number Publication date
CN109670152A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
CN108415832B (en) Interface automation test method, device, equipment and storage medium
CN104461491A (en) Running method and system of Hybrid components
CN110297999A (en) A kind of web page template generation method and device, webpage loading method and front-end server and Website server
CN110020358B (en) Method and device for generating dynamic page
CN110390069A (en) The method, apparatus of data check calculates equipment and medium
CN112631590B (en) Component library generation method, device, electronic equipment and computer readable medium
CN110780860A (en) Generation method and device of table building script, computer equipment and storage medium
CN110287429A (en) Data analysis method, device, equipment and storage medium
CN112597101A (en) Method and device for converting topological graph file into SVG file based on web front end
CN107040613A (en) A kind of message transmitting method and system
CN110263279B (en) Page generation method and device, electronic equipment and computer readable storage medium
CN109670152B (en) HL7V3 analysis method, storage medium, electronic equipment and system
US8959066B2 (en) Message validation in a service-oriented architecture
CN111324645B (en) Block chain data processing method and device
CN115759029A (en) Document template processing method and device, electronic equipment and storage medium
CN113094026B (en) Code processing method and device
CN103885988A (en) Method and device for outputting content and content outputting system
CN111209028B (en) Data processing method and device, electronic equipment and storage medium
CN114531289A (en) System interaction method based on artificial intelligence and related equipment
CN109814916B (en) IVR flow configuration method, device, storage medium and server
CN112287643A (en) Message monitoring method, device, equipment and computer readable storage medium
US20130007589A1 (en) Interaction via short message service messages with wireless markup language based websites
CN111736805B (en) Method and device for processing Excel table
CN111008178B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN113779952B (en) Text processing method and device 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
GR01 Patent grant
GR01 Patent grant