CN110309319A - Medical industry dedicated rules resolver and medical service system - Google Patents

Medical industry dedicated rules resolver and medical service system Download PDF

Info

Publication number
CN110309319A
CN110309319A CN201910481035.4A CN201910481035A CN110309319A CN 110309319 A CN110309319 A CN 110309319A CN 201910481035 A CN201910481035 A CN 201910481035A CN 110309319 A CN110309319 A CN 110309319A
Authority
CN
China
Prior art keywords
rule
medical
code
unit
storage unit
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
CN201910481035.4A
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.)
Suzhou Huibang Medical Technology Co Ltd
Original Assignee
Suzhou Huibang Medical 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 Suzhou Huibang Medical Technology Co Ltd filed Critical Suzhou Huibang Medical Technology Co Ltd
Priority to CN201910481035.4A priority Critical patent/CN110309319A/en
Publication of CN110309319A publication Critical patent/CN110309319A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/211Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/253Grammatical analysis; Style critique
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Medical Informatics (AREA)
  • Epidemiology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention, which provides one kind, can help the medical staff of no programming basis to carry out the medical industry dedicated rules resolver that simple rule is established and safeguarded, it is arranged in medical service system and is held by medical staff, it communicates and connect with the medical server that the medical institutions for providing medical services are held, rule statements text for being inputted to medical staff with natural language is parsed and generates corresponding rule code to allow medical server to be called, it is characterized in that, it include: medical jargons or word storage unit, grammer storage unit, picture storage unit, input display unit, rule statements processing unit, rule syntax analyzes generating unit, term class retrieves acquisition unit, rule code generating unit and rule code storage unit.

Description

Medical industry dedicated rules resolver and medical service system
Technical field
The invention belongs to field of medical service, and in particular to a kind of medical industry dedicated rules resolver and medical services System.
Background technique
With the development of Information technology, more and more systems can according to preset rules to data carry out judgement or It is processing, to realize the judgement of a large amount of logical relations.Usually, rule is carried out by the professional with software knowledge Setting, however in some fields for needing flexibly to lay down a regulation, regular continuous modification can be to the maintenance work of professional Great pressure is brought, and generates and largely recompiles cost.
Therefore, a kind of more flexible rule editing method is come into being, i.e. regulation engine (such as Drools).Rule is drawn Holding up can reduce in the exploitation and maintenance of service logic, thus by a kind of foundation of simple edit mode implementation rule with And maintenance.
It needs to use by the professional with certain procedures editor basis however, above-mentioned regulation engine remains unchanged.? When carrying out new rule foundation and old rule maintenance, the professional is needed to check and set rule.But In some amateur fields, such as medical industry, usual medical staff does not have program editing basis, and therefore, it is difficult to special The rule of industry is modified.
Meanwhile even if being managed using above-mentioned regulation engine to rule by professional, once the rule established Scale becomes larger, and the difficulty of maintenance can still be made to become larger therewith, at this point, it has not just existed with respect to the advantage of hard coded, needs specially Industry personnel spend a large amount of energy to carry out regular maintenance.
Summary of the invention
To solve the above problems, providing a kind of simple rule foundation of the medical staff's progress that can help no programming basis And the medical industry dedicated rules resolver of maintenance, present invention employs following technical solutions:
The present invention provides a kind of medical industry dedicated rules resolvers, are arranged in medical service system and by medical care Personnel are held, and are communicated and are connect with the medical server that the medical institutions for providing medical services are held, for medical care people Member with natural language input rule statements text parsed and generate corresponding rule code to allow medical server into Row calls characterized by comprising medical jargons or word storage unit, grammer storage unit, picture storage unit, input display unit, regular language Sentence processing unit, rule syntax analysis generating unit, term class retrieval acquisition unit, rule code generating unit and rule code storage Portion, wherein the term class that medical jargons or word storage unit is stored with multiple medical jargons or words and defines previously according to corresponding medical jargons or word, Grammer storage unit is stored with statement analytical method predetermined, and picture storage unit is stored with rule statements input picture, input Display unit shows that rule statements input picture allows user's input rule statement text, and rule statements processing unit is to rule statements text Punctuate processing is carried out to obtain rule statements, rule syntax is analyzed generating unit and is used for according to statement analytical method to rule statements Analysis is carried out to generate the syntax tree comprising at least one term phrase and corresponding syntactic structure, term class retrieves acquisition unit Retrieval is successively carried out to medical jargons or word storage unit according to each term phrase to obtain corresponding term class as class to be associated, Rule code generating unit according to class to be associated and syntax tree create-rule code, rule code storage unit by rule code and Corresponding rule statements text carries out corresponding storage to allow medical server to call.
Medical industry dedicated rules resolver provided by the invention, can also have such technical characteristic, wherein language Sentence analysis method is the BNF grammer for including multiple condition keywords and syntactic structure corresponding with each condition keyword.
Medical industry dedicated rules resolver provided by the invention, can also have such technical characteristic, wherein rule Then syntactic analysis generating unit includes sentence participle unit, for carrying out participle to rule statements to obtain multiple target phrases; Condition phrase determines screening unit, for successively being carried out to each target phrase according to the condition keyword in statement analytical method Determine to filter out corresponding condition phrase;Syntax tree generation unit, for according to statement analytical method and condition phrase Corresponding syntactic structure generative grammar tree.
Medical industry dedicated rules resolver provided by the invention, can also have such technical characteristic, wherein rule Then code building portion includes rule code storage unit, is stored with structural code corresponding with syntactic structure;Association code is deposited Storage unit is stored with the association code for being associated term class;Rule code retrieves acquiring unit, for according to syntactic structure Retrieval is carried out to obtain corresponding structural code as structural code to be combined to rule code storage unit;Association code is raw At unit, for generating corresponding class association code according to association code and class to be associated;Rule code combining unit, is used for Traversal is carried out to syntax tree to successively merge structural code to be combined and class association code to obtain regular generation Code.
Medical industry dedicated rules resolver provided by the invention, can also have such technical characteristic, wherein draw Face storage unit also stores regular display picture, and input display unit display rule display picture simultaneously shows regular generation in this screen The strictly all rules statement text stored in code storage unit allows medical staff to check.
Medical industry dedicated rules resolver provided by the invention, can also have such technical characteristic, wherein solution Analyse side control unit, wherein picture storage unit is also stored with redundant rule elimination picture, and input display unit is in display rule display picture When, it also shows delete button and medical staff is allowed to click, once medical staff clicks delete button, input display unit just shows rule It then deletes picture and shows that each rule statements text allows medical staff to select in this screen, once medical staff deletes in rule As soon as parsing side control unit controls rule code storage unit for medical staff except selecting a rule statements text in picture and confirming Selected rule statements text and corresponding rule code are deleted.
The present invention also provides a kind of medical service systems characterized by comprising medical industry dedicated rules parsing dress It sets, is held by medical staff, the rule statements text for being inputted to medical staff with natural language is parsed and generated Corresponding rule code is to allow medical server to be called;And medical server, by the therapeutic machine of offer medical services Structure is held, for being called to be held according to rule code to the rule code in medical industry dedicated rules resolver The corresponding judgement of row, communicates with medical industry dedicated rules resolver and connect, wherein medical industry dedicated rules parsing dress It is set to medical industry dedicated rules resolver described in any one as above.
Invention action and effect
Medical industry dedicated rules resolver according to the present invention, due to passing through rule statements processing unit to medical staff The natural language of input carries out preliminary punctuate and handles to obtain rule statements, further by rule syntax analyze generating unit according to Statement analytical method analyze to rule statements and generative grammar tree, enables rule code generating unit according to the syntax tree And the term class stored in medical jargons or word storage unit generates corresponding rule code, it is achieved that being inputted according to medical staff Rule statements text automatically generate the function of respective rule code, to allow the medical staff of not no programming basis also can letter Single ground generates rule.The regular generating mode of medical industry dedicated rules resolver of the present invention is simple, maintenance process Intuitively, working efficiency of the medical staff when carrying out rule process can be improved well.
Detailed description of the invention
Fig. 1 is the structural block diagram of medical service system in the embodiment of the present invention;
Fig. 2 is the schematic diagram of syntax tree in the embodiment of the present invention;And
Fig. 3 is the flow chart of regular generating process in the embodiment of the present invention.
Specific embodiment
In order to be easy to understand the technical means, the creative features, the aims and the efficiencies achieved by the present invention, tie below Examples and drawings are closed to be specifically addressed medical industry dedicated rules resolver of the invention with medical service system.
<embodiment>
Fig. 1 is the structural block diagram of medical service system in the embodiment of the present invention.
As shown in Figure 1, medical service system 100 include medical industry dedicated rules resolver 1, medical server 2 with And communication network 3.
In the present embodiment, medical industry dedicated rules resolver 1 is the computer that a medical staff holds, medical treatment clothes Business device 2 is the central server for providing medical institutions' (such as civilian hospital) of medical services and holding, the dedicated rule of the medical industry Then resolver 1 is communicated with medical server 2 by communication network 3 and is connect.
In the present embodiment, the rule statements that medical industry dedicated rules resolver 1 is used to input medical staff are carried out Parsing is to generate corresponding rule code.In the present embodiment, rule statements text is the text information of natural language form, example Such as, rule statements text can be " such as patient has history prescription, then passes through ".
In the present embodiment, medical server 2 is used for the rule code stored in medical industry dedicated rules resolver 1 It is called, to execute corresponding judgement according to rule code.For example, being provided with a Checking prescription in medical server 2 The corresponding program of system, is stored with that " such as patient has at history with rule statements text in medical industry dedicated rules resolver 1 Side, then pass through " corresponding rule code, at this point, when prescription of the Checking prescription system to a patient is audited, it can basis Rule code " such as patient has history prescription, then passes through " determines whether the prescription of patient can pass through audit.
Medical industry dedicated rules resolver 1 includes medical jargons or word storage unit 11, grammer storage unit 12, at rule statements Reason portion 13, rule syntax analysis generating unit 14, term class retrieval acquisition unit 15, rule code generating unit 16, rule code storage Portion 17, picture storage unit 18, input display unit 19, parsing side communication unit 20 and parsing side control unit 21.
Wherein, parsing side communication unit 20 be used for carry out medical industry dedicated rules resolver 1 each component parts it Between and the data exchange between medical industry dedicated rules resolver 1 and other devices.Parsing side control unit 21 includes The computer program controlled for each component parts work to medical industry dedicated rules resolver 1.
Medical jargons or word storage unit 11 is used for the rule for storing multiple medical jargons or words and defining previously according to corresponding medical jargons or word Then class.
In the present embodiment, medical jargons or word includes that common medical terms, diagnostic message and drug are believed in the medical field Breath.Medical terms are the medical terms vocabulary such as " patient ", " operation ";Diagnostic message includes sufferer information (such as sufferer name, body Part card number, age etc.), be based on ICD-10 (International Classification of Diseases International Classification of The classification of diseases method for the international uniform that Diseases, WHO are formulated) medical diagnosis on disease information and prescription information etc.;Drug letter Breath is the information such as nomenclature of drug, price, the introduction of drug.For example, in the rule statements text of above-illustrated, " such as patient has history Prescription then passes through " in, " patient " and " history prescription " is medical jargons or word.
In the present embodiment, the term class of predefined includes each attribute corresponding with the medical jargons or word, and multiple The medical jargons or word of identical meanings can correspond to an identical term class.For example, when medical jargons or word is " patient " or " patient " When, the code of corresponding term class is as follows:
As can be seen that including title, age and the call method at age of patient in the term class of " patient ".Work as doctor When there is vocabulary " patient " in the rule statements text of shield personnel input, rule code generating unit 16 will be generated to such progress The respective code of calling.
Grammer storage unit 12 is for storing preset statement analytical method.
In the present embodiment, statement analytical method is established based on BNF grammer, in this method comprising multiple condition keywords and Syntactic structure corresponding with each condition keyword, such as:
S::=<Statements><Conclution>
Statements::=<Statement>*
<Statement>: :=<ConditionStatement>|<Expression>", "
<ConditionStatement>: :=" as "<Expression>" if "<Statements>| " if "< Expression>" then "<Statements>| " as "<Expression>" and "<Expression>" if "<Expression> | if " as "<ConditionStatement><Statements>
<Conclution>: :=" passing through " | " not passing through "
<Expression>: :=<number>|<variable>|<string>|<Expression>< OwnerOperator><Expression>|<Expression><BinaryOperator><Expression>|"("< Expression>")"
<BinaryOperator>: :=" adding " | " subtracting " | " multiplied by " | " divided by " | " being greater than " | " being less than " | " being more than or equal to " | " being less than or equal to " | " being " | " and "
<OwnerOperator>: :=" having " | " possessing " | " obtaining "
Wherein, it is syntactic structure by "<>" mark, is condition keyword by " " " " mark.For example, < ConditionStatement>define the incidence relation being likely to occur in rule statements,<Expression>defines sentence In the condition that is likely to occur,<Conclution>should be executed after indicating eligible as a result,<BinaryOperator>is indicated Judgement or calculating in condition,<OwnerOperator>indicate the state possessed.It is fixed in BNF grammer in the present embodiment Justice has the vocabulary for not having storage in the medical jargons or words such as conjunction, auxiliary word, preposition storage unit 11.
Rule statements processing unit 13 is for carrying out punctuate processing to the rule statements text that medical staff inputs, to obtain Rule statements.
In the present embodiment, rule statements processing unit 13 carries out at punctuate rule statements text by conventional punctuate method Reason, details are not described herein.
Rule syntax is analyzed generating unit 14 and is used for according to the statement analytical method stored in grammer storage unit 12 to regular language Sentence carries out analysis to generate corresponding syntax tree.It includes sentence participle unit 141, condition that the rule syntax, which analyzes generating unit 14, Phrase determines screening unit 142 and syntax tree generation unit 143.
Sentence participle unit 141 is used to segment to the rule statements that the processing of rule statements processing unit 13 obtains to obtain To multiple target phrases.
Condition phrase determines that screening unit 142 is used for according to the condition keyword in statement analytical method successively to each mesh Mark phrase carries out determining to filter out corresponding condition phrase.
Syntax tree generation unit 143 is used to generate language according to statement analytical method and the corresponding syntactic structure of condition phrase Method tree.
In the present embodiment, when rule syntax analysis generating unit 14 analyzes rule statements, sentence participle unit 141 First rule statements are segmented and obtained with the target set of words being made of multiple target phrases, is then determined by condition phrase Screening unit 142 is screened to the target set of words therefore, it is determined that condition word group present in it, is further given birth to by syntax tree Syntactic structure generative grammar tree corresponding with condition phrase is obtained according to statement analytical method at unit 143.
In the present embodiment, syntax tree includes multiple regular phrases in rule statements and the language for carrying out the rule phrase Method structure.For example, being obtained after being analyzed the rule statements text " such as patient has history prescription, then passes through " of above-illustrated Syntax tree as shown in Fig. 2, " patient " and " history prescription " be term phrase, " passing through " be judge result.
Term class retrieval acquisition unit 15 is for successively retrieving medical jargons or word storage unit 11 according to each term phrase To obtain corresponding term class as class to be associated.
Rule code generating unit 16 is used for according to class to be combined and syntax tree create-rule code.Rule code generating unit 16 include rule code storage unit 161, association code storage unit 162, rule code retrieval acquiring unit 163, association generation Code generation unit 164 and rule code combining unit 165.
Rule code storage unit 161 is for being stored with structural code corresponding with syntactic structure.
Association code storage unit 162 is for being stored with the association code for being associated term class.
In the present embodiment, structural code and association code are to preset.Structural code be it is multiple, respectively with sentence point All kinds of syntactic structures in analysis method are corresponding, wherein for some syntactic structures, different condition keywords may be corresponded to not Same structural code.Association code is one, for being associated with class to be associated (i.e. term class).
Rule code retrieval acquiring unit 163 is for retrieving rule code storage unit 161 according to syntactic structure To obtain corresponding structural code as structural code to be combined.
Association code generation unit 164 be used for according to the association code stored in association code storage unit 162 and to Association class generates corresponding class association code.
In the present embodiment, association code generation unit 164 obtains from association code storage unit 162 and replicates association generation Code, is further copied to predeterminated position for the class name for adding class to be associated, to complete the generation of class association code.
Rule code combining unit 165 is used to carry out syntax tree traversal to successively by structural code to be combined and class Association code merges to obtain rule code.
In the present embodiment, rule code combining unit 165 traverses syntax tree, successively according to each layer of grammer knot Corresponding structural code to be combined is copied to corresponding position by structure, further when traversing regular phrase, is closed with regard to corresponding class Join Code copying to corresponding position, finally, after traversal, obtains rule corresponding with rule statements text with regard to merging Code.
Rule code storage unit 17 is used to rule code carrying out corresponding storage with rule statements text.
Picture storage unit 18 for be stored with operation selection picture, rule statements input picture, rule display picture and Redundant rule elimination picture.
Operation selection picture is used to show when medical staff starts medical industry dedicated rules resolver 1 and allows medical care The following operation to be performed of personnel selection is hence into functional picture corresponding with each operation.
Rule statements input picture is used to select rule to show when establishing operation in medical staff and makes the medical staff defeated Enter rule statements text.
In the present embodiment, rule statements input picture contains at least one Text Entry and an ACK button, text This input frame for allowing medical staff's input rule statement text, ACK button be used to allow medical staff's confirmation input content simultaneously Respective members executing rule generating process is controlled by parsing side control unit 21 after validation.
Rule display picture is used for the display when rule operation is checked in medical staff's selection and shows rule in this screen The strictly all rules statement text stored in code storage unit 17 allows medical staff to check.
In the present embodiment, rule display picture also shows delete button, for allowing medical staff by clicking the deletion Button is hence into redundant rule elimination picture.
Redundant rule elimination picture is used to show when medical staff clicks delete button and shows rule code in this screen The strictly all rules statement text stored in storage unit 17 allows medical staff is selected to delete.
In the present embodiment, after medical staff selectes a rule statements text in redundant rule elimination picture, rule is deleted Except picture will show that a deletion confirmation prompt allows medical staff's confirmation to delete, after medical staff's confirmation, side is parsed Control unit 21 rule statements text and corresponding rule code that just control rule code storage unit 17 selectes medical staff It is deleted.
In other embodiments, rule display picture and redundant rule elimination picture can also be same picture, by aobvious Corresponding delete button is set by the strictly all rules statement text shown, so as to allow medical staff when checking directly to needs The rule statements of deletion are deleted.
Input display unit 19 is for showing above-mentioned picture, so that it is corresponding man-machine to allow medical staff to complete by these pictures Interaction.
Fig. 3 is the flow chart of regular generating process in the embodiment of the present invention.
As shown in figure 3, the regular generating process of medical industry dedicated rules resolver 1 includes the following steps:
Step S1, input display unit 19 show that rule statements input picture allows medical staff's input rule statement text to go forward side by side Row confirmation, subsequently into step S2;
Step S2, rule statements processing unit 13 are used to carry out punctuate processing to the rule statements text inputted in step S1, And rule statements are obtained, subsequently into step S3;
Step S3, rule syntax are analyzed generating unit 14 and are carried out according to statement analytical method to the rule statements that step S2 is obtained Analysis is to generate corresponding syntax tree, subsequently into step S4;
Step S4, the term phrase in syntax tree that term class retrieval acquisition unit 15 is generated according to step S3 is to medical jargons or word Storage unit 11 is retrieved and obtains corresponding term class as class to be associated, subsequently into step S5;
Step S5, the class to be associated that rule code generating unit 16 is obtained according to the step S3 syntax tree generated and step S4 Corresponding rule code is generated, subsequently into step S6;
Step S6, the rule that rule code storage unit 17 will generate in the rule statements text inputted in step S1 and step S5 Then code carries out corresponding storage, subsequently into end state.
Embodiment action and effect
According to medical industry dedicated rules resolver provided in this embodiment, due to passing through rule statements processing unit to doctor The natural language of shield personnel input carries out preliminary punctuate and handles to obtain rule statements, is further analyzed and is generated by rule syntax Portion analyze to rule statements according to statement analytical method and generative grammar tree, enables rule code generating unit according to this The term class stored in syntax tree and medical jargons or word storage unit generates corresponding rule code, it is achieved that according to medical care people The rule statements text of member's input automatically generates the function of respective rule code, to allow the medical staff of not no programming basis Also simply rule can be generated.The regular generating mode of medical industry dedicated rules resolver of the present invention is simple, ties up Shield process is intuitive, can improve working efficiency of the medical staff when carrying out rule process well.
In embodiment, due to also having rule display picture and redundant rule elimination picture, can allow medical staff check with The relevant rule statements text of rule code, therefore medical staff more can intuitively be allowed to understand in medical industry dedicated rules solution The rule code stored in analysis apparatus.It is managed by rule code of the rule statements to storage, is understood convenient for medical staff Rule code and rule code is safeguarded, the maintenance efficiency of rule code is improved and reduces maintenance difficulties.
It, can by being called to the rule code stored in medical industry dedicated rules resolver in embodiment Medical service system is allowed neatly to execute corresponding processing judgement according to the rule of medical staff's setting, such as carrying out drug The restriction of price, for the restriction of prescription pharmaceutical quantities, medical staff can set according to actual needs, to not only facilitate Rule is added as needed in medical staff, also facilitates medical staff and directly ties up to the decision rule of medical service system Shield.
Above-described embodiment is only used for the specific embodiment illustrated the present invention, and the present invention is not limited to the above embodiments Description range.

Claims (7)

1. a kind of medical industry dedicated rules resolver is arranged in medical service system and is held by medical staff, with The medical server that the medical institutions of offer medical services are held communicates connection, is used for the medical staff with natural language The rule statements text of speech input is parsed and generates corresponding rule code to allowing the medical server to be called, It is characterised by comprising:
Medical jargons or word storage unit, grammer storage unit, picture storage unit, input display unit, rule statements processing unit, rule syntax point Generating unit, term class retrieval acquisition unit, rule code generating unit and rule code storage unit are analysed,
Wherein, the medical jargons or word storage unit is stored with multiple medical jargons or words and defines previously according to the corresponding medical jargons or word Term class,
The grammer storage unit is stored with statement analytical method predetermined,
The picture storage unit is stored with rule statements input picture,
The input display unit shows that rule statements input picture allows user's input rule statement text,
The rule statements processing unit carries out punctuate to the rule statements text and handles to obtain rule statements,
Rule syntax analysis generating unit be used for according to the statement analytical method to the rule statements carry out analysis to The syntax tree comprising at least one term phrase and corresponding syntactic structure is generated,
The term class retrieval acquisition unit successively retrieves the medical jargons or word storage unit according to each term phrase To obtain the corresponding term class as class to be associated,
The rule code generating unit generates the rule code according to the class to be associated and the syntax tree,
The rule code storage unit by the rule code and the corresponding rule statements text carry out corresponding storage from And the medical server is allowed to call.
2. medical industry dedicated rules resolver according to claim 1, it is characterised in that:
Wherein, the statement analytical method be include multiple condition keywords and corresponding with each condition keyword The BNF grammer of syntactic structure.
3. medical industry dedicated rules resolver according to claim 2, it is characterised in that:
Wherein, the rule syntax analysis generating unit includes
Sentence participle unit, for carrying out participle to the rule statements to obtain multiple target phrases;
Condition phrase determine screening unit, for according to the condition keyword in the statement analytical method successively to each The target phrase carries out determining to filter out corresponding condition phrase;
Syntax tree generation unit, for according to the statement analytical method and the corresponding syntactic structure of the condition phrase Generate the syntax tree.
4. medical industry dedicated rules resolver according to claim 1, it is characterised in that:
Wherein, the rule code generating unit includes
Rule code storage unit is stored with structural code corresponding with the syntactic structure;
Association code storage unit is stored with the association code for being associated the term class;
Rule code retrieve acquiring unit, for according to the syntactic structure to the rule code storage unit retrieved from And corresponding structural code is obtained as structural code to be combined;
Association code generation unit is associated with generation for generating corresponding class according to the association code and the class to be associated Code;
Rule code combining unit, for the syntax tree carry out traversal to successively by the structural code to be combined and The class association code merges to obtain the rule code.
5. medical industry dedicated rules resolver according to claim 1, it is characterised in that:
Wherein, the picture storage unit also stores regular display picture,
The input display unit shows the rule display picture and is shown in the rule code storage unit in this screen and deposited All rule statements texts of storage allow the medical staff to check.
6. medical industry dedicated rules resolver according to claim 5, which is characterized in that further include:
Side control unit is parsed,
Wherein, the picture storage unit is also stored with redundant rule elimination picture,
The input display unit also shows delete button and allows medical staff's point when showing the rule display picture Choosing,
Once the medical staff clicks the delete button, the input display unit just show the redundant rule elimination picture and Show that each rule statements text allows the medical staff to select in the picture,
Once the medical staff selectes a rule statements text in the redundant rule elimination picture and confirms, the parsing side Control unit just controls the rule statements text that the rule code storage unit selectes the medical staff and corresponding The rule code is deleted.
7. a kind of medical service system characterized by comprising
Medical industry dedicated rules resolver, is held by medical staff, for defeated with natural language to the medical staff The rule statements text entered is parsed and generates corresponding rule code to allow the medical server to be called;And
Medical server is held by the medical institutions of offer medical services, for parsing to the medical industry dedicated rules The rule code in device is called to execute corresponding judgement according to the rule code, with the medical industry Dedicated rules resolver communicates connection,
Wherein, the medical industry dedicated rules resolver is that medical industry described in any one of claim 1~6 is special With rule parsing device.
CN201910481035.4A 2019-06-04 2019-06-04 Medical industry dedicated rules resolver and medical service system Pending CN110309319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910481035.4A CN110309319A (en) 2019-06-04 2019-06-04 Medical industry dedicated rules resolver and medical service system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910481035.4A CN110309319A (en) 2019-06-04 2019-06-04 Medical industry dedicated rules resolver and medical service system

Publications (1)

Publication Number Publication Date
CN110309319A true CN110309319A (en) 2019-10-08

Family

ID=68075215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910481035.4A Pending CN110309319A (en) 2019-06-04 2019-06-04 Medical industry dedicated rules resolver and medical service system

Country Status (1)

Country Link
CN (1) CN110309319A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113517048A (en) * 2021-07-12 2021-10-19 挂号网(杭州)科技有限公司 Medical record data verification method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391730A (en) * 2014-08-03 2015-03-04 浙江网新恒天软件有限公司 Software source code language translation system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391730A (en) * 2014-08-03 2015-03-04 浙江网新恒天软件有限公司 Software source code language translation system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113517048A (en) * 2021-07-12 2021-10-19 挂号网(杭州)科技有限公司 Medical record data verification method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8370352B2 (en) Contextual searching of electronic records and visual rule construction
US8549353B2 (en) Batch processing error handling modes
US8464229B2 (en) Creation of form-based software application in a graphical user interface (GUI) environment
EP2343641B1 (en) Applying rules to data
EP2369502A2 (en) SQL generation
US20110161916A1 (en) Transformation of data between hierarchical data formats
US20070245308A1 (en) Flexible XML tagging
US8732209B2 (en) Computerized system and method for rendering reports in a healthcare environment
Higo et al. On software maintenance process improvement based on code clone analysis
EP2341476A1 (en) Transaction regions in methods of processing data
US8732596B2 (en) Transformation of hierarchical data formats using graphical rules
EP2357554A1 (en) Processing collections of data items
Shao et al. Extracting business rules from information systems
CN115390821B (en) Natural language code-free programming-oriented software application construction method
US20110161934A1 (en) Generating and monitoring data items
CN110889013B (en) Data association method, device, server and storage medium based on XML
WO2021013871A1 (en) Computer implemented method, computer program and physical computing environment
CN110309319A (en) Medical industry dedicated rules resolver and medical service system
KR101783791B1 (en) Compression apparatus and method for managing provenance
Videira et al. A linguistic patterns approach for requirements specification
JP3758282B2 (en) Information retrieval device
CN115905856A (en) Model training method, device, terminal and storage medium based on human-computer interaction
Zan et al. CodeS: Natural Language to Code Repository via Multi-Layer Sketch
Yasdi A conceptual design aid environment for expert-database systems
Votruba Structured knowledge acquisition for asbru

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191008

WD01 Invention patent application deemed withdrawn after publication