Index-Based HL7 Message Fragmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for processing HL7 messages in healthcare data processing often result in inefficient memory management, leading to high resource consumption and reduced throughput due to the need for multiple copies of data and extensive garbage collection processes.
Innovation Solution
A method and system that utilize indices to mark and modify fragments of HL7 messages, allowing direct manipulation of the original message without creating multiple copies, thereby reducing memory usage and minimizing garbage collection overhead.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple copies of HL7 message data are created for processing, then data manipulation flexibility is improved, but memory consumption increases and garbage collection overhead worsens
Solution Approach 1:
The patent applies a selective copying principle where instead of creating multiple complete copies of the HL7 message data, the system creates only the necessary view structures (data structures with start and end indices) that reference portions of the original message. This allows data manipulation flexibility while minimizing actual data duplication in memory.
Solution Approach 2:
The patent introduces data structures (intermediaries) that act as mediators between the original HL7 message and the processing operations. These data structures contain start and end indices that reference the original message without creating full copies, enabling flexible manipulation while reducing memory consumption.
2Adaptability or versatility
If multiple copies of HL7 message data are created for processing, then data manipulation flexibility is improved, but processing throughput deteriorates due to garbage collection
Solution Approach 1:
The patent minimizes copying by creating only lightweight view structures rather than full data copies. These view structures contain minimal metadata (start and end indices) that reference the original message, reducing the amount of data that needs to be managed and collected by the garbage collector, thus maintaining high processing throughput.
Solution Approach 2:
The patent enables continuous processing by avoiding the interruptions caused by extensive garbage collection. By using index-based references instead of full copies, the system maintains steady-state memory usage patterns that allow processing to continue without frequent pauses for memory management.
3Reliability
If extensive garbage collection is performed to manage memory, then memory management is improved, but computational burden and processing time increase
Solution Approach 1:
The patent reduces the total volume of data requiring garbage collection by creating only minimal view structures (containing start and end indices) rather than full data copies. This dramatically reduces the computational burden on the garbage collector and the time spent on memory management operations.
Solution Approach 2:
The patent extracts only the essential metadata (start and end indices) from the full data copies, creating lightweight view structures. This extraction process removes the burden of managing large amounts of redundant data, improving both memory management efficiency and reducing processing time overhead.
Data Source
AI summary
Disclosed are a system and method for processing HL7 messages. A method includes receiving, an HL7 message; storing the HL7 message in a memory; creating a data structure representation of the stored HL7 message in the memory that stores a start index and an end index of the stored HL7 message, wherein the start index indicates a beginning of the stored HL7 message and the end index indicates an end of the stored HL7 message; hierarchically creating, from the data structure representation of the stored HL7 message, one or more data structure representations in the memory that store at least one start index and at least one end index corresponding to one or more fragments in the stored HL7 message; and, modifying the stored HL7 message according to the at least one start index and a corresponding end index of the fragments in the HL7 message.


