CN108572944A - A kind of document structure tree method, apparatus, electronic equipment and storage medium - Google Patents

A kind of document structure tree method, apparatus, electronic equipment and storage medium Download PDF

Info

Publication number
CN108572944A
CN108572944A CN201711195150.2A CN201711195150A CN108572944A CN 108572944 A CN108572944 A CN 108572944A CN 201711195150 A CN201711195150 A CN 201711195150A CN 108572944 A CN108572944 A CN 108572944A
Authority
CN
China
Prior art keywords
data
target
document
template
data element
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
CN201711195150.2A
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 Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud 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 Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201711195150.2A priority Critical patent/CN108572944A/en
Publication of CN108572944A publication Critical patent/CN108572944A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

An embodiment of the present invention provides a kind of document structure tree method, apparatus, electronic equipment and storage mediums, including:Receive the generation instruction of destination document;According to the Doctype of destination document, the corresponding document template of destination document is obtained, as target template, wherein document template is made of the data element indicated with structural data, and data element is determined according to the Doctype based on the generated document of document template;Obtain the target data that user is inputted based on target template;According to target template and target data, destination document is generated.The technical solution provided through the embodiment of the present invention can adjust the target template of structuring, to achieve the purpose that adjust destination document, in this way, user can voluntarily be adjusted according to demand, and then obtain required destination document, and greatly convenience is brought to user.

Description

A kind of document structure tree method, apparatus, electronic equipment and storage medium
Technical field
The present invention relates to electronic technology fields, more particularly to a kind of document structure tree method, apparatus, electronic equipment and storage Medium.
Background technology
With the development of science and technology and social progress, more and more computerization that work, in this way, for the people that works For member, work is more convenient, and is easier to preserve and inquire corresponding document.Especially in the medical field, case history is by paper Matter case history evolves into electronic health record.As a kind of medical document, electronic health record has been increasingly becoming the important shape of medical institutions' case history Formula.
Currently, in order to constrain data inputting of the medical staff in electronic health record, medical institutions are mainly set using third party The software systems provided are counted, each data element in the software systems has set the data model of typing according to corresponding standard Enclose, the data format etc. of typing, wherein data element is the basic unit of electronic health record data, by a set of attribute, with definition, Mark, expression and permissible value carry out specification.In this way, medical staff is not only facilitated, and can be to medical staff in electronics disease The data for going through middle typing are constrained.
However, when the workflow of medical institutions changes, electronic health record is also required to make and correspondingly adjust.And this When, because it is a designed product that third party, which is supplied to the software systems of medical institutions, medical staff can only be soft according to this The pre-designed workflow of part system and format use, and medical institutions can not voluntarily be modified electronic health record, because This voluntarily cannot carry out correspondingly adjustment to electronic health record and be a problem to be solved for medical institutions.
Invention content
The embodiment of the present invention is designed to provide a kind of document structure tree method, apparatus, electronic equipment and storage medium, with By adjusting structured stencil, and then required document is obtained, greatly convenience is brought to user.Specific technical solution is as follows:
In a first aspect, an embodiment of the present invention provides a kind of document structure tree method, the method includes:
Receive the generation instruction of destination document;
According to the Doctype of the destination document, the corresponding document template of the destination document is obtained, as target mould Plate, wherein the document template is made of the data element indicated with structural data, the data element, is according to based on described What the Doctype of the generated document of document template determined;
Obtain the target data that user is inputted based on the target template;
According to the target template and the target data, the destination document is generated.
Optionally, the document template includes one or more data Layer, and each layer data is by the next layer of itself Data are constituted, and bottom data are made of data element, and each layer data is structural data;
The attribute of the data element is structural data.
Optionally, the Doctype according to the destination document obtains the corresponding document template of the destination document, After the step of as target template, further include:
Receive the adjust instruction of the included data element of the target template;
According to the adjust instruction, the data element for being included to the target template is adjusted;
Judge whether the target template after adjustment is effective template;
If the target template after adjustment is effective template, executes and obtain what user was inputted based on the target template The step of target data.
Optionally, described target template the step of whether being effective template judged after adjustment, including:
It detects the target masterplate and whether there is syntax error;
If syntax error is not present in the target masterplate, judge whether target data member is normal data member, wherein institute Stating target data member is:Data element in the target masterplate;
If target data member is normal data member, the target template after judgement adjustment is effective template.
Optionally, it is described judge the target data member whether be normal data member step, including:
Obtain the target identification number of the target data member;
Judge the identification number whether target identification number belongs in normal data member;
If the target identification number belongs to the identification number in normal data member, the parameter in the target data member is judged Whether information is parameter information in the normal data member;
If the parameter information in the target data member is the parameter information in the normal data member, the mesh is judged It is normal data member to mark the target data member in template.
Optionally, after described the step of obtaining the target data that user is inputted based on the target template, further include:
Judge whether the target data meets the requirement of corresponding data element in the target template;
If the target data meets the requirement of corresponding data element in the target template, the target data is determined For valid data.
Optionally, after the step of determination target data is valid data, further include:
Data normalization processing is carried out to the target data, the target data is converted to the number of preset kind According to.
Optionally, before described the step of obtaining the target data that user is inputted based on the target template, further include:
Detect the Platform Type for the display platform for being shown the target template;
Determine the user interface of the target template corresponding to the Platform Type;
Show the user interface.
Optionally, the destination document is with any one of Documents:Electronic Nursing case history document, doctor's electronic health record Document, clinic electronic medical recorder document, emergency treatment electronic medical record document, be hospitalized electronic medical record document and physical examination electronic medical record document.
Optionally, the normal data member is any one of following standard:National standard data element, international standard data Member and industry standard data member.
Second aspect, an embodiment of the present invention provides a kind of document structure tree device, described device includes:
First receiving module, the generation for receiving destination document instruct;
Acquisition module obtains the corresponding document mould of the destination document for the Doctype according to the destination document Plate, as target template, wherein the document template is made of the data element indicated with structural data, and the data element is According to the Doctype determination based on the generated document of the document template;
Obtain module, the target data inputted based on the target template for obtaining user;
Generation module, for according to the target template and the target data, generating the destination document.
Optionally, the document template includes one or more data Layer, and each layer data is by the next layer of itself Data are constituted, and bottom data are made of data element, and each layer data is structural data;
The attribute of the data element is structural data.
Optionally, described device further includes:
Second receiving module, the adjust instruction for receiving the included data element of the target template;
Module is adjusted, for according to the adjust instruction, the data element for being included to the target template to be adjusted;
First judgment module, for judging whether the target template after adjustment is effective template, when the judgement mould The judging result of block is when being, to trigger the acquisition module.
Optionally, first judgment module includes:
First detection sub-module whether there is syntax error for detecting the target masterplate;
Judging submodule judges that target data member is in the absence of being when the testing result of the detection sub-module It is no for normal data member, wherein the target data member is:Data element in the target masterplate;
Decision sub-module, for when the judging result of the judging submodule is to be, judging the target after adjustment Template is effective template.
Optionally, the judging submodule includes:
Acquiring unit, the target identification number for obtaining the target data member;
First judging unit, the identification number whether belonged in normal data member for judging the target identification number;
Second judgment unit, for when the judging result of first judging unit is to be, judging the target data Whether parameter information in member is parameter information in the normal data member;
Judging unit, for when the judging result of the second judgment unit is to be, judging in the target template Template data member is normal data member.
Optionally, described device further includes:
Second judgment module, for judging whether the target data meets corresponding data element in the target template It is required that;
First determining module, the judging result for second judgment module are when being, to determine that the target data is Valid data.
Optionally, described device further includes:
Processing module is converted to the target data for carrying out data normalization processing to the target data The data of preset kind.
Optionally, described device further includes:
Detection module, the Platform Type for detecting the display platform for being shown the target template;
Second determining module, the user interface for determining the target template corresponding to the Platform Type;
Display module, for showing the user interface.
Optionally, the destination document is with any one of Documents:Electronic Nursing case history document, doctor's electronic health record Document, clinic electronic medical recorder document, emergency treatment electronic medical record document, be hospitalized electronic medical record document and physical examination electronic medical record document.
Optionally, the normal data member is any one of following standard:National standard data element, international standard data Member and industry standard data member.
The third aspect, an embodiment of the present invention provides a kind of electronic equipment, including processor and memory;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes a kind of any of the above-described document structure tree The step of method.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes a kind of any of the above-described document when being executed by processor The step of generation method.
In technical solution provided in an embodiment of the present invention, the generation instruction of destination document is received;According to the text of destination document Shelves type obtains the corresponding document template of destination document, as target template, wherein document template is by with structural data table The data element shown is constituted, and data element is determined according to the Doctype based on the generated document of document template;Obtain user's base In the target data of target template input;According to target template and target data, destination document is generated.Through the embodiment of the present invention The technical solution of offer can adjust the target template of structuring, to achieve the purpose that adjust destination document, in this way, user It can voluntarily be adjusted according to demand, and then obtain required destination document, greatly convenience is brought to user.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of the first flow chart of document structure tree method provided in an embodiment of the present invention;
Fig. 2 is physical examination electronic health record schematic diagram;
Fig. 3 is a kind of second of flow chart of document structure tree method provided in an embodiment of the present invention;
Fig. 4 is a kind of the third flow chart of document structure tree method provided in an embodiment of the present invention;
Fig. 5 is a kind of 4th kind of flow chart of document structure tree method provided in an embodiment of the present invention;
Fig. 6 is a kind of 5th kind of flow chart of document structure tree method provided in an embodiment of the present invention;
Fig. 7 is a kind of the first structure diagram of document structure tree device provided in an embodiment of the present invention;
Fig. 8 is a kind of second of structure diagram of document structure tree device provided in an embodiment of the present invention;
Fig. 9 is a kind of the third structure diagram of document structure tree device provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to enable user can voluntarily according to demand be adjusted document, and then required destination document is obtained, given User provides greatly convenience.An embodiment of the present invention provides a kind of document structure tree method, apparatus, electronic equipment and storages to be situated between Matter.
It should be noted that the targeted document of method and device provided in an embodiment of the present invention can be needed to writing There is the document of the formatting of certain standardization role, for example, electronic health record, storehouse list etc..Wherein, electronic health record can also be doctor The case history document of different-format used in each department of mechanism is treated, for example, can be Electronic Nursing case history document, doctor's electronics disease Go through document, clinic electronic medical recorder document, emergency treatment electronic medical record document, electronic medical record document, the physical examination electronic medical record document of being hospitalized etc.. Following embodiment is illustrated by taking electronic health record as an example.
First, a kind of document structure tree method provided in an embodiment of the present invention is introduced.
As shown in Figure 1, a kind of document structure tree method provided in an embodiment of the present invention, includes the following steps:
S101 receives the generation instruction of destination document.
Wherein, destination document is that user needs the document generated according to demand, and specifically, which can be nursing Electronic medical record document, doctor's electronic medical record document, clinic electronic medical recorder document, emergency treatment electronic medical record document, electronic health record of being hospitalized Any one of document, physical examination electronic medical record document, wherein Electronic Nursing case history document is used in medical institutions nursing staff Electronic medical record document, doctor's electronic medical record document are the electronic medical record document used in medical institutions medical worker, outpatient service electronics disease It is the electronic medical record document used in the medical care of each outpatient service department to go through document, and emergency treatment electronic medical record document is used in emergency unit's medical care Electronic medical record document, electronic medical record document is the electronic medical record document being hospitalized used in department's medical care, physical examination electronic health record text in hospital Shelves are the electronic medical record document used in physical examination department medical staff.
Certainly, destination document is not limited in above six kinds, can also be the document of other similar kinds, herein not one by one It enumerates.
It can be generated in medical system that user is installed on that computer by computer to generate instruction, can be with It is to be generated by the other-end equipment communicated to connect with the computer, wherein other-end equipment can be mobile phone, tablet With wearable device etc..
S102 obtains the corresponding document template of destination document, as target template according to the Doctype of destination document.
In the embodiment of the present application, document template can be understood as:Template for generating document.Due to being based on same template Its generation benchmark of the document of generation is identical, so these documents feature having the same, for example, these documents belong to same Doctype, that is, can consider that a kind of Doctype and a document template have correspondence, for example, physical examination department Project, patient information of documentation physical examination etc., it is believed that feature having the same, therefore, the document of physical examination department belong to In physical examination Doctype, the physical examination Doctype is corresponding with a physical examination document template, which can generate Document needed for physical examination department, such as:Physical examination electronic medical record document.
It in view of the foregoing, can be according to Doctype and document template after determining the Doctype of destination document Correspondence obtains the target template for generating destination document.
There is correspondence based on a kind of Doctype and a document template, it is therefore contemplated that destination document and text Shelves template can be one-to-one relationship.Illustratively, the Doctype corresponding to Electronic Nursing case history document is nursing type Document, nurse the document template corresponding to the document of type just be used for generate Electronic Nursing case history document.
Document template is made of the data element indicated with structural data, wherein data element is by definition, mark, table Show and a series of data cell of attribute descriptions such as permissible value, also, is according to the text based on the generated document of document template Shelves type determines.
Wherein, the structuring expression of data is segmented into following three kinds of situations:
First, can paragraph to be expressed in document template, and each paragraph is distinguished by hierarchical relationship. In this way, being expressed by stratification paragraph, the document content corresponding to document template for a user can be apparent understandable.
Illustratively, the physical examination document being illustrated in figure 2 in electronic health record in hospital, is divided into 6 paragraphs, and uppermost One paragraph is the theme of document, clearly indicates that the document is the electronic medical record document of physical examination;Second paragraph is physique The basic vital sign information of the human body of inspection:Temperature pulse respiration, blood pressure;From third paragraph to the interior container of the 6th paragraph The physical examination information of body project:Ordinary circumstance, skin and mucosa, lymph node, head.Each paragraph carries out layered sheet according to physical examination project It reaches, user is facilitated to search required information.
Second, can be data element and the structuring that the attribute of the data element distinguishes is expressed, by spcial character or Symbol is separated to achieve the purpose that differentiation, in this way, can be easier to distinguish the attribute corresponding to data element and the data element.
Illustratively, as shown in Fig. 2, data element with attribute by symbol { } to be separated, for example, T { 36.5 } indicate number According to first body temperature T, the attribute of the body temperature, i.e. numerical value are 36.5;Development { normal } indicates data element development, the category of data element development Property, i.e., developmental state is normal.
Third, can be data element attribute expression, when the attribute of data element there are many situation when, in the form of pop-up will The attribute of data element is expressed.
Illustratively, as shown in Fig. 2, the attribute of data element color and luster can be a variety of situations:Pale, flush, cyanosis, xanthochromia, It is pigmentation, hypopigmentation, normal.By pop-up by pale, flush, cyanosis, xanthochromia, pigmentation, hypopigmentation, normal each Option represents, in order to which user selects.
In a kind of embodiment, document template includes one or more data Layer, and each layer data is by itself Next layer data constitute, bottom data are made of data element;The attribute of data element is structural data.
Illustratively, it is illustrated in figure 2 physical examination electronic medical record document, corresponding to the physical examination electronic medical record document Physical examination electronic health record template can be divided into 3 data Layers:The data Layer of top layer is " physical examination ", is properly termed as theme Layer;The data Layer of the second layer includes:Ordinary circumstance, skin and mucosa, lymph node, head are properly termed as data group layer;The bottom Data Layer includes:The data elements such as development, nutrition, color and luster, head are properly termed as data element layer.
Wherein, each layer data is made of its next layer data, i.e., last layer data include next layer data.Therefore, Subject layer " physical examination " includes ordinary circumstance, skin and mucosa, lymph node;Data group layer " ordinary circumstance " includes data element Development, nutrition, expression, position, mind, spirit, physical examination in layer;Data group layer " skin and mucosa " includes in data element layer Color and luster, fash, subcutaneous hemorrhage, liver palms, oedema, spider angioma, hair distribution etc.;Data group layer " lymph node " includes data element layer In superficial lymph etc.;Data group layer " head " includes head, cornea, pupil, pupillary light reflex, ear in data element layer Exterior feature, hearing etc..
Further, data element can also include the attribute represented by the data element, for example, the attribute of data element color and luster can To include:Pale, flush, cyanosis, xanthochromia, pigmentation, hypopigmentation, normal etc.;The attribute of data element subcutaneous hemorrhage can be with Including:With and without.
Certainly, each layer data in document template can be structural data, in this way, more convenient realize to document mould The adjustment of plate.
Illustratively, the lymph node in data group layer is deleted, then the data element included by lymph node is also correspondingly deleted; Header data in data group layer is exchanged with skin and mucosa data, then, header data and included data element The situ of skin and mucosa data is moved on, skin and mucosa data and included data element are displaced downwardly to header data Situ, and exchange after, the relative position between data element type and each data element included by header data is not Become, the relative position between data element type and each data element included by skin and mucosa data is constant.
S103 obtains the target data that user is inputted based on target template.
Wherein, target data is that user is inputted according to the attribute of each data element in target template, i.e. each target Data are one-to-one with each data element in target template.Illustratively, as shown in Fig. 2, data element body temperature T is and 36.5 institutes It is corresponding, data element pulse P be it is corresponding with 70, the data element pupillary light reflex in header data be with it is sensitive corresponding 's.
In a kind of embodiment, user can be based on the mode that target template inputs:On the basis of displaying target template On, user inputs again.
Wherein, the mode of target template displaying can be shown by computer screen, can also be and be somebody's turn to do Computer has the display screen of the electronic equipments such as the mobile phone of communication connection, tablet to be shown.It is, of course, understood that the meter Calculation machine is the computer for executing the document and generating task.
Show that a kind of realization method of target template can be included the following steps:
First step detects the Platform Type of display platform for being shown target template, wherein Platform Type can be with Respective operations system type, such as:windows、linux、mac os;It can be with the application type in respective operations system, example Such as:Browser browser, HTML (Hyper Text Markup Language, hypertext markup language), winform (windows forms), WPF (Windows Presentation Foundation, Windows user's interface framework), Mobile, Flash etc. are not limited herein it is, of course, also possible to be other Platform Types.
Second step determines the user interface of the target template corresponding to Platform Type.
Wherein, the user interface of target template is pre-designed and stores, and the user interface of target template may be implemented Main body interface consistency cross-platform, across application type.
According to the classification of above-mentioned Platform Type, the determination of user interface follows following three kinds of rule of consistencies:
The first situation, when Platform Type refers to OS Type, the user interface of target template should accomplish across operation System conformance, that is to say, that even if being shown user interface main body by same application in different operating system It is the same.For example, the user interface that same target template is shown in operating system windows by Flash, with The user interface being shown by Flash in operating system linux is consistent.
The second situation, when Platform Type refers to application type, first, the user interface of target template should accomplish across using class Type consistency, that is to say, that though in same operating system using different applications, the use corresponding to same target template Family interface main body is consistent.For example, the use that same target template is shown in operating system windows by Flash Family interface, it is consistent with the user interface being shown by winform.
Second, the user interface of target template is codetermined by operating system and application type, for example, same target template The user interface being shown by Flash in operating system windows passes through winform in operating system linux The user interface being shown is consistent.
Third step shows identified user interface.
User interface includes the attribute of the data element and data element in target template, and according to the number in target template It is shown according to structure.Also, a variety of auxiliary inputs such as automatically generate individual event selection, multinomial selection, time, numerical value, codomain.
For example, as shown in Fig. 2, display user interface in data element color and luster attribute be multinomial selection, then automatically generate The multinomial selection of attribute of color and luster include:It is pale, flush, cyanosis, xanthochromia, pigmentation, hypopigmentation, normal.
S104 generates destination document according to target template and target data.
After generating destination document, the destination document of generation can be shown, so that user can be to target text Shelves carry out quadratic search.After determining destination document there is no problem, destination document can be stored according to preset path.
In technical solution provided in an embodiment of the present invention, the generation instruction of destination document is received;According to the text of destination document Shelves type obtains the corresponding document template of destination document, as target template, wherein document template is by with structural data table The data element shown is constituted, and data element is determined according to the Doctype based on the generated document of document template;Obtain user's base In the target data of target template input;According to target template and target data, destination document is generated.Through the embodiment of the present invention The technical solution of offer can adjust the target template of structuring, to achieve the purpose that adjust destination document, in this way, user It can voluntarily be adjusted according to demand, and then obtain required destination document, greatly convenience is brought to user.
In order to enable user can voluntarily according to demand be adjusted document, and then required destination document is obtained, given User provides greatly convenience.The embodiment of the present invention also provides another embodiment, as shown in figure 3, the embodiment of the present invention A kind of document structure tree method provided, includes the following steps:
S301 receives the generation instruction of destination document.
S302 obtains the corresponding document template of destination document, as target template according to the Doctype of destination document.
In the present embodiment, step S301, S302 is identical as step S101, S102 in above-described embodiment, does not do herein superfluous It states.
S303 receives the adjust instruction of the included data element of target template.
Wherein, can be that user is sent out by computer according to demand for the adjust instruction of target template, example Ground according to the demand of user itself, such as needs to delete or add number after obtaining the corresponding target template of destination document According to member, user clicks the Edit button on computers, can generate adjust instruction, and sends the adjust instruction.
S304, according to adjust instruction, the data element for being included to target template is adjusted.
The mode being adjusted to target template can there are many situations, below with the physical examination electronic health record text of Fig. 2 It is illustrated for shelves:
First way is that data element is deleted or increased, wherein including to individual data member and multiple data elements It is carried out at the same time deletion or increase.Which is illustrated below by the first following situation and the second situation:
The first situation is deleted or is increased to individual data member.
First, individual data member can be the data element in bottom data element layer, for example, can be to data group layer " one As situation " in data element " expression " deleted;Data element " hair " can be increased in data group layer " head ", certainly, When increasing data element, the attribute of the data element can be accordingly increased, for example, when increasing data element " hair ", while increasing number According to the attribute of first " hair ":Normally, black, white, brown.
Second, individual data member can be the data element in the second layer, for example, the data element in the second layer includes:Body temperature T, pulse P, breathing R, blood pressure BP;Data element body temperature " T " in the second layer can be deleted.
The second situation is carried out at the same time deletion or increase to multiple data elements.
First, multiple data elements can be mutual not related multiple data elements, for example, the multiple numbers that need to be deleted May include according to member:The data element in data element " development ", data group layer " skin and mucosa " in data group layer " ordinary circumstance " Data element " cornea " in " color and luster ", data group layer " head ".
Second, multiple data elements can be the data element in same data Layer, i.e. data element in uniform data group layer.Example Such as, the multiple data elements that need to be deleted are all data elements included in data group layer " ordinary circumstance ":Development, nutrition, expression, Position, mind, spirit, physical examination.At this point it is possible to data group layer " ordinary circumstance " be deleted, if it is noted, of course, that only The partial data member in data group layer need to be deleted, then data group layer cannot integrally be deleted.
The second way is moved to data element, wherein mobile data element can be individual data member, can be with It is multiple data elements.Which is illustrated below by the first following situation and the second situation:
The first situation, mobile data element are individual data member.
First, data element moves in same data group layer, for example, by the data element in data group layer " ordinary circumstance " " expression " is moved to the position among data element " development " and data element " nutrition ".
Second, data element is moved in other data group layers, for example, by the data in " skin and mucosa " in data group layer First " color and luster " is moved to " head " in data group layer.
The second situation, mobile data element are multiple data elements.
First, moved to data group, i.e., the multiple data elements that need to be moved are included all in same data group Data element.For example, by data group " lymph node " and data group " head " transposition.At this point, data group " lymph node " and data Each data element in group " head " also correspondingly moves.It is noted, of course, that if multiple data elements are only same data groups In partial data member, it is then not possible to be moved integrally to the data group.
Second, multiple data elements are the partial data member in same data group, or it is data element in different data group, then It can be moved according to the moving method of individual data member.
The third mode be modify to data element, including:It modifies to data group, to the data element in data group It modifies, modify to the data element in the second layer, modify to the attribute of data element.Wherein, the mode of modification can To be modification word, modification numerical value can also be.
S305 judges whether the target template after adjustment is effective template, if the judgment is Yes, executes step S306.
In another case, if it is determined that the target template after adjustment is not effective template, then termination continues to execute, and And while can be effective template to prompt ownership goal template not, the mode of prompt can be that word carries with alert It wakes up, will be prompted to word in a manner of pop-up shows user.
Wherein, effective template can refer to program code in the target template itself without syntax error, also, the mesh It is normal data member to mark the data element in template.When target template meets above-mentioned two requirement simultaneously, it is believed that the target template For effective template.
Specific implementation is introduced in the examples below, and details are not described herein.
S306 obtains the target data that user is inputted based on target template.
S307 generates destination document according to target template and target data.
In the present embodiment, step S306-S307 is identical as the step S103-S104 in above-described embodiment, does not do herein superfluous It states.
It, can be according to demand to target after getting target template in technical solution provided in an embodiment of the present invention Template is correspondingly adjusted.In this way, even if workflow changes, user can also voluntarily adjust target template, To adapt to the workflow after changing, and the document corresponding to the workflow after being changed, brought greatly to user Convenience.
In order to enable user can voluntarily according to demand be adjusted document, and then required destination document is obtained, given User provides greatly convenience.The embodiment of the present invention also provides another embodiment, as shown in figure 4, the embodiment of the present invention A kind of document structure tree method provided, includes the following steps:
S401 receives the generation instruction of destination document.
S402 obtains the corresponding document template of destination document, as target template according to the Doctype of destination document.
In the present embodiment, step S401, S402 is identical as step S101, S102 in above-described embodiment, does not do herein superfluous It states.
S403 receives the adjust instruction of the included data element of target template.
S404, according to adjust instruction, the data element for being included to target template is adjusted.
In the present embodiment, step S403, S404 is identical as step S303, S304 in above-described embodiment, does not do herein superfluous It states.
S405, detection target template whether there is syntax error, if the result of detection is no, execute step S406.
Grammer detection is carried out to target template, can be detected to the program code of target template itself, wherein language Method mistake includes that expression formula is imperfect in version number's mistake, program code, lacks necessary punctuation mark, keyword input mistake Accidentally, the keyword mismatch etc. of data type mismatch, Do statement or case statement.
In another case, if it is detected that target template is there are syntax error, termination continues to execute, and it is possible to send out Warning message, to prompt ownership goal template, there are syntax errors, and the mode of prompt can be that word is reminded, in a manner of pop-up It will be prompted to word and show user.
S406 judges whether target data member is that normal data member executes step S407 if the judgment is Yes.
Wherein, target data member is:Data element in target masterplate.
On the basis of target template does not have syntax error, the target data member in the target template is judged, if Judge that the target data member in target template is to meet the normal data member of respective standard, then can determine that the target template is Effective template.
Wherein, the reference standard of normal data member can be divided into 3 kinds:National standard, international standard and professional standard, according to A kind of standard of need satisfaction any of which, it should be noted that the included data element set in same target template Both it can meet same standard simultaneously, multiple standards, partial data member can also be supported to meet a kind of standard, another part data Member meets other standards.For example, the total data member in target template meets national standard, or part meets national standard, Another part data element meets international standard, it is believed that the target template is effective template.Otherwise, as long as in target template Wherein at least one data element is the data element for any standard for being unsatisfactory for national standard, international standard, professional standard, then can recognize It is not effective template for the target template.
In the case where target template is not effective template, termination continues to execute, and it is possible to alert, with Data element in prompt ownership goal template is not normal data member, and the mode of prompt can be that word is reminded, with the side of pop-up Formula will be prompted to word and show user.
Certainly, it should be noted that the reference standard of normal data member is not limited in three of the above standard, does not do herein It limits.
S407 obtains the target data that user is inputted based on target template.
S408 generates destination document according to target template and target data.
In the present embodiment, step S407-S408 is identical as the step S103-S104 in above-described embodiment, does not do herein superfluous It states.
It, can be according to demand to target after getting target template in technical solution provided in an embodiment of the present invention Template is correspondingly adjusted.In this way, even if workflow changes, user can also voluntarily adjust target template, To adapt to the workflow after changing, and the document corresponding to the workflow after being changed, brought greatly to user Convenience.
In order to enable user can voluntarily according to demand be adjusted document, and then required destination document is obtained, given User provides greatly convenience.The embodiment of the present invention also provides another embodiment, as shown in figure 5, the embodiment of the present invention A kind of document structure tree method provided, includes the following steps:
S501 receives the generation instruction of destination document.
S502 obtains the corresponding document template of destination document, as target template according to the Doctype of destination document.
In the present embodiment, step S501, S502 is identical as step S101, S102 in above-described embodiment, does not do herein superfluous It states.
S503 receives the adjust instruction of the included data element of target template.
S504, according to adjust instruction, the data element for being included to target template is adjusted.
In the present embodiment, step S503, S504 is identical as step S303, S304 in above-described embodiment, does not do herein superfluous It states.
S505, detection target template whether there is syntax error, if the result of detection is no, execute step S506.
In the present embodiment, step S505 is identical as the step S405 in above-described embodiment, and this will not be repeated here.
S506 obtains the target identification number of target data member.
Data element can be made of identification number and attribute description, also, identification number is one-to-one with data element.Example Such as, meeting the normal data member of national standard can be expressed as:EMR010001 patient basis, wherein EMR010001 is The identification number of normal data member, " patient basis " are the attribute description of normal data member.
S507 judges the identification number whether target identification number belongs in normal data member, if the judgment is Yes, executes step S508。
Identification number in various criterion is different, therefore, can judge the data element according to the identification number of data element It is which kind of standard belonged to.
For example, data element is expressed as:EMR010001 patient basis, wherein identification number EMR010001 are national standard Identification number, then can determine that the data element is the data element for meeting national standard.
In another situation, if judging, target identification number is not belonging to the identification number of selected normal data member, can Think that the target data member is not belonging to the standard described in the normal data member, can again be compared with the normal data member of other standards Compared with if it is judged that the target identification number of target data member is not belonging to the mark corresponding to the normal data member in any one standard Knowledge number can then determine that the target data member is not normal data member.It is executed at this point, terminating, and it is possible to send out alarm signal Breath is normal data member to prompt the data element in ownership goal template not, and the mode of prompt can be that word is reminded, with pop-up Mode will be prompted to word and show user.
S508 judges whether the parameter information in target data member is parameter information in normal data member, if it is determined that It is yes, executes step S509.
Wherein, the parameter information in data element can be the attribute description of data element, for example, data element is expressed as: EMR010001 patient basis, wherein " patient basis " is the parameter information of the data element.
When judging that the parameter information in target data member is the parameter information in normal data member, then target is can determine that out Target data member in template is normal data member.
Another situation judges the parameter information in target data member not and is the parameter information in normal data member, then It can determine that out that the target data member in target template is not normal data member, executed at this point, terminating, and it is possible to send out alarm Information is normal data member to prompt the data element in ownership goal template not, and the mode of prompt can be that word is reminded, with bullet The mode of window will be prompted to word and show user.
S509 obtains the target data that user is inputted based on target template.
S510 generates destination document according to target template and target data.
In the present embodiment, step S509-S510 is identical as the step S103-S104 in above-described embodiment, does not do herein superfluous It states.
It, can be according to demand to target after getting target template in technical solution provided in an embodiment of the present invention Template is correspondingly adjusted.In this way, even if workflow changes, user can also voluntarily adjust target template, To adapt to the workflow after changing, and the document corresponding to the workflow after being changed, brought greatly to user Convenience.
In order to enable user can voluntarily according to demand be adjusted document, and then required destination document is obtained, given User provides greatly convenience.The embodiment of the present invention also provides another embodiment, as shown in fig. 6, the embodiment of the present invention A kind of document structure tree method provided, includes the following steps:
S601 receives the generation instruction of destination document.
S602 obtains the corresponding document template of destination document, as target template according to the Doctype of destination document.
S603 obtains the target data that user is inputted based on target template.
In the present embodiment, step S601-S603 is identical as the step S101-S103 in above-described embodiment, does not do herein superfluous It states.
S604, judges whether target data meets the requirement of corresponding data element in target template and hold if the judgment is Yes Row step S605.
Target data input by user is one-to-one with the data element in target template, and data element is belonged to by correspondence The limitation of property, it is, the requirement of data element can judge whether target data matches with the attribute of corresponding data element, For example, the attribute of data element " fash " is:With and without, then, for data element " fash ", data input by user are only Can have or nothing, the data other than both of these case are regarded as invalid data.
The requirement of data element can also be that the well-known data element that is directed to is reasonable value, for apparent unreasonable Numerical value it may be considered that being that target data is undesirable.For example, it is directed to data element body temperature, target data input by user It is 100, because body temperature can not possibly rise to 100 degrees Celsius, thus, it is believed that the target data 100 is exactly obviously not conform to The numerical value of reason.
It certainly, should be corresponding with the target data by target data when judging whether target data meets data element requirement Data element in target template is compared.For example, body temperature numerical value input by user, judges whether the numerical value meets the requirements When, it should be by body temperature numerical value comparison corresponding with the requirement of data element body temperature T progress.
S605 determines that target data is valid data.
Another situation, however, it is determined that target data is not valid data, then can be with alert, to prompt user institute The target data of input is not valid data, and the mode of prompt can be that word is reminded, and word exhibition is will be prompted in a manner of pop-up Show to user.
In a kind of embodiment, after determining that target data is valid data, data normalization is carried out to target data Target data, is converted to the data of preset kind by processing.It can conveniently be deposited with the data type in unified goal template in this way Storage and management.
Data normalization processing is judged target data, the data type of target data is determined, if target data Data type it is identical as preset kind, then do not have to carry out data type conversion;If the data type of target data and default class Type differs, then carries out data type conversion, and the data type conversion of target data is become preset kind.
Wherein, the type of data can be integer, long, single-precision floating point type, double-precision floating point type, currency etc., For example, preset kind is integer data, the data type of target data is single-precision floating point type, then by the single precision of target data Floating type is converted to integer.
S606 generates destination document according to target template and target data.
In the present embodiment, step S606 is identical as the step S104 in above-described embodiment, and this will not be repeated here.
In technical solution provided in an embodiment of the present invention, after getting target data, target data is judged, To determine target data as valid data, in this way, not only can be to avoid error in data, but also can effectively improve document structure tree Efficiency needs to regenerate after avoiding document structure tree because of error in data.
In conjunction with above method embodiment, the embodiment of the present invention also provides a kind of document structure tree device, as shown in fig. 7, the dress Set including:
First receiving module 710, the generation for receiving destination document instruct;
Acquisition module 720 obtains the corresponding document template of destination document, makees for the Doctype according to destination document For target template, wherein document template is made of the data element indicated with structural data, and data element is according to based on document mould What the Doctype of the generated document of plate determined;
Obtain module 730, the target data inputted based on target template for obtaining user;
Generation module 740, for according to target template and target data, generating destination document.
Optionally, in a kind of embodiment, document template includes one or more data Layer, and each layer data is by certainly Next layer data of body is constituted, and bottom data are made of data element, and each layer data is structural data;
The attribute of data element is structural data.
Optionally, in a kind of embodiment, which can also include:
Detection module, the Platform Type for detecting the display platform for being shown target template;
Second determining module, the user interface for determining the target template corresponding to Platform Type;
Display module, for showing user interface.
Optionally, in a kind of embodiment, destination document is with any one of Documents:Electronic Nursing case history document, Doctor's electronic medical record document, clinic electronic medical recorder document, emergency treatment electronic medical record document, be hospitalized electronic medical record document and physical examination electronics Case history document.
For the embodiment, since it is substantially similar to the embodiment of the method corresponding to above-mentioned Fig. 1 and Fig. 1, so Describe it is fairly simple, referring to the embodiment of the method corresponding to above-mentioned Fig. 1 and Fig. 1 part illustrate.
In technical solution provided in an embodiment of the present invention, the generation instruction of destination document is received;According to the text of destination document Shelves type obtains the corresponding document template of destination document, as target template, wherein document template is by with structural data table The data element shown is constituted, and data element is determined according to the Doctype based on the generated document of document template;Obtain user's base In the target data of target template input;According to target template and target data, destination document is generated.Through the embodiment of the present invention The technical solution of offer can adjust the target template of structuring, to achieve the purpose that adjust destination document, in this way, user It can voluntarily be adjusted according to demand, and then obtain required destination document, greatly convenience is brought to user.
On the basis of the above embodiments, the embodiment of the present invention also provides a kind of another embodiment party of document structure tree device Formula, as shown in figure 8, the device can also include:
Second receiving module 750, the adjust instruction for receiving the included data element of target template;
Module 760 is adjusted, for according to adjust instruction, the data element for being included to target template to be adjusted;
First judgment module 770, for judging whether the target template after adjustment is effective template, when sentencing for judgment module Disconnected result is when being, triggering obtains module 730.
Optionally, in a kind of embodiment, normal data member is any one of following standard:National standard data element, International standard data element and industry standard data member.
For the embodiment, since it is substantially similar to the embodiment of the method corresponding to above-mentioned Fig. 3 and Fig. 3, so Describe it is fairly simple, referring to the embodiment of the method corresponding to above-mentioned Fig. 3 and Fig. 3 part illustrate.
It, can be according to demand to target after getting target template in technical solution provided in an embodiment of the present invention Template is correspondingly adjusted.In this way, even if workflow changes, user can also voluntarily adjust target template, To adapt to the workflow after changing, and the document corresponding to the workflow after being changed, brought greatly to user Convenience.
Optionally, in a kind of embodiment, the first judgment module 770 may include:
First detection sub-module whether there is syntax error for detecting target masterplate;
Judging submodule, in the absence of being when the testing result of detection sub-module, judge target data member whether be Normal data member, wherein target data member is:Data element in target masterplate;
Decision sub-module, for when the judging result of judging submodule is to be, the target template after judgement adjustment to be that have Imitate template.
For the embodiment, since it is substantially similar to the embodiment of the method corresponding to above-mentioned Fig. 4 and Fig. 4, so Describe it is fairly simple, referring to the embodiment of the method corresponding to above-mentioned Fig. 4 and Fig. 4 part illustrate.
Optionally, in a kind of embodiment, judging submodule may include:
Acquiring unit, the target identification number for obtaining target data member;
First judging unit, the identification number whether belonged in normal data member for judging target identification number;
Second judgment unit, for when the judging result of the first judging unit is to be, judging the ginseng in target data member Whether number information are parameter information in normal data member;
Judging unit, for when the judging result of second judgment unit is to be, judging the template data in target template Member is normal data member.
For the embodiment, since it is substantially similar to the embodiment of the method corresponding to above-mentioned Fig. 5 and Fig. 5, so Describe it is fairly simple, referring to the embodiment of the method corresponding to above-mentioned Fig. 5 and Fig. 5 part illustrate.
It, can be according to demand to target after getting target template in technical solution provided in an embodiment of the present invention Template is correspondingly adjusted.In this way, even if workflow changes, user can also voluntarily adjust target template, To adapt to the workflow after changing, and the document corresponding to the workflow after being changed, brought greatly to user Convenience.
On the basis of above-mentioned Fig. 7 and Fig. 7 corresponding embodiments, the embodiment of the present invention also provides a kind of document structure tree device Another embodiment, as shown in figure 9, the device can also include:
Second judgment module 780, for judging whether target data meets the requirement of corresponding data element in target template;
First determining module 790, the judging result for the second judgment module are to determine that target data is significant figure when being According to.
Optionally, in a kind of embodiment, device can also include:
Target data is converted to preset kind by processing module for carrying out data normalization processing to target data Data.
In technical solution provided in an embodiment of the present invention, after getting target data, target data is judged, To determine target data as valid data, in this way, not only can be to avoid error in data, but also can effectively improve document structure tree Efficiency needs to regenerate after avoiding document structure tree because of error in data.
For the embodiment, since it is substantially similar to the embodiment of the method corresponding to above-mentioned Fig. 6 and Fig. 6, so Describe it is fairly simple, referring to the embodiment of the method corresponding to above-mentioned Fig. 6 and Fig. 6 part illustrate.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in Figure 10, including processor 110 and memory 120,
Memory 120, for storing computer program;
Processor 110 when for executing the program stored on memory 120, realizes following steps:
Receive the generation instruction of destination document;
According to the Doctype of destination document, the corresponding document template of destination document is obtained, as target template, wherein Document template is made of the data element indicated with structural data, and data element is according to the text based on the generated document of document template Shelves type determines;
Obtain the target data that user is inputted based on target template;
According to target template and target data, destination document is generated.
In technical solution provided in an embodiment of the present invention, the generation instruction of destination document is received;According to the text of destination document Shelves type obtains the corresponding document template of destination document, as target template, wherein document template is by with structural data table The data element shown is constituted, and data element is determined according to the Doctype based on the generated document of document template;Obtain user's base In the target data of target template input;According to target template and target data, destination document is generated.Through the embodiment of the present invention The technical solution of offer can adjust the target template of structuring, to achieve the purpose that adjust destination document, in this way, user It can voluntarily be adjusted according to demand, and then obtain required destination document, greatly convenience is brought to user.
Certainly, a kind of electronic equipment provided in an embodiment of the present invention can also be performed any described one in above-described embodiment Kind document structure tree method.It is specifically shown in Fig. 1-Fig. 6 and corresponding embodiment, which is not described herein again.
The communication bus that above-mentioned electronic equipment can also include can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer executes any institute in above-described embodiment A kind of document structure tree method stated.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that computer executes any a kind of document structure tree method in above-described embodiment.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (22)

1. a kind of document structure tree method, which is characterized in that the method includes:
Receive the generation instruction of destination document;
According to the Doctype of the destination document, the corresponding document template of the destination document is obtained, as target template, In, the document template is made of the data element indicated with structural data, the data element, is according to based on the document mould What the Doctype of the generated document of plate determined;
Obtain the target data that user is inputted based on the target template;
According to the target template and the target data, the destination document is generated.
2. according to the method described in claim 1, it is characterized in that,
The document template includes one or more data Layer, and each layer data is made of the next layer data of itself, most Bottom data is made of data element, and each layer data is structural data;
The attribute of the data element is structural data.
3. according to the method described in claim 1, it is characterized in that, the Doctype according to the destination document, obtains The corresponding document template of the destination document, the step of as target template after, further include:
Receive the adjust instruction of the included data element of the target template;
According to the adjust instruction, the data element for being included to the target template is adjusted;
Judge whether the target template after adjustment is effective template;
If the target template after adjustment is effective template, executes and obtain the target that user is inputted based on the target template The step of data.
4. according to the method described in claim 3, it is characterized in that, described judge whether the target template after adjustment is to have The step of imitating template, including:
It detects the target masterplate and whether there is syntax error;
If syntax error is not present in the target masterplate, judge whether target data member is normal data member, wherein the mesh Marking data element is:Data element in the target masterplate;
If target data member is normal data member, the target template after judgement adjustment is effective template.
5. according to the method described in claim 4, it is characterized in that, described judge whether the target data member is normal data The step of member, including:
Obtain the target identification number of the target data member;
Judge the identification number whether target identification number belongs in normal data member;
If the target identification number belongs to the identification number in normal data member, the parameter information in the target data member is judged Whether it is parameter information in the normal data member;
If the parameter information in the target data member is the parameter information in the normal data member, the target mould is judged Target data member in plate is normal data member.
6. according to the method described in claim 1, it is characterized in that, the mesh for obtaining user and being inputted based on the target template After the step of marking data, further include:
Judge whether the target data meets the requirement of corresponding data element in the target template;
If the target data meets the requirement of corresponding data element in the target template, determine that the target data is to have Imitate data.
7. according to the method described in claim 6, it is characterized in that, the step of determination target data is valid data Later, further include:
Data normalization processing is carried out to the target data, the target data is converted to the data of preset kind.
8. according to the method described in claim 1, it is characterized in that, the mesh for obtaining user and being inputted based on the target template Before the step of marking data, further include:
Detect the Platform Type for the display platform for being shown the target template;
Determine the user interface of the target template corresponding to the Platform Type;
Show the user interface.
9. according to claim 1-8 any one of them methods, which is characterized in that the destination document is with appointing in Documents It is a kind of:Electronic Nursing case history document, clinic electronic medical recorder document, emergency treatment electronic medical record document, is hospitalized at doctor's electronic medical record document Electronic medical record document and physical examination electronic medical record document.
10. according to claim 4-7 any one of them methods, which is characterized in that the normal data member is in following standard It is any:National standard data element, international standard data element and industry standard data member.
11. a kind of document structure tree device, which is characterized in that described device includes:
First receiving module, the generation for receiving destination document instruct;
Acquisition module obtains the corresponding document template of the destination document for the Doctype according to the destination document, makees For target template, wherein the document template is made of the data element indicated with structural data, and the data element is basis It is determined based on the Doctype of the generated document of the document template;
Obtain module, the target data inputted based on the target template for obtaining user;
Generation module, for according to the target template and the target data, generating the destination document.
12. according to the devices described in claim 11, which is characterized in that
The document template includes one or more data Layer, and each layer data is made of the next layer data of itself, most Bottom data is made of data element, and each layer data is structural data;
The attribute of the data element is structural data.
13. according to the devices described in claim 11, which is characterized in that described device further includes:
Second receiving module, the adjust instruction for receiving the included data element of the target template;
Module is adjusted, for according to the adjust instruction, the data element for being included to the target template to be adjusted;
First judgment module, for judging whether the target template after adjustment is effective template, when the judgment module Judging result is when being, to trigger the acquisition module.
14. device according to claim 13, which is characterized in that first judgment module includes:
First detection sub-module whether there is syntax error for detecting the target masterplate;
Judging submodule, in the absence of being when the testing result of the detection sub-module, judge target data member whether be Normal data member, wherein the target data member is:Data element in the target masterplate;
Decision sub-module, for when the judging result of the judging submodule is to be, judging the target template after adjustment It is effective template.
15. device according to claim 14, which is characterized in that the judging submodule includes:
Acquiring unit, the target identification number for obtaining the target data member;
First judging unit, the identification number whether belonged in normal data member for judging the target identification number;
Second judgment unit, for when the judging result of first judging unit is to be, judging in the target data member Parameter information whether be parameter information in the normal data member;
Judging unit, for when the judging result of the second judgment unit is to be, judging the template in the target template Data element is normal data member.
16. according to the devices described in claim 11, which is characterized in that described device further includes:
Second judgment module, for judging whether the target data meets wanting for corresponding data element in the target template It asks;
First determining module, the judging result for second judgment module are when being, to determine that the target data is effective Data.
17. device according to claim 16, which is characterized in that described device further includes:
Processing module is converted to the target data default for carrying out data normalization processing to the target data The data of type.
18. according to the devices described in claim 11, which is characterized in that described device further includes:
Detection module, the Platform Type for detecting the display platform for being shown the target template;
Second determining module, the user interface for determining the target template corresponding to the Platform Type;
Display module, for showing the user interface.
19. according to claim 11-18 any one of them devices, which is characterized in that the destination document is in Documents It is any:Electronic Nursing case history document, doctor's electronic medical record document, clinic electronic medical recorder document, emergency treatment electronic medical record document, Electronic medical record document and physical examination electronic medical record document in hospital.
20. according to claim 14-17 any one of them devices, which is characterized in that the normal data member is following standard Any one of:National standard data element, international standard data element and industry standard data member.
21. a kind of electronic equipment, which is characterized in that including processor and memory;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and steps of claim 1-10.
22. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-10 any method and steps when the computer program is executed by processor.
CN201711195150.2A 2017-11-24 2017-11-24 A kind of document structure tree method, apparatus, electronic equipment and storage medium Pending CN108572944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711195150.2A CN108572944A (en) 2017-11-24 2017-11-24 A kind of document structure tree method, apparatus, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711195150.2A CN108572944A (en) 2017-11-24 2017-11-24 A kind of document structure tree method, apparatus, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108572944A true CN108572944A (en) 2018-09-25

Family

ID=63576575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711195150.2A Pending CN108572944A (en) 2017-11-24 2017-11-24 A kind of document structure tree method, apparatus, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108572944A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446496A (en) * 2018-11-05 2019-03-08 北京锐安科技有限公司 A kind of conversion method, device, equipment and the storage medium of test language file
CN110196670A (en) * 2019-05-31 2019-09-03 数坤(北京)网络科技有限公司 A kind of document creation method, equipment and computer readable storage medium
CN110705237A (en) * 2019-09-18 2020-01-17 深圳证券交易所 Automatic document generation method, data processing device, and storage medium
CN110956016A (en) * 2018-09-25 2020-04-03 珠海金山办公软件有限公司 Document content format adjusting method and device and electronic equipment
CN111090976A (en) * 2019-12-18 2020-05-01 国家体育总局体育科学研究所 Method and device for generating inspection document based on dynamic data
CN111292820A (en) * 2020-05-08 2020-06-16 成都金盘电子科大多媒体技术有限公司 Medical informatization data standard system rapid construction system, method and server
CN112732641A (en) * 2020-12-30 2021-04-30 山东浪潮通软信息科技有限公司 Electronic file filing method, device and medium
CN112989603A (en) * 2021-03-12 2021-06-18 北京金山云网络技术有限公司 Workflow adjusting method and device
CN113486642A (en) * 2021-07-26 2021-10-08 上海中通吉网络技术有限公司 Bidding notice generation method and device
CN114360671A (en) * 2020-09-28 2022-04-15 北京金山云网络技术有限公司 Electronic medical record generation method and device, storage medium and electronic device
CN116257579A (en) * 2023-05-15 2023-06-13 北京欧应科技有限公司 Method, computing device and storage medium for text generation of target object
CN116956846A (en) * 2023-07-25 2023-10-27 北京字跳网络技术有限公司 Information processing method, apparatus, electronic device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944162A (en) * 2010-09-02 2011-01-12 江苏大学 Electronic medical record template system based on XML file and manufacturing method of electronic medical record template
CN102819656A (en) * 2011-06-10 2012-12-12 中国科学院深圳先进技术研究院 System and method for generating electronic medical record
CN104598437A (en) * 2013-10-31 2015-05-06 蓝网科技有限公司 Dynamic implementation method of header information in electronic medical record
US20150127386A1 (en) * 2007-04-04 2015-05-07 Orville E. Easterly System and method for the automatic generation of patient-specific and grammatically correct electronic medical records
CN105678107A (en) * 2016-04-15 2016-06-15 江苏曼荼罗软件股份有限公司 Post-structured knowledge discovery method and device for electronic medical record
CN105825066A (en) * 2016-03-25 2016-08-03 东华软件股份公司 Method and device for generating electronic case history
CN106371812A (en) * 2015-07-23 2017-02-01 南京都昌信息科技有限公司 Electronic medical record editing system
CN106709232A (en) * 2016-11-09 2017-05-24 洛阳晶云信息科技有限公司 Display method used for electronic medical record system, data entry method used for electronic medical record system, and medical record template revision method used for electronic medical record system
CN106951703A (en) * 2017-03-15 2017-07-14 长沙富格伦信息科技有限公司 A kind of system and method for generating electronic health record

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150127386A1 (en) * 2007-04-04 2015-05-07 Orville E. Easterly System and method for the automatic generation of patient-specific and grammatically correct electronic medical records
CN101944162A (en) * 2010-09-02 2011-01-12 江苏大学 Electronic medical record template system based on XML file and manufacturing method of electronic medical record template
CN102819656A (en) * 2011-06-10 2012-12-12 中国科学院深圳先进技术研究院 System and method for generating electronic medical record
CN104598437A (en) * 2013-10-31 2015-05-06 蓝网科技有限公司 Dynamic implementation method of header information in electronic medical record
CN106371812A (en) * 2015-07-23 2017-02-01 南京都昌信息科技有限公司 Electronic medical record editing system
CN105825066A (en) * 2016-03-25 2016-08-03 东华软件股份公司 Method and device for generating electronic case history
CN105678107A (en) * 2016-04-15 2016-06-15 江苏曼荼罗软件股份有限公司 Post-structured knowledge discovery method and device for electronic medical record
CN106709232A (en) * 2016-11-09 2017-05-24 洛阳晶云信息科技有限公司 Display method used for electronic medical record system, data entry method used for electronic medical record system, and medical record template revision method used for electronic medical record system
CN106951703A (en) * 2017-03-15 2017-07-14 长沙富格伦信息科技有限公司 A kind of system and method for generating electronic health record

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956016A (en) * 2018-09-25 2020-04-03 珠海金山办公软件有限公司 Document content format adjusting method and device and electronic equipment
CN109446496A (en) * 2018-11-05 2019-03-08 北京锐安科技有限公司 A kind of conversion method, device, equipment and the storage medium of test language file
CN110196670A (en) * 2019-05-31 2019-09-03 数坤(北京)网络科技有限公司 A kind of document creation method, equipment and computer readable storage medium
CN110705237B (en) * 2019-09-18 2023-03-14 深圳证券交易所 Automatic document generation method, data processing device and storage medium
CN110705237A (en) * 2019-09-18 2020-01-17 深圳证券交易所 Automatic document generation method, data processing device, and storage medium
CN111090976A (en) * 2019-12-18 2020-05-01 国家体育总局体育科学研究所 Method and device for generating inspection document based on dynamic data
CN111090976B (en) * 2019-12-18 2022-11-15 国家体育总局体育科学研究所 Method and device for generating inspection document based on dynamic data
CN111292820B (en) * 2020-05-08 2020-08-21 成都金盘电子科大多媒体技术有限公司 Medical informatization data standard system rapid construction system, method and server
CN111292820A (en) * 2020-05-08 2020-06-16 成都金盘电子科大多媒体技术有限公司 Medical informatization data standard system rapid construction system, method and server
CN114360671A (en) * 2020-09-28 2022-04-15 北京金山云网络技术有限公司 Electronic medical record generation method and device, storage medium and electronic device
CN112732641A (en) * 2020-12-30 2021-04-30 山东浪潮通软信息科技有限公司 Electronic file filing method, device and medium
CN112989603A (en) * 2021-03-12 2021-06-18 北京金山云网络技术有限公司 Workflow adjusting method and device
CN112989603B (en) * 2021-03-12 2024-04-05 北京金山云网络技术有限公司 Workflow adjusting method and device
CN113486642A (en) * 2021-07-26 2021-10-08 上海中通吉网络技术有限公司 Bidding notice generation method and device
CN116257579A (en) * 2023-05-15 2023-06-13 北京欧应科技有限公司 Method, computing device and storage medium for text generation of target object
CN116257579B (en) * 2023-05-15 2023-08-11 北京欧应科技有限公司 Method, computing device and storage medium for text generation of target object
CN116956846A (en) * 2023-07-25 2023-10-27 北京字跳网络技术有限公司 Information processing method, apparatus, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN108572944A (en) A kind of document structure tree method, apparatus, electronic equipment and storage medium
JP7420898B2 (en) System for displaying medical monitoring data
US11031129B2 (en) Systems, methods, user interfaces and analysis tools for supporting user-definable rules and smart rules and smart alerts notification engine
CN104969228B (en) Computer implemented method, system and the device of electronic patient care
CA2903378C (en) Systems and methods for integrating, unifying and displaying patient data across healthcare continua
US11706304B1 (en) System for setting and controlling functionalities of mobile devices
CN104463456A (en) Patient-oriented medical prescription auditing system and method
US10957091B1 (en) Perioperative mobile communication system and method
US11551815B2 (en) Risk monitoring scores
US20170329920A1 (en) Medical device with context-specific interfaces
US20140350962A1 (en) Generating reviews of medical image reports
US12020785B2 (en) Systems and methods for transmitting clinical data from one or more sending applications to a dictation system
US20090094052A1 (en) System and method for dynamically generated clinical form elements
Courtney et al. Enabling health and healthcare through ICT: available, tailored and closer
KR20160118739A (en) Method for generating a user interface and apparatus for generating a user interface thereof
Sloane et al. ISO/IEEE 11073, IHE, and HL7: fostering standards-based safe, reliable, secure and interoperable biomedical technologies
JP6497037B2 (en) Patient information display program, patient information display method, and patient information display device
US20140006051A1 (en) Emergency medical profiles
US20180025115A1 (en) Methods, apparatuses and computer program products for providing an annotated clinical data management process
Waegemann The Future of mHealth
JP2015084195A (en) Inpatient's vital information system
JP2016051365A (en) Home care support server, home care support terminal, home care support method, and home care support program, and recording medium storing home care support program
KR20240070029A (en) System for preventing fall of pediatric inpatient based medical record
JPWO2020085144A1 (en) Nursing support equipment, nursing support methods, programs

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180925

RJ01 Rejection of invention patent application after publication