CN113536732A - Date and time data formatting display method applied to electronic medical record - Google Patents

Date and time data formatting display method applied to electronic medical record Download PDF

Info

Publication number
CN113536732A
CN113536732A CN202110707576.1A CN202110707576A CN113536732A CN 113536732 A CN113536732 A CN 113536732A CN 202110707576 A CN202110707576 A CN 202110707576A CN 113536732 A CN113536732 A CN 113536732A
Authority
CN
China
Prior art keywords
data
formatted
date
hour
prefix
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
CN202110707576.1A
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 Tianjian Source Technology Co ltd
Original Assignee
Beijing Tianjian Source Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tianjian Source Technology Co ltd filed Critical Beijing Tianjian Source Technology Co ltd
Priority to CN202110707576.1A priority Critical patent/CN113536732A/en
Publication of CN113536732A publication Critical patent/CN113536732A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • 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

Abstract

The embodiment of the invention relates to a date and time data formatting display method applied to an electronic medical record, which comprises the following steps: acquiring first date time information from an electronic medical record script file; performing data item splitting processing on the first date time information to generate a first date time data group; generating first year formatted data; generating first month formatted data; generating first-day formatted data; generating first hour formatted data; generating first sub-formatted data; generating first second formatted data; forming a first date time formatted data group by the first year, month, day, hour, minute and second formatted data; and performing formatting display processing of the first date time data according to a preset display flag bit set and the first date time formatting data set. The method of the invention can not only keep the most complete date and time data in the electronic medical record script file, but also carry out personalized display according to different configurations.

Description

Date and time data formatting display method applied to electronic medical record
Technical Field
The invention relates to the technical field of data information processing, in particular to a date-time data formatting display method applied to an electronic medical record.
Background
In a conventional electronic medical record script, date and time data are generally stored in a standard format of year, month, day, hour, minute and second. When the electronic medical record scripts are called through an electronic medical record browser to browse and edit the electronic medical record, date time data are displayed according to the storage format of the date time data. However, in practical applications, it is found that different medical structures may adopt a customized date and time display mode, for example, only year + month is displayed, or only day + time is displayed; in addition, it is also possible to insert specific characters, such as 2021&12,2021&12&23, etc., between date-time data of different units. If the personalized requirements are realized according to the traditional processing method, the storage formats of the date time data in the electronic medical record scripts of different medical institutions need to be modified according to the display format requirements of different medical institutions. The processing method is time-consuming and labor-consuming, and can also cause the problem that the date time data information in the electronic medical record script is incomplete.
Disclosure of Invention
The invention aims to provide a date and time data formatting display method applied to an electronic medical record, which still adopts a standard year, month, day, time, minute and second format to store date and time data in an electronic medical record script file, and assembles a final display result by configuring related prefix and suffix display parameters and display flag bits. Therefore, the most complete date and time data can be reserved, personalized display and assembly can be carried out according to the configuration information of each family, and the display processing flow does not need to be customized according to the requirements of each family.
In order to achieve the above object, an embodiment of the present invention provides a date and time data formatting display method applied to an electronic medical record, where the method includes:
acquiring first date time information from an electronic medical record script file;
performing data item splitting processing of date and time on the first date and time information to generate a first date and time data group; the first date time data group at least comprises first year data, first month data, first day data, first hour data, first minute data and first second data;
performing first year data formatting treatment according to a preset first year suffix data group and the first year data to generate first year formatted data;
carrying out monthly data formatting treatment according to a preset monthly before and after data group and the monthly data to generate monthly formatted data;
performing first-day data formatting treatment according to a preset first-day prefix and suffix data group and the first-day data to generate first-day formatted data;
performing first-hour data formatting treatment according to a preset first-hour prefix-suffix data group and the first-hour data to generate first-hour formatted data;
performing first branch data formatting treatment according to a preset first branch prefix suffix data group and the first branch data to generate first branch formatted data;
performing first-second data formatting treatment according to a preset first-second prefix-suffix data group and the first-second data to generate first-second formatted data;
forming a first date time formatted data set from the first year formatted data, the first month formatted data, the first day formatted data, the first hour formatted data, the first minute formatted data and the first second formatted data;
and carrying out formatting display processing on the first date time data according to a preset display zone bit set and the first date time formatting data set.
Preferably, the generating a first date and time data group by performing data item splitting processing of date and time on the first date and time information specifically includes:
performing year information extraction processing on the first date time information to generate the first year data;
carrying out month information extraction processing on the first date time information to generate the first month data;
performing single-day information extraction processing on the first date time information to generate the first date data;
performing hour information extraction processing on the first date time information; carrying out corresponding format data conversion on the extraction processing result according to a preset hour expression format, if the hour expression format is a twelve-hour format, carrying out twelve-hour format data conversion on the extraction processing result to generate the first-hour data, and if the hour expression format is a twenty-four-hour format, carrying out twenty-four-hour format data conversion on the extraction processing result to generate the first-hour data;
performing minute information extraction processing on the first date and time information to generate first sub data;
second information extraction processing is performed on the first date time information to generate first second data;
and the first year data, the first month data, the first day data, the first hour data, the first minute data and the first second data are combined into the first date and time data group.
Preferably, the first year prefix data group includes first year prefix data and first year suffix data;
the first month prefix-suffix data group includes first month prefix data and first month suffix data;
the first prefix-suffix data group includes first prefix-suffix data and first suffix-suffix data;
the first hour prefix-suffix data set includes first hour prefix data and first hour suffix data;
the first prefix-suffix-data-group includes first prefix-suffix-data and first suffix-data;
the first-second prefix-suffix-data group includes first-second prefix data and first-second suffix data.
Preferably, the generating of the year-first formatted data by performing year-first data formatting processing according to a preset year-first suffix data set and the year-first data specifically includes:
generating the year one formatted data from the year one prefix data, the year one data, and the year one suffix data by stitching.
Preferably, the formatting the monthly data according to a preset monthly before and after data group and the monthly data to generate the monthly formatted data specifically includes:
and splicing the first month prefix data, the first month data and the first month suffix data to generate the first month formatted data.
Preferably, the performing a first-day data formatting process according to a preset first-day prefix and suffix data group and the first-day data to generate first-day formatted data specifically includes:
and splicing the first daily prefix data, the first month data and the first daily suffix data to generate the first daily formatted data.
Preferably, the performing a first-hour data formatting process according to a preset first-hour prefix and prefix data group and the first-hour data to generate first-hour formatted data specifically includes:
and splicing the first hour prefix data, the first hour data and the first hour postfix data to generate the first hour formatted data.
Preferably, the performing a first packet formatting process according to a preset first packet prefix-suffix data set and the first packet data to generate first packet formatted data specifically includes:
and splicing the first prefix data, the first branch data and the first branch postfix data to generate the first branch formatted data.
Preferably, the performing a first-second data formatting process according to a preset first-second prefix-suffix data group and the first-second data to generate first-second formatted data specifically includes:
and splicing the first second prefix data, the first second data and the first second postfix data to generate the first second formatted data.
Preferably, the formatting display processing of the first date time data according to a preset display flag bit set and the first date time formatting data group specifically includes:
identifying the sub-zone bits of the display zone bit set, and arranging the sub-zone bits which are not empty according to the sequence from high to low of a date-time unit to generate a first display zone bit set; the display marker bit set comprises a year marker bit, a month marker bit, a day marker bit, an hour marker bit, a molecule marker bit and a second marker bit;
extracting corresponding formatted data from the first date time formatted data set according to the sub-flag bits of the first display flag bit set; sorting all the extracted formatted data according to the sorting sequence of the sub-zone bits of the first display zone bit set to generate first formatted display data;
and performing display processing on the first formatted display data.
According to the date and time data formatting display method applied to the electronic medical record, the date and time data are still stored in the electronic medical record script file in a standard year, month, day, hour, minute and second format, and the final display result is assembled by configuring relevant prefix and suffix display parameters and display flag bits. Therefore, the most complete date and time data can be reserved, personalized display and assembly can be carried out according to the configuration information of each family, and the display processing flow does not need to be customized according to the requirements of each family.
Drawings
Fig. 1 is a schematic diagram illustrating a date-time data formatting display method applied to an electronic medical record according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, which is a schematic diagram of a date and time data formatting display method applied to an electronic medical record provided by an embodiment of the present invention, the method mainly includes the following steps:
step 1, acquiring first date time information from an electronic medical record script file.
Here, the file format of the electronic medical record script file is an eXtensible Markup Language (XML) file, and multiple types of original information can be stored in the electronic medical record script file; when the electronic medical record browser calls an electronic medical record script file and displays date and time information in the electronic medical record script file, firstly, the original content with the display property, namely first date and time information, is obtained from the script; the data format of the first date time information stored in the electronic medical record script file is a complete year, month, day, hour, minute and second format, and the format is a 24-hour format in which small and medium time defaults.
Step 2, carrying out data item splitting processing of date and time on the first date and time information to generate a first date and time data group;
wherein the first date time data group at least comprises first year data, first month data, first day data, first hour data, first minute data and first second data;
here, the electronic medical record browser splits the obtained first date time information according to the time, hour, minute and second units of the year, the month, the day and the minute;
the method specifically comprises the following steps: step 21, carrying out year information extraction processing on the first date time information to generate first year data;
for example, the first date-time information is 2021/12/3114: 50:19, the first year data is 2021;
step 22, carrying out month information extraction processing on the first date time information to generate first month data;
for example, if the first date time information is 2021/12/3114: 50:19, the first month data is 12;
step 23, performing single-day information extraction processing on the first date time information to generate first date data;
for example, the first date time information is 2021/12/3114: 50:19, the first date data is 31;
step 24, carrying out hour information extraction processing on the first date time information; carrying out corresponding format data conversion on the extraction processing result according to a preset hour expression format, if the hour expression format is a twelve-hour format, carrying out twelve-hour format data conversion on the extraction processing result to generate first-hour data, and if the hour expression format is a twenty-four-hour format, carrying out twenty-four-hour format data conversion on the extraction processing result to generate first-hour data;
the hour expression format is a system parameter preset by an electronic medical record browser, and the hour expression format comprises two set formats, namely a twelve-hour format and a twenty-four-hour format; if the hour expression format is a twelve-hour format, the format of the first-hour data obtained by the electronic medical record browser is in a morning/afternoon + numerical mode, and the numerical value range is 0-11; if the hour expression format is twenty-four hour format, the format of the first hour data obtained by the electronic medical record browser is numerical mode, and the numerical value range is 0-24;
for example, the first date-and-time information is 2021/12/3114: 50:19, and if the hour expression format is a twelve-hour format, the first hour data is 2 pm; if the hour expression format is a twenty-four hour format, the first hour data is 14 hours;
step 25, performing minute information extraction processing on the first date and time information to generate first sub data;
for example, if the first date time information is 2021/12/3114: 50:19, the first score data is 50;
step 26, performing second information extraction processing on the first date time information to generate first second data;
for example, the first date-time information is 2021/12/3114: 50:19, the first second data is 19;
and 27, combining the first year data, the first month data, the first day data, the first hour data, the first minute data and the first second data into a first date and time data group.
For example, the first date time information is 2021/12/3114: 50:19, and if the hour expression format is a twelve-hour format, the first date time data set is {2021,12,31, 2,50,19 pm }; if the hour expression format is a twenty-four hour format, then the first date time data set is {2021,12,31,14,50,19 }.
Step 3, formatting the data of the first year according to a preset data group of the suffix before the first year and the data of the first year to generate formatted data of the first year;
wherein the first year prefix data group includes first year prefix data and first year suffix data.
The method specifically comprises the following steps: and splicing the first year prefix data, the first year data and the first year suffix data to generate first year formatted data.
Here, the suffix data group before the first year is a system parameter preset by an electronic medical record browser; the first year prefix data group comprises two subdata of first year prefix data and first year suffix data; the first year prefix data and the first year suffix data may be null, may be one character, or may be a character string composed of multiple characters; the first year prefix data is used for prefix decoration of the first year data, and the first year suffix data is used for suffix decoration of the first year data.
For example, the first year data is 2021, the first year prefix data is a character string "notary", the first year suffix data is a character "year", and the first year formatted data after concatenation is "notary 2021 year";
for another example, the first year data is 2021, the first year prefix data is null, and the first year suffix data is the character "year", and the first year formatted data after concatenation is "2021 year".
Step 4, formatting the monthly data according to a preset monthly data group and monthly data to generate monthly formatted data;
the first month prefix and suffix data group comprises first month prefix data and first month suffix data;
the method specifically comprises the following steps: and splicing the first month prefix data, the first month data and the first month suffix data to generate the first month formatted data.
Here, the first month prefix and suffix data group is a system parameter preset by an electronic medical record browser; the first month prefix and suffix data group comprises two subdata of first month prefix data and first month suffix data; the prefix data of the first month and the suffix data of the first month can be empty, can also be a character string composed of multiple characters; the first month prefix data is used for carrying out prefix decoration on the first month data, and the first month suffix data is used for carrying out suffix decoration on the first month data.
For example, the data of the first month is 12, the prefix data of the first month is null, the suffix data of the first year is the character "month", and the formatted data of the spliced first month is "12 months";
for another example, if the first month data is 12, the first month prefix data is a character string "solar calendar", and the first month suffix data is a character "month", the concatenated first month formatted data is "solar calendar 12 months".
Step 5, carrying out first-day data formatting treatment according to a preset first-day prefix and suffix data group and first-day data to generate first-day formatted data;
wherein the first prefix-suffix-of-day data group includes first prefix-of-day data and first suffix-of-day data;
the method specifically comprises the following steps: and splicing the first-day prefix data, the first-month data and the first-day suffix data to generate first-day formatted data.
Here, the first affix data set is a system parameter preset by an electronic medical record browser; the first prefix-suffix-of-day data group comprises two subdata of first prefix-of-day data and first suffix-of-day data; the first daily prefix data and the first daily suffix data may be null, may be one character, or may be a character string composed of multiple characters; the first date prefix data is used for prefix decoration of the first date data, and the first date suffix data is used for suffix decoration of the first date data.
For example, if the first day data is 31, the first day prefix data is "yes", and the first day suffix data is the character "day", the first day formatted data after concatenation is "31 days";
for another example, if the first day data is 31, the first day prefix data is a character "-", and the first day suffix data is null, the first day formatted data after concatenation is "-31".
Step 6, carrying out first-hour data formatting treatment according to a preset first-hour prefix-suffix data group and first-hour data to generate first-hour formatted data;
wherein the first hour pre-suffix data set comprises first hour prefix data and first hour suffix data;
the method specifically comprises the following steps: and splicing the first hour prefix data, the first hour data and the first hour postfix data to generate first hour formatted data.
Here, the affix data set before and after the first hour is a system parameter preset by an electronic medical record browser; the first-hour prefix-suffix data group comprises two subdata of first-hour prefix data and first-hour suffix data; the first hour prefix data and the first hour suffix data may be null, may be one character, or may be a character string composed of multiple characters; the first hour prefix data is used for prefix decoration of the first hour data, and the first hour suffix data is used for suffix decoration of the first hour data.
For example, when the preset hour expression format is a twelve-hour format, the first-hour data is "2 pm", the first-hour prefix data is "yes", the first-hour suffix data is a character "dot", and the spliced first-hour formatted data is "2 pm";
for another example, if the preset hour expression format is a twenty-four hour format, the first hour data is 14, the first hour prefix data is null, and the first hour suffix data is the character "time", then the spliced first hour formatted data is "14 time".
Step 7, performing first branch data formatting treatment according to a preset first branch prefix and suffix data group and first branch data to generate first branch formatted data;
wherein the first prefix suffix data group includes first prefix data and first suffix data;
the method specifically comprises the following steps: and splicing the first prefix division data, the first division data and the first division postfix data to generate first division formatted data.
Here, the first prefix-suffix data set is a system parameter preset by an electronic medical record browser; the first prefix-suffix-divided data group comprises two subdata of first prefix division data and first suffix division data; the first prefix data and the first suffix data may be null, may be a character, or may be a character string composed of multiple characters; the first prefix data is used for performing prefix decoration on the first branch data, and the first suffix data is used for performing suffix decoration on the first branch data.
For example, if the first division data is 50, the first prefix data is null, and the first division suffix data is the character "division", the concatenated first division formatted data is "50 division".
Step 8, performing first-second data formatting treatment according to a preset first-second prefix-suffix data group and first-second data to generate first-second formatted data;
wherein the first-second prefix-suffix data group includes first-second prefix data and first-second suffix data;
the method specifically comprises the following steps: and splicing the first second prefix data, the first second data and the first second postfix data to generate first second formatted data.
Here, the first-second prefix-suffix data set is a system parameter preset by an electronic medical record browser; the first-second prefix-suffix data group comprises two subdata of first-second prefix data and first-second suffix data; the first second prefix data and the first second suffix data may be null, may be a character, or may be a character string composed of multiple characters; the first-second prefix data is used for prefix decoration of the first-second data, and the first-second suffix data is used for suffix decoration of the first-second data.
For example, if the first-second data is 19 seconds, the first-second prefix data is null, and the first-second suffix data is the character "second", the concatenated first-second formatted data is "19 seconds".
And 9, forming a first date time formatted data group by the first year formatted data, the first month formatted data, the first day formatted data, the first hour formatted data, the first minute formatted data and the first second formatted data.
Step 10, carrying out formatting display processing on the first date time data according to a preset display zone bit set and a first date time formatting data set;
the display marker bit set comprises a year marker bit, a month marker bit, a day marker bit, an hour marker bit, a molecule marker bit and a second marker bit;
here, the display zone bit set is a system parameter preset by an electronic medical record browser, wherein the system parameter comprises 6 sub zone bits of year, month, day, hour, minute and second; if each sub-zone bit is set to be null, the corresponding formatted data is not displayed when the corresponding formatted data is displayed, otherwise, the corresponding formatted data is required to be displayed when the corresponding formatted data is not displayed; the display sequence is determined according to the high-low arrangement sequence of the sub-flag bits which are not empty;
the method specifically comprises the following steps: step 101, identifying the sub-zone bits of the display zone bit set, and arranging the sub-zone bits which are not empty according to the sequence from high to low of a date-time unit to generate a first display zone bit set;
here, the year of the year, month, day, hour, minute and second is the highest, and the order of year, month, day, hour, minute and second from left to right is the order of date and time units from high to low;
for example, the set of display flag bits is: the year flag bit is null, the month flag bit is not null, the day flag bit is not null, the hour flag bit is not null, the molecular flag bit is null, and the second flag bit is null; then, the first set of display flags shall be { month flag, day flag, hour flag };
102, extracting corresponding formatted data from a first date time formatted data group according to the sub-zone bits of the first display zone bit set; sorting all the extracted formatted data according to the sorting sequence of the sub-zone bits of the first display zone bit set to generate first formatted display data;
for example, the first date time formatted data set is: first year formatted data "2021 year", first month formatted data "12 months", first day formatted data "31 days", first hour formatted data "14 hours", first minute formatted data "50 minutes", and first second formatted data "19 seconds"; the first display zone bit set is { month zone bit, day zone bit, hour zone bit };
then the corresponding formatted data extracted from the first date time formatted data set based on the sub-bits of the first set of display bits has: first month formatted data "12 months", first day formatted data "31 days", first hour formatted data "14 hours";
the sequencing order of the sub-flag bits of the first display flag bit set is month-day-hour, all the extracted formatted data are sequenced according to month-day-hour, and the obtained first formatted display data is first month formatted data of 12 months, + first day formatted data of 31 days, + first hour formatted data of 14 hours, namely 12 months of 31 days of 14 hours;
and 103, performing display processing on the first formatted display data.
Here, the electronic medical record browser finally displays the first date and time information acquired from the electronic medical record script file on the display device in a display mode preset by the user, and the displayed content is the first formatted display data converted from the first date and time information.
For example, the first date and time information is 2021/12/3114: 50:19, and the first formatted display data obtained after the conversion in the steps 2-10 is 12 months, 31 days and 14 hours, then on the display interface of the electronic medical record browser, the user only sees 12 months, 31 days and 14 hours instead of 2021/12/3114: 50: 19.
In summary, the electronic medical record browser, through the method for displaying date and time data in a formatted manner applied to the electronic medical record provided by the embodiment of the invention, not only does not need to modify the original electronic medical record script file, but also can perform configuration management of suffixes and suffixes on the display content of each unit of the date and time data, and also can perform configuration management of display/hidden items on each unit of the date and time data, and configuration files are formed by summarizing various configurations of the electronic medical record browser, so that display solutions in different formats can be provided for different clients, and the method does not need to be additionally developed with time and labor, thereby greatly improving the working efficiency.
According to the date and time data formatting display method applied to the electronic medical record, the date and time data are still stored in the electronic medical record script file in a standard year, month, day, hour, minute and second format, and the final display result is assembled by configuring relevant prefix and suffix display parameters and display flag bits. Therefore, the most complete date and time data can be reserved, personalized display and assembly can be carried out according to the configuration information of each family, and the display processing flow does not need to be customized according to the requirements of each family.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A date and time data formatting display method applied to an electronic medical record is characterized by comprising the following steps:
acquiring first date time information from an electronic medical record script file;
performing data item splitting processing of date and time on the first date and time information to generate a first date and time data group; the first date time data group at least comprises first year data, first month data, first day data, first hour data, first minute data and first second data;
performing first year data formatting treatment according to a preset first year suffix data group and the first year data to generate first year formatted data;
carrying out monthly data formatting treatment according to a preset monthly before and after data group and the monthly data to generate monthly formatted data;
performing first-day data formatting treatment according to a preset first-day prefix and suffix data group and the first-day data to generate first-day formatted data;
performing first-hour data formatting treatment according to a preset first-hour prefix-suffix data group and the first-hour data to generate first-hour formatted data;
performing first branch data formatting treatment according to a preset first branch prefix suffix data group and the first branch data to generate first branch formatted data;
performing first-second data formatting treatment according to a preset first-second prefix-suffix data group and the first-second data to generate first-second formatted data;
forming a first date time formatted data set from the first year formatted data, the first month formatted data, the first day formatted data, the first hour formatted data, the first minute formatted data and the first second formatted data;
and carrying out formatting display processing on the first date time data according to a preset display zone bit set and the first date time formatting data set.
2. The method for displaying date and time data in a formatted manner as set forth in claim 1, wherein the step of performing a date and time data item splitting process on the first date and time information to generate a first date and time data set comprises:
performing year information extraction processing on the first date time information to generate the first year data;
carrying out month information extraction processing on the first date time information to generate the first month data;
performing single-day information extraction processing on the first date time information to generate the first date data;
performing hour information extraction processing on the first date time information; carrying out corresponding format data conversion on the extraction processing result according to a preset hour expression format, if the hour expression format is a twelve-hour format, carrying out twelve-hour format data conversion on the extraction processing result to generate the first-hour data, and if the hour expression format is a twenty-four-hour format, carrying out twenty-four-hour format data conversion on the extraction processing result to generate the first-hour data;
performing minute information extraction processing on the first date and time information to generate first sub data;
second information extraction processing is performed on the first date time information to generate first second data;
and the first year data, the first month data, the first day data, the first hour data, the first minute data and the first second data are combined into the first date and time data group.
3. The method for displaying date and time data format of electronic medical record according to claim 1,
the first year prefix data group includes first year prefix data and first year suffix data;
the first month prefix-suffix data group includes first month prefix data and first month suffix data;
the first prefix-suffix data group includes first prefix-suffix data and first suffix-suffix data;
the first hour prefix-suffix data set includes first hour prefix data and first hour suffix data;
the first prefix-suffix-data-group includes first prefix-suffix-data and first suffix-data;
the first-second prefix-suffix-data group includes first-second prefix data and first-second suffix data.
4. The method for displaying date and time data in a formatted mode for an electronic medical record according to claim 3, wherein the step of performing a first year data formatting process according to a preset first year suffix data set and the first year data to generate first year formatted data specifically comprises:
generating the year one formatted data from the year one prefix data, the year one data, and the year one suffix data by stitching.
5. The method for displaying date-time data in a formatted mode applied to an electronic medical record as claimed in claim 3, wherein the step of performing a first month data formatting process according to a preset first month pre-and-post data set and the first month data to generate first month formatted data specifically comprises:
and splicing the first month prefix data, the first month data and the first month suffix data to generate the first month formatted data.
6. The method for displaying date and time data formatting of an electronic medical record according to claim 3, wherein the step of performing a first day data formatting process based on a preset first day prefix and suffix data set and the first day data to generate first day formatted data specifically comprises:
and splicing the first daily prefix data, the first month data and the first daily suffix data to generate the first daily formatted data.
7. The method for displaying date-time data in a formatted mode applied to an electronic medical record as claimed in claim 3, wherein the step of performing a first-hour data formatting process according to a preset first-hour prefix-suffix data set and the first-hour data to generate first-hour formatted data specifically comprises:
and splicing the first hour prefix data, the first hour data and the first hour postfix data to generate the first hour formatted data.
8. The method for displaying date-time data in a formatted mode applied to an electronic medical record as claimed in claim 3, wherein the step of performing a first data formatting process according to a preset first pre-and post-post data set and the first sub-data to generate first sub-formatted data specifically comprises:
and splicing the first prefix data, the first branch data and the first branch postfix data to generate the first branch formatted data.
9. The method for displaying date-time data in a formatted mode applied to an electronic medical record as claimed in claim 3, wherein the step of performing a first-second data formatting process according to a preset first-second prefix-suffix data set and the first-second data to generate first-second formatted data specifically comprises:
and splicing the first second prefix data, the first second data and the first second postfix data to generate the first second formatted data.
10. The method for displaying date and time data in a formatted mode applied to an electronic medical record according to claim 1, wherein the processing for displaying the first date and time data in a formatted mode is performed according to a preset display flag bit set and the first date and time formatted data set, and specifically comprises:
identifying the sub-zone bits of the display zone bit set, and arranging the sub-zone bits which are not empty according to the sequence from high to low of a date-time unit to generate a first display zone bit set; the display marker bit set comprises a year marker bit, a month marker bit, a day marker bit, an hour marker bit, a molecule marker bit and a second marker bit;
extracting corresponding formatted data from the first date time formatted data set according to the sub-flag bits of the first display flag bit set; sorting all the extracted formatted data according to the sorting sequence of the sub-zone bits of the first display zone bit set to generate first formatted display data;
and performing display processing on the first formatted display data.
CN202110707576.1A 2021-06-24 2021-06-24 Date and time data formatting display method applied to electronic medical record Pending CN113536732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110707576.1A CN113536732A (en) 2021-06-24 2021-06-24 Date and time data formatting display method applied to electronic medical record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110707576.1A CN113536732A (en) 2021-06-24 2021-06-24 Date and time data formatting display method applied to electronic medical record

Publications (1)

Publication Number Publication Date
CN113536732A true CN113536732A (en) 2021-10-22

Family

ID=78096741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110707576.1A Pending CN113536732A (en) 2021-06-24 2021-06-24 Date and time data formatting display method applied to electronic medical record

Country Status (1)

Country Link
CN (1) CN113536732A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1295758A (en) * 1998-04-03 2001-05-16 美商·提维股份有限公司 Method and apparatus implementing random access and time-based functions on continuos stream of formatted digital data
CN106933783A (en) * 2015-12-31 2017-07-07 远光软件股份有限公司 A kind of method and device on the intelligent extraction date from text
CN108334622A (en) * 2018-02-08 2018-07-27 竞技世界(北京)网络技术有限公司 A method of it obtains and formats complex data
CN110852105A (en) * 2019-11-06 2020-02-28 天津开心生活科技有限公司 Time data normalization method, device, medium and electronic equipment
CN111651338A (en) * 2020-05-28 2020-09-11 杭州迪普科技股份有限公司 Log formatting time acquisition system and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1295758A (en) * 1998-04-03 2001-05-16 美商·提维股份有限公司 Method and apparatus implementing random access and time-based functions on continuos stream of formatted digital data
CN106933783A (en) * 2015-12-31 2017-07-07 远光软件股份有限公司 A kind of method and device on the intelligent extraction date from text
CN108334622A (en) * 2018-02-08 2018-07-27 竞技世界(北京)网络技术有限公司 A method of it obtains and formats complex data
CN110852105A (en) * 2019-11-06 2020-02-28 天津开心生活科技有限公司 Time data normalization method, device, medium and electronic equipment
CN111651338A (en) * 2020-05-28 2020-09-11 杭州迪普科技股份有限公司 Log formatting time acquisition system and method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PYTHON哔哩哔哩: "python time格式化处理输入中文的年月日,一看就明白怎么回事", Retrieved from the Internet <URL:blog.csdn.net/qq_39905859/article/details/104601795> *

Similar Documents

Publication Publication Date Title
US8887036B2 (en) Automatic linking of documents
Smith When is a nation
CN102256049B (en) Automation story generates
Li et al. Electronic styles: a handbook for citing electronic information
CN105095168A (en) Automatic generation method and device for contract files
US20020078140A1 (en) Remote web page maintenance
CN110187902A (en) Project remodeling method, device, equipment and storage medium based on spring boot
CN113536732A (en) Date and time data formatting display method applied to electronic medical record
Berg The Isnād and the production of cultural memory: Ibn Abbās as a case study
CN114239535A (en) Automatic Word document generation method and system based on webpage
US20130024765A1 (en) Processing rich text data for storing as legacy data records in a data storage system
CN110895548A (en) Method and apparatus for processing information
JPWO2015162737A1 (en) Transliteration work support device, transliteration work support method, and program
CN106648618B (en) Text information generation method and device for virtual application
Albini Documenting earthquakes in the United States of the Ionian Islands, 1815–1864
US7464368B2 (en) Logical separation of code and content
CN104866592A (en) Method and apparatus for displaying abstract in search engine
CN114997119A (en) Rich text editing method for adjusting reading effect
Shaughnessy Of Trees, a Son, and Kingship: Recovering an Ancient Chinese Dream
JP2000259165A (en) Data reader and recording medium
CN113268283B (en) Batch processing method based on file materials
Brady An Analogue to Wulf and Eadwacer in the Life of St Bertellin of Stafford
CN109947997B (en) Forest growth simulation data slicing method
Kohlmann Glyn Salton-Cox. Queer Communism and the Ministry of Love: Sexual Revolution in British Writing of the 1930s
Cieciura The sound of salvation: voice, gender, and the Sufi Mediascape in China: by Guangtian Ha, New York, NY, Columbia University Press, 2022, 312 pp., $35.00 (ppk), ISBN: 9780231198073

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