CN117275651A - Medical report generation method and device and electronic equipment - Google Patents

Medical report generation method and device and electronic equipment Download PDF

Info

Publication number
CN117275651A
CN117275651A CN202311126546.7A CN202311126546A CN117275651A CN 117275651 A CN117275651 A CN 117275651A CN 202311126546 A CN202311126546 A CN 202311126546A CN 117275651 A CN117275651 A CN 117275651A
Authority
CN
China
Prior art keywords
analysis
analytic
elements
value
unique identity
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
CN202311126546.7A
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.)
Beijing Sinomedisite Bio Tech Co Ltd
Original Assignee
Beijing Sinomedisite Bio Tech 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 Beijing Sinomedisite Bio Tech Co Ltd filed Critical Beijing Sinomedisite Bio Tech Co Ltd
Priority to CN202311126546.7A priority Critical patent/CN117275651A/en
Publication of CN117275651A publication Critical patent/CN117275651A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H15/00ICT specially adapted for medical reports, e.g. generation or transmission thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • 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/186Templates
    • 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
    • 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
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

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

Abstract

The application provides a medical report generation method, a medical report generation device and electronic equipment, wherein the method comprises the following steps: acquiring a file to be analyzed, and matching the analysis elements in the file to be analyzed according to a preset unique identity label of the analysis elements; identifying the analytic elements according to the unique identity tags, determining the types of the analytic elements, and classifying the analytic elements; performing target format conversion on the analysis elements of the same type to obtain converted analysis elements; responding to the correspondence of the unique identity tag and the converted analytic element, acquiring a basic template for generating the medical report, acquiring the project name and the project value position of the basic template, matching the project name by using the element name of the converted analytic element and filling, matching the project value by using the analytic value of the converted analytic element and filling, and generating the medical report. And the medical report is generated by uniformly processing the file to be analyzed which is unreadable or has low readability, so that the query time of a doctor for analysis elements is saved.

Description

Medical report generation method and device and electronic equipment
Technical Field
The present disclosure relates to the field of medical data processing technologies, and in particular, to a data analysis method, a data analysis device, and an electronic device.
Background
The longest time-consuming stage in the process of taking a consultation for a patient is the process of interacting with a doctor back and forth, each time an examination is passed, the doctor is required to wait for the examination result, and manually fill the examination result into a corresponding report field of a corresponding examination report, the whole process causes the patient to be in a state of physical and mental exhaustion,
in particular, for heart examination, the corresponding display value is searched on the color Doppler ultrasound device through the color Doppler ultrasound device, and then manually input into the examination report of the patient, so that the workload of medical staff is increased, and meanwhile, the condition of input errors possibly exists, and for structured files on the color Doppler ultrasound device, the structured files cannot be directly read and displayed, so that the structured files are required to be correspondingly analyzed and directly filled into corresponding data fields for convenient reading and accurate display of an examination structure.
Disclosure of Invention
In view of the foregoing, an object of the present application is to provide a medical report generating method, apparatus and electronic device that solve the above-mentioned problems or at least partially solve the above-mentioned problems.
Based on the above object, a first aspect of the present application provides a medical report generating method, including:
Acquiring a file to be analyzed, and matching the analysis elements in the file to be analyzed according to a unique identity tag of a preset analysis element;
identifying the analytic elements according to the unique identity tags, determining the types of the analytic elements, and classifying the analytic elements;
performing target format conversion on the analysis elements of the same type to obtain converted analysis elements;
and responding to the correspondence between the unique identity tag and the converted analytic element, acquiring a basic template of the medical report to be generated, acquiring the project name and the project value position of the basic template, matching the project name by utilizing the converted element name of the analytic element, filling, matching the project value by utilizing the converted analytic value of the analytic element, and filling to generate the medical report.
Optionally, the process of presetting the unique identity tag for the parsing element includes:
creating a number of unique identity tags in a database;
establishing corresponding relations between different unique identity tags and the analysis elements;
and for any analytic element, adding the unique identity label corresponding to the analytic element to the first position of the analytic element.
Optionally, the types of the parsing elements include: patient type, examination information, service information, and image information;
the patient information includes patient personal base conditions;
the inspection information comprises an inspection item and the inspection item proceeding time;
the service information includes inspection equipment information;
the image information comprises a numerical value and an image corresponding to the inspection item;
after classifying the parsing element, the method includes:
determining the element name of the analytic element;
screening the analytic elements according to the element names of the analytic elements;
responsive to determining that the parsing element does not match the medical report and/or that the parsing element includes the service information, the parsing element is deleted.
Optionally, the performing target format conversion on the parsing elements of the same type to obtain converted parsing elements includes:
sequentially extracting the characters of the analytic elements of the same type, and merging the characters into a first character string;
importing the first character string into a preset target format name space;
creating an empty target format document object by using the target format document type;
loading the first character string into the target format document object;
Acquiring a root node of a target format document object by using a document element attribute of a target format document type;
traversing the attribute of the element of the character in the first character string by using the child node attribute in the target format, and adding the character of the first character string to a corresponding position in the target document object;
and converting the target document object into a second character string.
Optionally, after converting the target document object into the second character string, the method further includes:
taking the unique identity tag as a boundary, splitting the second character string to obtain a splitting result;
acquiring element names and analysis values in the splitting results;
carrying out unit conversion on the analysis value according to the element name; and
according to the element names, decimal point reservation is carried out on the analysis values;
in response to the resolved value not being present, performing a value-free entry fill between the element name and the resolved value;
and responding to the existence of the analysis value, acquiring the character length of the analysis value, and performing character length filling and valued item filling between the element name and the analysis value.
Optionally, responding to the unique identity tag corresponding to the converted parsing element includes:
Identifying the converted analytic element by using the unique identity;
matching the element names before format conversion with the element names after conversion;
and in response to the fact that the element names before conversion and the element names after conversion are the same, judging that the unique identity tag corresponds to the resolved element after conversion.
Optionally, determining the proceeding time of the parsing element according to the unique identity in response to at least two parsing values corresponding to the same parsing element;
responding to the difference value of the time of the analysis elements is not larger than a first threshold value, and taking the analysis value of the last time of the analysis elements;
responding to the difference value of the analysis element proceeding time being larger than the first threshold value and not larger than the second threshold value, and taking the average value of all analysis values;
responding to the difference value of the time of the analysis elements is larger than a third threshold value, extracting and sequentially filling all analysis values; wherein the third threshold is greater than the second threshold.
Optionally, in response to the element name of the resolved element including a particular disease, replacing the element name with a first symbol and replacing the resolved value with a second symbol in the generated medical report;
generating a two-dimensional code and filling the two-dimensional code in a blank of the medical report; the two-dimensional code comprises the element name replaced by the first symbol and the resolution value replaced by the second symbol.
In a second aspect of the present application, there is provided a medical report generating apparatus comprising,
the matching module is used for acquiring a file to be analyzed and matching the analysis elements in the analysis file according to a preset unique identity tag of the analysis elements;
the classification module is used for identifying the analytic elements according to the unique identity tags, determining the types of the analytic elements and classifying the analytic elements;
the conversion module is used for carrying out target format conversion on the analysis elements of the same type to obtain converted analysis elements;
the generation module is used for responding to the correspondence of the unique identity tag and the converted analytic element, acquiring a basic template for generating the medical report, acquiring the project name and the project value position of the basic template, matching the project name by utilizing the converted element name of the analytic element, filling, matching the project value by utilizing the converted analytic value of the analytic element, and filling to generate the medical report.
In a third aspect of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the medical report generating method according to the first aspect when executing the program.
As can be seen from the above, the medical report generating method, the device and the electronic equipment provided by the application effectively identify the analytic elements by using the unique identity tag corresponding to different analytic elements, store the analytic elements according to a certain rule after classifying the file to be analyzed, then convert the analytic elements of the same type into a target format, have stronger readability of the analytic elements of the file to be analyzed, have clear structural hierarchy, and uniformly match and fill the element names and the analytic values of the converted analytic elements with the project names and the project values in the basic template respectively to generate the medical report. One item is manually input without measuring the one item, so that the time consumption of patient inquiry is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the present application or related art, the drawings that are required to be used in the description of the embodiments or related art will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is a flow chart of a medical report generation method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of the present application after adding a unique identity tag to a parsing element;
FIG. 3 is a schematic diagram of a converted parsing element according to an embodiment of the present application;
FIG. 4 is a schematic illustration of a medical report according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a medical report generating apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings.
It should be noted that unless otherwise defined, technical or scientific terms used in the embodiments of the present application should be given the ordinary meaning as understood by one of ordinary skill in the art to which the present application belongs. The terms "first," "second," and the like, as used in embodiments of the present application, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
Based on this, referring to fig. 1, the present application provides a medical report generating method, including:
s101, acquiring a file to be analyzed, and matching the analysis elements in the file to be analyzed according to a preset unique identity tag of the analysis elements.
S102, identifying the analytic elements according to the unique identity tags, determining the types of the analytic elements, and classifying the analytic elements.
S103, performing target format conversion on the analysis elements of the same type to obtain converted analysis elements.
S104, responding to the correspondence of the unique identity tag and the converted analytic element, acquiring a basic template for generating the medical report, acquiring the project name and the project value position of the basic template, matching the project name by using the element name of the converted analytic element, filling, matching the project value by using the analytic value of the converted analytic element, and filling, thereby generating the medical report.
In some embodiments, the file to be analyzed is mainly aimed at the medical field, especially the common color ultrasound device in the medical field, after the patient performs the color ultrasound examination on the medical color ultrasound device, the patient reads the numerical value corresponding to the examination from the medical color ultrasound device, for example, the inner diameter of the aortic sinus is 2.5cm, then the doctor fills in the position corresponding to the examination item according to the read numerical value, and for the file to be analyzed, the common terminal device cannot directly read the corresponding content due to the format specificity of the file to be analyzed, and meanwhile cannot directly store and display the content in the examination report. For example, the file to be parsed is named in the format of src, for example, src.1.2.840.113663.1500.1.441353263, and the naming thereof is not regular, that is, common terminal devices cannot directly open and read the file in the format of src, such as desktop computers, mobile phones, mobile computers, tablet computers, media players, smart wearable devices, personal digital assistants (personal digital assistant, PDAs), or other electronic devices capable of realizing the above functions, and the like.
In step S101, the analysis element can be identified by the unique identity tag preset for the analysis element, and the unique identity tag is used as an "identity card" of the analysis element. The elements are conveniently classified for later parsing.
In step S102, the number of the analysis elements returned for the file with the format of src is huge, and is close to 500 or more, wherein the analysis elements are not stored according to a specific rule, and multiple records exist for the good analysis elements, so that the returned analysis elements need to be summarized, and first, the unique identity tag of the analysis elements is preset to summarize the analysis elements. The analysis elements are classified according to the types of the analysis elements, the analysis elements are stored according to corresponding rules, and the analysis elements are displayed according to a certain rule aiming at the medical report, corresponding matching filling is carried out by using the rules in the process of generating the medical report later, and unique identity tags of all the analysis elements need to be traversed for matching in the process of filling any item in the medical report.
In the related art, after corresponding inspection, the inspected numerical values need to be filled, one inspection item is read in the filling process, or the whole inspection is completed, one inspection item is read, instead of directly presenting the whole inspected numerical values, that is, the resolved names and resolved values of the resolved elements need to be checked one by one, and then filled one by one, so that the interaction time between the patient and the doctor is increased, time waste is caused, and terminal equipment common to the resolved names and resolved values of all the resolved elements with the format of src cannot be opened and displayed, so that the whole format of the file to be resolved needs to be converted into a target format, and the readability of the resolved elements in the file to be resolved is increased. In step S103, the file to be parsed composed of the parsed elements after sorting is subjected to transformation in the target format, so that the common terminal device can identify and display the content therein.
In step S104, further, the converted parsing element is identified by using the unique identity;
matching the element names before format conversion with the element names after conversion;
and in response to the fact that the element names before conversion and the element names after conversion are the same, judging that the unique identity tag corresponds to the resolved element after conversion.
In the format conversion process, the content of the unique identity tag is not changed, the stored unique identity tag is used for identifying the preset unique identity tag in the analysis element, the corresponding analysis element after format conversion is obtained, the element names of the matched analysis element are the same before conversion and after conversion, if so, the unique identity tag is judged to correspond to the converted analysis element, and the content of the analysis element is not changed in the format conversion process. And acquiring a basic template of the medical report to be generated, matching the element names of the analysis elements with the item names in the basic template, filling by using the element names after the matching is completed, matching the analysis values of the analysis elements with the item values in the basic template, filling by using the analysis elements after the matching is completed, and generating the electronic version of the medical report by referring to FIG. 4 after the whole matching is completed. For example: the element name is the inner diameter of the aortic sinus, and the analysis value is 2.5cm. Alternatively, the electronic version of the medical report may be printed to form a paper version. And after checking, carrying out format conversion on all analysis elements in the file to be analyzed according to the returned file to be analyzed in a unified way, and then matching the element names and analysis values of the converted analysis elements with the project names and project values of the basic template of the medical report to be generated to generate the medical report.
Referring to FIG. 2, where the box A represents unique identity tags and the box B represents parsing elements, each parsing element has a unique identity tag to identify the parsing element.
The corresponding relation between the analytic element and the unique identity tag is preset, and the process for presetting the unique identity tag for the analytic element comprises the following steps:
creating a number of unique identity tags in a database;
establishing corresponding relations between different unique identity tags and the analysis elements;
and for any analytic element, adding the unique identity label corresponding to the analytic element to the first position of the analytic element.
It can be appreciated that, for the parsing element, there is a corresponding parsing element in the hospital database, which can be directly obtained from the database, and corresponding to the unique identity tag.
In some embodiments, establishing correspondence of different unique identity tags to parsing elements may be by specifying the correspondence. Illustratively, unique identity tag 0008, 0020 is assigned to date 2023, month 6, and day 28 of inspection.
In some embodiments, parsing the element types includes: patient type, examination information, service information, and image information;
Patient information includes patient personal base status;
the inspection information comprises inspection items and inspection item proceeding time;
the service information includes inspection device information;
the image information comprises a numerical value and an image corresponding to the inspection item;
after classifying the parsing element, the method comprises:
determining the element name of the analysis element;
screening the analytic elements according to the element names of the analytic elements;
responsive to determining that the parsing element does not match the report and/or that the parsing element includes the service information, the parsing element is deleted.
Referring to fig. 2, an element name and a resolution value are included in each resolution element, and the resolution value appears after the corresponding check is performed on the corresponding element name, and the resolution value is null if the corresponding check is not performed. In the above embodiment, the number of the analysis elements returned by the analysis file is huge, and the analysis elements which do not need to be generated in the medical report can be deleted correspondingly, so that the processing number of the analysis elements in the file to be analyzed is reduced, and the processing speed is increased.
In some embodiments, the patient information includes patient personal basic condition information, such as individual name, date of birth, age, sex, penetration, contact, identity, and certification information, etc., so that the patient basic condition related information is conveniently confirmed by the patient information, while for the personal information, the remaining personal information need not appear in the medical report except for name, sex, age, contact, etc., and accordingly, the penetration, identity, certification information, etc. do not match the medical report, and the analysis element is deleted for the penetration, identity, certification information, etc. In the corresponding examination of hospitals, which is divided into regular physical examination and special examination, then the analysis elements related to the height of the patient in the special examination, such as heart examination, do not need to appear in the medical report, and then the height of the patient is not matched with the medical report, and the height of the patient in the analysis elements is deleted.
In some embodiments, the service information includes device information, where the device information includes a device model number, a device name, etc., and the service information is not required to be displayed in the medical report, and is deleted for the service information in the parsing element.
For different patient information, such as different ages, after corresponding physical indexes of the patient are detected, the physical condition of the patient is judged through the physical indexes combined with the ages.
In some embodiments, performing target format conversion on the parsing elements of the same type to obtain converted parsing elements, including:
sequentially extracting the characters of the analytic elements of the same type, and merging the characters into a first character string;
importing the first character string into a preset target format name space;
creating an empty target format document object by using the target format document type;
loading the first character string into the target format document object;
acquiring a root node of a target format document object by using a document element attribute of a target format document type;
traversing the attribute of the element of the character in the first character string by using the child node attribute in the target format, and adding the character of the first character string to a corresponding position in the target document object;
And converting the target document object into a second character string.
In some embodiments, the target format may be any file format that the terminal device is capable of recognizing, such as an Xml format, for which conversion to an Xml format first a system. Xml namespace needs to be imported in order to use Xml related classes and methods.
An empty Xml document object is then created using the Xml document class.
The first string to be converted is loaded into the Xml document object using the LoadXml () method of the xmlndocumet class.
The root node of the Xml document object is obtained using the documentElement attribute of the Xml documentment class.
Elements and attributes in the first string are traversed using the child attributes and Attribute of the Xmlnode class and added to corresponding locations in the Xml document object.
The Xml document object is converted to a second string using the outputxml attribute of the XmlDocument class. Through the steps, the first character string can be converted into an Xml structure, and the generated second character string is in an Xml format.
For the unreadability of the SRc. File format of the file to be parsed, the readability of the file to be parsed is increased after the conversion to the target format.
For example, after being converted into an Xml format, the data can be more unified, has stronger readability and clear structural hierarchy, and supports the advantages of cross-platform language and the like.
In some embodiments, referring to FIG. 3, after converting the target document object into the second character, further comprising:
and splitting the second character string by taking the unique identity tag as a boundary to obtain a splitting result. After the conversion from the first character string to the second character string is completed, the same type of analysis elements are positioned in the same character string, and the second character string is split by taking the unique identity tag as a boundary to obtain a splitting result. It can be understood that the unique identity tag is located at the first position of the analysis element, in the process of splitting the second character string, the unique identity tag is split once, the obtained splitting result is the element name+the analysis value, the first position of the splitting result still has the corresponding unique identity tag, the level of the splitting result is more clear, and the unique identity tag is convenient to identify the element name of the analysis element and the generation of the subsequent medical report.
And obtaining the element names and the analysis values in the split result.
And carrying out unit conversion on the analysis value according to the element name. After obtaining the corresponding analysis value, for example, the unit of the inner diameter of the left room is mm, but in the medical field, a doctor obtains information according to a medical report, the information of the inner diameter of the left room is obtained and recorded in units of cm, and the unit of the inner diameter of the left room is preset as cm, and the unit of the inner diameter of the left room is converted correspondingly in the format conversion process. It should be noted that, through presetting all common units of analytic elements and conversion algorithms, corresponding conversion is performed in the conversion process.
And (5) according to the element names, performing decimal point reservation on the analysis values. After obtaining the corresponding analysis value, for example, the information is obtained by taking a decimal point for the blood flow velocity of the mitral valve, and the doctor obtains the information according to the medical report, and the relevant information can be obtained by reserving the decimal point for the information obtaining of the blood flow velocity of the mitral valve. Similarly, the decimal point of the analysis value is retained based on the fact that the information is sufficient for other analysis elements. It should be noted that, the decimal point of all the analytic elements is reserved and preset, and the required decimal point is intercepted in the process of storing the analytic values, so that the patient and the doctor can conveniently acquire the related information of the analytic elements, and the related treatment is performed.
In response to the resolved value not being present, a value-free entry is filled between the element name and the resolved value. In the process of performing the correlation check, if the check item corresponding to the element name is not checked, there is a case that there is no resolved value, for example, vm= "0" in fig. 3 represents no value item filling, and accordingly, there is no resolved value for the element name in the resolved element, and the character length len= "0" of the resolved value. And filling the non-valued item, so that the check of filling the analysis value in the subsequent report is facilitated.
And in response to the existence of the analysis value, acquiring the character length of the analysis value, and performing character length filling and valued item filling between the element name and the analysis value. And if the analysis value does not exist, the corresponding analysis value exists after the inspection item corresponding to the element name is inspected. For example, vm= "1" shown in fig. 3 represents a value, and the character of the resolved value has a corresponding length, for example len= "16", and by resolving the length of the character of the value, a corresponding memory space is provided for the resolved value, and the memory space is optimized.
In some embodiments, if the resolved value does not exist, traversing the resolved element using the unique identity tag of the resolved element in which the resolved value exists to further determine that the resolved value does not exist for the current resolved element. Avoiding omission.
For a file to be analyzed, a plurality of analysis elements exist, analysis values in the analysis elements are stored in the file to be analyzed, corresponding values are needed to be taken for the plurality of analysis values, so that accurate feedback on physical conditions of a patient can be achieved, for example, in the process of carrying out corresponding examination on some physical indexes, a doctor has higher requirements on the proficiency of the doctor, and even the doctor with abundant clinical experience can possibly repeat some indexes, so that the examination of the corresponding indexes can be completed. For another example, for some indicators, it is necessary to take an average of the analysis values to determine the overall condition of the patient. For another example, all of the resolved values need to be taken for some of the indicators to determine the change. For the different situations, determining the value of the corresponding analysis element by utilizing the time difference of the analysis element.
In some embodiments, in response to at least two parsing values corresponding to the same parsing element, determining a time of proceeding for the parsing element according to the unique identity. The method comprises the steps of finding the same analysis element by using the same unique identity tag aiming at the analysis element with the unique identity tag, and obtaining corresponding running time by using the relative relation between the unique identity tag and the running time according to the same analysis element.
And responding to the difference value of the proceeding time of the analysis elements is not larger than a first threshold value, and taking the analysis value of the last proceeding time. Under the condition that the time difference is not larger than the first threshold value, the doctor performs corresponding examination, under the condition that the first examination is inaccurate, the doctor performs second or more examinations until the operation is free of problems, the examination is stopped accurately, the last value is most consistent with the actual condition of the patient, and the analysis value obtained in the last examination is valued. Alternatively, the first threshold may be 10s.
And taking the average value of all the analysis values in response to the difference value of the analysis element proceeding time being greater than the first threshold value and not greater than the second threshold value. For some analysis elements, multiple checks are required, so that multiple values are taken, and the average value of the analysis values of the analysis elements is calculated to judge the overall condition of the patient. Alternatively, the second threshold may be 10 minutes.
And in response to the difference in time of the parsing elements being greater than a third threshold, extracting and sequentially filling all the parsing values. For some analysis elements, multiple examination is needed to perform multiple values, and the physical condition of the patient is determined according to the change conditions of the multiple analysis values, so that the multiple values are needed to be listed respectively for the doctor to perform corresponding judgment. Alternatively, the third threshold may be 24h.
In some embodiments, in response to the element name of the resolved element comprising a particular disease, the element name is replaced with a first symbol and the resolved value is replaced with a second symbol in the generated medical report;
generating a two-dimensional code and filling the two-dimensional code in a blank of a medical report; the two-dimensional code comprises an element name replaced by a first symbol and an analysis value replaced by a second symbol.
In some embodiments, the particular disease may be a disease that includes patient privacy. For the privacy disease and related data in the medical report, the privacy of the patient may be revealed, and for the comprehensiveness of the examination, the corresponding examination data needs to be displayed in the medical report by replacing the privacy disease name with the first symbol and replacing the value related to the privacy disease with the second symbol. Further, in order to conveniently review the content related to the privacy disease, the two-dimensional code is used for replacing the hiding of the privacy disease name and related data, and the patient needs to review correspondingly, and then the two-dimensional code is scanned for review. Privacy disclosure caused by direct outgoing lines in medical reports is avoided. The optional first symbol may be #, and the second symbol may be.
It should be noted that, when a doctor checks the medical report through the terminal device, the special disease and the corresponding analysis value are normally displayed, and the code scanning check is not needed.
In some embodiments, the privacy diseases are screened, the privacy diseases after screening are preset, meanwhile, unique identity tags corresponding to the corresponding privacy diseases are obtained, and in the process of generating the report, the element names are replaced by the first symbols, and the analysis values are replaced by the second symbols.
It should be noted that, the method of the embodiments of the present application may be performed by a single device, for example, a computer or a server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the methods of embodiments of the present application, and the devices may interact with each other to complete the methods.
It should be noted that some embodiments of the present application are described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Based on the same technical conception, the application also provides a data analysis device corresponding to the method of any embodiment.
Referring to fig. 5, the medical report generating apparatus includes:
the matching module 501 is configured to obtain a file to be parsed, and match the parsed elements in the parsed file according to a preset unique identity tag of the parsed elements;
the classification module 502 is configured to identify an analysis element according to the unique identity tag, determine a type of the analysis element, and classify the analysis element;
a conversion module 503, configured to convert the parsing elements of the same type into target format, where the parsing elements are converted into Daao parsing elements;
the generating module 504 is configured to obtain, in response to the correspondence between the unique identity tag and the converted parsing element, a basic template for generating a medical report, obtain a project name and a project value position of the basic template, match the project name with the element name of the converted parsing element, fill the project name with the element name, match the project value with the parsing value of the converted parsing element, and fill the project value with the parsing value, thereby generating the medical report.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
The device of the foregoing embodiment is configured to implement the corresponding data parsing method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same technical concept, the application also provides an electronic device corresponding to the method of any embodiment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the data analysis method of any embodiment when executing the program.
Fig. 6 shows a more specific hardware architecture of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. for executing relevant programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage device, dynamic storage device, or the like. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The electronic device of the foregoing embodiment is configured to implement the corresponding medical report generating method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same technical concept, corresponding to any of the above-described embodiments of the method, the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the medical report generating method according to any of the above-described embodiments.
The computer readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The storage medium of the foregoing embodiments stores computer instructions for causing the computer to execute the data parsing method according to any one of the foregoing embodiments, and has the advantages of the corresponding method embodiments, which are not described herein.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the application (including the claims) is limited to these examples; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the present application, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure the embodiments of the present application. Furthermore, the devices may be shown in block diagram form in order to avoid obscuring the embodiments of the present application, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform on which the embodiments of the present application are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Accordingly, any omissions, modifications, equivalents, improvements and/or the like which are within the spirit and principles of the embodiments are intended to be included within the scope of the present application.

Claims (10)

1. A medical report generation method, comprising:
acquiring a file to be analyzed, and matching the analysis elements in the file to be analyzed according to a unique identity tag of a preset analysis element;
identifying the analytic elements according to the unique identity tags, determining the types of the analytic elements, and classifying the analytic elements;
performing target format conversion on the analysis elements of the same type to obtain converted analysis elements;
and responding to the correspondence between the unique identity tag and the converted analytic element, acquiring a basic template of the medical report to be generated, acquiring the project name and the project value position of the basic template, matching the project name by utilizing the converted element name of the analytic element, filling, matching the project value by utilizing the converted analytic value of the analytic element, and filling to generate the medical report.
2. The method of claim 1, wherein the process of presetting a unique identity tag for the parsing element comprises:
creating a number of unique identity tags in a database;
establishing corresponding relations between different unique identity tags and the analysis elements;
and for any analytic element, adding the unique identity label corresponding to the analytic element to the first position of the analytic element.
3. The method of claim 1, wherein resolving the type of element comprises: patient type, examination information, service information, and image information;
the patient information includes patient personal base conditions;
the inspection information comprises an inspection item and the inspection item proceeding time;
the service information includes inspection equipment information;
the image information comprises a numerical value and an image corresponding to the inspection item;
after classifying the parsing element, the method includes:
determining the element name of the analytic element;
screening the analytic elements according to the element names of the analytic elements;
responsive to determining that the parsing element does not match the medical report and/or that the parsing element includes the service information, the parsing element is deleted.
4. The method according to claim 1, wherein the performing target format conversion on the parsing elements of the same type to obtain converted parsing elements includes:
sequentially extracting the characters of the analytic elements of the same type, and merging the characters into a first character string;
importing the first character string into a preset target format name space;
creating an empty target format document object by using the target format document type;
loading the first character string into the target format document object;
acquiring a root node of a target format document object by using a document element attribute of a target format document type;
traversing the attribute of the element of the character in the first character string by using the child node attribute in the target format, and adding the character of the first character string to a corresponding position in the target document object;
and converting the target document object into a second character string.
5. The method of claim 4, further comprising, after converting the target document object into the second string:
taking the unique identity tag as a boundary, splitting the second character string to obtain a splitting result;
Acquiring element names and analysis values in the splitting results;
carrying out unit conversion on the analysis value according to the element name; and
according to the element names, decimal point reservation is carried out on the analysis values;
in response to the resolved value not being present, performing a value-free entry fill between the element name and the resolved value;
and responding to the existence of the analysis value, acquiring the character length of the analysis value, and performing character length filling and valued item filling between the element name and the analysis value.
6. The method of claim 1, wherein responding to the unique identity tag and the converted parsing element correspondence comprises:
identifying the converted analytic element by using the unique identity;
matching the element names before format conversion with the element names after conversion;
and in response to the fact that the element names before conversion and the element names after conversion are the same, judging that the unique identity tag corresponds to the resolved element after conversion.
7. The method of claim 6, wherein determining the time of proceeding of the resolved element according to the unique identity in response to at least two resolved values corresponding to the same resolved element;
Responding to the difference value of the time of the analysis elements is not larger than a first threshold value, and taking the analysis value of the last time of the analysis elements;
responding to the difference value of the analysis element proceeding time being larger than the first threshold value and not larger than the second threshold value, and taking the average value of all analysis values;
responding to the difference value of the time of the analysis elements is larger than a third threshold value, extracting and sequentially filling all analysis values; wherein the third threshold is greater than the second threshold.
8. The method of claim 6, wherein in response to the element name of the resolved element comprising a particular disease, the element name is replaced with a first symbol and the resolved value is replaced with a second symbol in the generated medical report;
generating a two-dimensional code and filling the two-dimensional code in a blank of the medical report; the two-dimensional code comprises the element name replaced by the first symbol and the resolution value replaced by the second symbol.
9. A medical report generating apparatus, comprising,
the matching module is used for acquiring a file to be analyzed and matching the analysis elements in the analysis file according to a preset unique identity tag of the analysis elements;
The classification module is used for identifying the analytic elements according to the unique identity tags, determining the types of the analytic elements and classifying the analytic elements;
the conversion module is used for carrying out target format conversion on the analysis elements of the same type to obtain converted analysis elements;
the generation module is used for responding to the correspondence of the unique identity tag and the converted analytic element, acquiring a basic template for generating the medical report, acquiring the project name and the project value position of the basic template, matching the project name by utilizing the converted element name of the analytic element, filling, matching the project value by utilizing the converted analytic value of the analytic element, and filling to generate the medical report.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the medical report generating method according to any one of claims 1 to 8 when the program is executed by the processor.
CN202311126546.7A 2023-09-01 2023-09-01 Medical report generation method and device and electronic equipment Pending CN117275651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311126546.7A CN117275651A (en) 2023-09-01 2023-09-01 Medical report generation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311126546.7A CN117275651A (en) 2023-09-01 2023-09-01 Medical report generation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117275651A true CN117275651A (en) 2023-12-22

Family

ID=89199981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311126546.7A Pending CN117275651A (en) 2023-09-01 2023-09-01 Medical report generation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117275651A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020143824A1 (en) * 2001-03-27 2002-10-03 Lee Kwok Pun DICOM to XML generator
US20050273365A1 (en) * 2004-06-04 2005-12-08 Agfa Corporation Generalized approach to structured medical reporting
US20070150494A1 (en) * 2006-12-14 2007-06-28 Xerox Corporation Method for transformation of an extensible markup language vocabulary to a generic document structure format
WO2007144853A2 (en) * 2006-06-15 2007-12-21 Utstarcom Telecom Co., Ltd Method and apparatus for performing customized paring on a xml document based on application
US20080109250A1 (en) * 2006-11-03 2008-05-08 Craig Allan Walker System and method for creating and rendering DICOM structured clinical reporting via the internet
CN103294796A (en) * 2013-05-24 2013-09-11 上海申腾信息技术有限公司 XML (extensive markup language) parsing method and implementation method of custom XML structural forms in medical records
CN110413963A (en) * 2019-07-03 2019-11-05 东华大学 Breast ultrasonography report structure method based on domain body
CN111933241A (en) * 2020-08-31 2020-11-13 平安国际智慧城市科技股份有限公司 Medical data analysis method, medical data analysis device, electronic device, and storage medium
CN112328551A (en) * 2020-11-09 2021-02-05 医渡云(北京)技术有限公司 Medical data analysis method, device, medium, and electronic device
CN112420151A (en) * 2020-12-07 2021-02-26 医惠科技有限公司 Method, system, equipment and medium for structured analysis after ultrasonic report
CN112733056A (en) * 2021-04-02 2021-04-30 北京百家视联科技有限公司 Document processing method, device, equipment and storage medium
CN113032347A (en) * 2021-04-21 2021-06-25 联仁健康医疗大数据科技股份有限公司 Element display method and device, electronic equipment and storage medium
CN113256605A (en) * 2021-06-15 2021-08-13 四川大学 Breast cancer image identification and classification method based on deep neural network
CN115759029A (en) * 2022-12-21 2023-03-07 中国建设银行股份有限公司 Document template processing method and device, electronic equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020143824A1 (en) * 2001-03-27 2002-10-03 Lee Kwok Pun DICOM to XML generator
US20050273365A1 (en) * 2004-06-04 2005-12-08 Agfa Corporation Generalized approach to structured medical reporting
WO2007144853A2 (en) * 2006-06-15 2007-12-21 Utstarcom Telecom Co., Ltd Method and apparatus for performing customized paring on a xml document based on application
US20080109250A1 (en) * 2006-11-03 2008-05-08 Craig Allan Walker System and method for creating and rendering DICOM structured clinical reporting via the internet
US20070150494A1 (en) * 2006-12-14 2007-06-28 Xerox Corporation Method for transformation of an extensible markup language vocabulary to a generic document structure format
CN103294796A (en) * 2013-05-24 2013-09-11 上海申腾信息技术有限公司 XML (extensive markup language) parsing method and implementation method of custom XML structural forms in medical records
CN110413963A (en) * 2019-07-03 2019-11-05 东华大学 Breast ultrasonography report structure method based on domain body
CN111933241A (en) * 2020-08-31 2020-11-13 平安国际智慧城市科技股份有限公司 Medical data analysis method, medical data analysis device, electronic device, and storage medium
CN112328551A (en) * 2020-11-09 2021-02-05 医渡云(北京)技术有限公司 Medical data analysis method, device, medium, and electronic device
CN112420151A (en) * 2020-12-07 2021-02-26 医惠科技有限公司 Method, system, equipment and medium for structured analysis after ultrasonic report
CN112733056A (en) * 2021-04-02 2021-04-30 北京百家视联科技有限公司 Document processing method, device, equipment and storage medium
CN113032347A (en) * 2021-04-21 2021-06-25 联仁健康医疗大数据科技股份有限公司 Element display method and device, electronic equipment and storage medium
CN113256605A (en) * 2021-06-15 2021-08-13 四川大学 Breast cancer image identification and classification method based on deep neural network
CN115759029A (en) * 2022-12-21 2023-03-07 中国建设银行股份有限公司 Document template processing method and device, electronic equipment and storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
余冬兰;易畅;黄明波;谭润初;郑振声;王奎健;: "EECP血液动力学波形数据的DICOM-XML格式转换研究及应用", 中国医学物理学杂志, no. 02, 15 March 2011 (2011-03-15) *
孙碧云;朱向明;赵峰;赵富江;江峰;李国杰;张青陵;: "基于XML技术的超声报告规范化研究及应用", 中国超声医学杂志, no. 11, 16 November 2012 (2012-11-16) *
尤超;: "DICOM文件头信息读取及解析", 微型电脑应用, no. 09, 20 September 2012 (2012-09-20) *
李俊等: "《DOA/Handle技术与应用》", 30 June 2021, 北京:北京理工大学出版社, pages: 241 - 242 *
邱明辉;刘海一;: "DICOM标准医学图像文件解析及工具软件的研制", 中国医学影像学杂志, no. 05, 15 September 2009 (2009-09-15) *

Similar Documents

Publication Publication Date Title
CN101739390B (en) Data transformation based on a technical design document
CN107818169B (en) Electronic medical record retrieval and storage method and device, storage medium and electronic terminal
US20180025092A1 (en) Modular memoization, tracking and train-data management of feature extraction
CN109524070B (en) Data processing method and device, electronic equipment and storage medium
CN111144210B (en) Image structuring processing method and device, storage medium and electronic equipment
CN111081329A (en) Automatic clinical data entry method and device, electronic equipment and storage medium
CN106648569B (en) Target serialization realization method and device
CN112328551A (en) Medical data analysis method, device, medium, and electronic device
CN114637866B (en) Information management method and device for digitalized new media
US20160292235A1 (en) Data format for clinical test creation supporting method, and information processing device
CN116453125A (en) Data input method, device, equipment and storage medium based on artificial intelligence
US20180181550A1 (en) Screen information generation device and screen information generation method
CN114005498A (en) Clinical test data logic checking method and device, equipment and storage medium
CN113806492A (en) Record generation method, device and equipment based on semantic recognition and storage medium
CN114064923A (en) Data processing method and device, electronic equipment and storage medium
CN117373594A (en) Medical information determining method, device, equipment and medium
CN116090458A (en) Medical information extraction method, device, electronic equipment and storage medium
CN115618841A (en) Document export method, device, equipment and storage medium
CN117275651A (en) Medical report generation method and device and electronic equipment
CN111563399A (en) Method and device for acquiring structured information of electronic medical record
CN113657325B (en) Method, apparatus, medium and program product for determining annotation style information
CN115579118A (en) Medical data management method, system and storage medium based on data fusion
CN114882965A (en) Single disease type data reporting method, terminal equipment and storage medium
CN114004209A (en) PDF format data export method and device, electronic equipment and readable storage medium
CN113392112A (en) Data analysis method, data analysis device, electronic device, and storage medium

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