CN114373183A - Prescription auditing system - Google Patents

Prescription auditing system Download PDF

Info

Publication number
CN114373183A
CN114373183A CN202210035270.0A CN202210035270A CN114373183A CN 114373183 A CN114373183 A CN 114373183A CN 202210035270 A CN202210035270 A CN 202210035270A CN 114373183 A CN114373183 A CN 114373183A
Authority
CN
China
Prior art keywords
prescription
comparison module
identification area
coordinate
comparison
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
CN202210035270.0A
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 Yuanxin Huibao Technology Co ltd
Original Assignee
Beijing Yuanxin Huibao 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 Yuanxin Huibao Technology Co ltd filed Critical Beijing Yuanxin Huibao Technology Co ltd
Priority to CN202210035270.0A priority Critical patent/CN114373183A/en
Publication of CN114373183A publication Critical patent/CN114373183A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H70/00ICT specially adapted for the handling or processing of medical references
    • G16H70/40ICT specially adapted for the handling or processing of medical references relating to drugs, e.g. their side effects or intended usage

Abstract

The invention relates to a prescription auditing system, which comprises an acquisition module, a checking module and a processing module, wherein the acquisition module is used for acquiring user information and prescription information; the classification module is connected with the acquisition module and is used for classifying the prescription according to the prescription information acquired by the acquisition module; the comparison module is connected with the classification module and used for judging the authenticity of the prescription; the checking module is connected with the comparison module and used for acquiring the judgment result of the comparison module so as to check the prescription; the recording module is connected with the auditing module and comprises at least one recording unit for recording the auditing result and reducing and avoiding the medicine purchasing cost of the user who passes the auditing; the database module is connected with the recording module and comprises at least one database unit for storing data generated when the system runs.

Description

Prescription auditing system
Technical Field
The invention relates to the technical field of data processing, in particular to a prescription auditing system.
Background
At present, two methods are mainly used for recipe entry, one is manual entry, the other is Recognition of a recipe through a Character vision Recognition technology, namely an Optical Character Recognition (OCR) technology, and then automatic entry, and in the prior art, the authenticity of the recipe cannot be accurately checked during recipe entry, so that the accuracy of recipe authenticity Recognition is low.
Disclosure of Invention
Therefore, the invention provides a prescription auditing system which is used for solving the problem that the authenticity of a prescription cannot be accurately audited when the prescription is recorded in the prior art.
To achieve the above object, the present invention provides a prescription auditing system, including:
the acquisition module comprises at least one acquisition unit and is used for acquiring user information and prescription information;
the classification module is connected with the acquisition module and comprises at least one classification unit for classifying the prescriptions according to the prescription information acquired by the acquisition module, wherein the prescriptions comprise electronic prescriptions and non-electronic prescriptions, the non-electronic prescriptions further comprise common prescriptions and printed prescriptions, and the classification module classifies the non-electronic prescriptions according to fonts in prescription pictures;
the comparison module is connected with the classification module and comprises at least one comparison unit for judging the authenticity of the prescription, wherein the comparison module divides the prescription picture into a plurality of identification areas by reading a keyword, when the division is finished, the comparison module compares any one of the identification areas with a corresponding area in a preset template, if the comparison module judges that the actual contact ratio of the prescription is less than the preset contact ratio, the comparison module judges the prescription as a false prescription, if the comparison module judges that the actual contact ratio of the prescription is within the preset contact ratio range, the comparison module judges the prescription to be further judged, and if the comparison module judges that the prescription is greater than the preset contact ratio, the comparison module judges the prescription as a true prescription;
the auditing module is connected with the comparison module and comprises at least one auditing unit for acquiring the judgment result of the comparison module so as to audit the prescription, when the prescription is a true prescription, the auditing module judges that the audit is passed, and when the prescription is a false prescription, the auditing module judges that the audit is not passed;
the recording module is connected with the auditing module and comprises at least one recording unit for recording the auditing result and reducing and avoiding the medicine purchasing cost of the user who passes the auditing;
the database module is connected with the recording module and comprises at least one database unit for storing data generated when the system runs, wherein the database module also pre-stores a prescription template and updates and stores the prescription template in a preset period
Further, when the prescriptions are compared, the comparison module identifies the keywords in the prescriptions, divides the prescriptions into a plurality of identification areas according to identification results, selects a corresponding preset template, compares the prescriptions with the corresponding preset template to calculate the actual contact ratio A when the comparison module finishes dividing the identification areas of the prescriptions, and compares the actual contact ratio A with the preset contact ratio A0 to judge the authenticity of the prescriptions;
the preset contact ratio A0 comprises a first contact ratio A1 and a second contact ratio A2, wherein A1 < A2; specifically, in the embodiment of the present invention, the first overlap ratio is set to 96.3%, and the second overlap ratio is set to 98.7%; the person skilled in the art can also finely adjust the numerical value of the preset contact ratio according to the actual situation;
when A is less than A1, the comparison module judges that the prescription is a pseudo prescription and sends the judgment result to the auditing module;
when A is not less than A1 and not more than A2, the comparison module judges that the authenticity of the prescription needs to be further judged;
when A is larger than A2, the comparison module judges that the prescription is a true prescription and sends the judgment result to the auditing module.
Further, when the comparison module determines to further determine the prescription, the comparison module establishes a coordinate system with any corner point of the prescription, wherein the origin coordinates are (X10, Y10), when the establishment is completed, the comparison module compares the coordinates of any one identification area with the coordinates of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinates of any identification area and the coordinates of the corresponding identification area in the preset template is more than or equal to 98 percent, the comparison module judges that the position of the identification area meets the standard, and continuously comparing until the coincidence degree of the coordinates of all the identification areas and the coordinates of the corresponding identification areas in the preset template is more than or equal to 98 percent, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinates of any one identification area and the coordinates of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a pseudo prescription;
the comparison module selects the 2 nd corner point in the prescription in the clockwise direction with the current coordinate origin to establish a coordinate system, wherein the origin coordinates are (X20, Y20), when the establishment is completed, the comparison module compares the coordinates of any one identification area with the coordinates of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinates of any identification area and the coordinates of the corresponding identification area in the preset template is more than or equal to 98 percent, the comparison module judges that the position of the identification area meets the standard, and continuously comparing until the coincidence degree of the coordinates of all the identification areas and the coordinates of the corresponding identification areas in the preset template is more than or equal to 98 percent, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinates of any one identification area and the coordinates of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a pseudo prescription;
the comparison module selects the nth corner point in the prescription clockwise by using the current coordinate origin to establish a coordinate system, wherein the origin coordinate is (Xn0, Yn0), when the establishment is completed, the comparison module compares the coordinate of any identification area with the coordinate of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the position of the identification area conforms to the standard and continues to compare until the coincidence degree of the coordinates of all the identification areas and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a false prescription, wherein, n is less than or equal to 4.
Further, when the comparison module judges that the prescription is a false prescription, the comparison module selects the 2 nd corner point in the prescription in the anticlockwise direction from the original point of the current coordinate to establish a coordinate system, wherein the coordinate of the original point is (X '20, Y' 20), when the establishment is finished, the comparison module compares the coordinate of any identification area with the coordinate of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the position of the identification area meets the standard and continuously compares until the coincidence degree of the coordinates of all identification areas and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the prescription is a true prescription, and when the coincidence degree of the coordinates of any identification area and the coordinate of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a pseudo prescription;
the comparison module selects the nth corner point in the prescription clockwise by using the current coordinate origin to establish a coordinate system, wherein the origin coordinate is (X 'n 0, Y' n0), when the establishment is completed, the comparison module compares the coordinate of any identification area with the coordinate of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the position of the identification area meets the standard and continues to compare until the coincidence degree of the coordinates of all the identification areas and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a false prescription, wherein n is less than or equal to 4.
Further, the comparison module is further provided with a maximum comparison time R0, when the comparison module performs identification area coordinate coincidence comparison, and the comparison module completes one comparison of the identification areas, the comparison module records the actual comparison time as R ═ 1, when the comparison module completes j comparisons of the identification areas, the actual comparison time of the comparison module is recorded as R ═ j, and when R ═ R0, the comparison module determines that the prescription is a pseudo prescription.
Further, when the comparison module judges that the prescription is further judged and the prescription is a common prescription, the comparison module obtains the handwriting actual similarity Q of a third identification area and a fourth identification area, compares the handwriting actual similarity with a preset handwriting similarity Q0, and judges the authenticity of the prescription according to a comparison result, wherein the third identification area is an Rp area, and the fourth identification area is a signature area;
when Q is larger than or equal to Q0, the comparison module judges that the prescription is a true prescription;
when Q is less than Q0, the comparison module judges the prescription as a pseudo prescription.
Further, when the comparison module determines that the prescription is a pseudo prescription, the comparison module obtains an actual handwriting similarity Q1 in a preset template, and corrects the actual handwriting similarity Q in the prescription according to the actual handwriting similarity Q1, and the comparison module records the corrected actual handwriting similarity Q in the prescription as Qa and sets Qa-qx (Q0/Q1).
Further, the comparison module is further provided with a maximum value delta Qmax of the change of the actual handwriting similarity Q, when the comparison module needs to correct the actual handwriting similarity in the prescription, the comparison module calculates a difference value delta Q of the actual handwriting similarity in the prescription, compares the delta Q with the delta Qmax, sets the difference value delta Q as | Qa-Q |, when the delta Q is greater than or equal to the delta Qmax, the comparison module judges that the prescription is a false prescription, and when the delta Q is less than the delta Qmax, the comparison module judges that the actual handwriting similarity in the prescription is corrected to Qa.
Further, when the comparison module corrects the actual handwriting similarity to Qa, the comparison module compares Qa with a preset handwriting similarity Q0, when Qa is larger than or equal to Q0, the comparison module judges that the prescription is a true prescription and sends the prescription to the database module so as to update a preset template in the database module, and when Qa is smaller than Q0, the comparison module judges that the prescription is a false prescription.
The prescription information acquisition module is used for acquiring prescription information of a prescription, the prescription information acquisition module is used for acquiring prescription information of the prescription, the prescription information of the prescription information is used for acquiring prescription information of the prescription information, the evaluation module is used for acquiring the prescription information of the prescription information, and the prescription information of the prescription medicine, and the evaluation module is used for judging whether the prescription is a true prescription.
Compared with the prior art, the recipe verification method has the advantages that the recipes uploaded by the user are compared through the comparison module, the authenticity of the recipes is judged according to the comparison result, and the recipes are compared in real time through the comparison module.
Furthermore, the invention sets the preset coincidence degree as two specific values in the comparison module, compares the actual prescription with the corresponding preset template through the comparison module to calculate the actual coincidence degree, and compares the actual coincidence degree with the preset coincidence degree respectively, when the actual coincidence degree is less than the first preset coincidence degree, the comparison module judges the prescription as a forged prescription or a trimmed prescription, the comparison module judges the prescription as a fake prescription, when the actual coincidence degree is between the first coincidence degree and the second coincidence degree, the comparison module can not judge the truth of the prescription only through the actual coincidence degree, and further judges the truth of the prescription, when the actual coincidence degree is greater than the second preset coincidence degree, the comparison module judges the prescription as a true prescription without forging or trimming, therefore, the prescription can be judged more accurately, the prescription auditing efficiency can be effectively improved while the auditing time is effectively saved, and the accuracy of the auditing result is further ensured.
Furthermore, when the comparison module further judges the authenticity of the prescription, the comparison module establishes a coordinate system by any corner point of the prescription, can accurately master the position of the identification area in the prescription by establishing the coordinate system, compares all coordinates of any identification area with corresponding positions in a preset template, can accurately master the position of the identification area by comparing the coordinate coincidence degree of the identification area by the comparison module, judges the prescription to be a true prescription when the coincidence degree of any identification area is smaller than the preset value, judges the prescription to be forged or trimmed and judges the prescription to be the prescription, establishes the coordinate system by 4 corner points of the prescription respectively by the comparison module for comparison, and can accurately judge the authenticity of the prescription, therefore, the prescription can be judged more accurately, the prescription auditing efficiency can be effectively improved while the auditing time is effectively saved, and the accuracy of the auditing result is further ensured.
Furthermore, the comparison module is also provided with preset handwriting similarity, when the comparison module judges that the prescription is a common prescription, the authenticity of the prescription is judged by comparing the handwriting, when the actual handwriting similarity is larger than or equal to the preset value, the comparison module judges that the prescription is a true prescription, and when the actual handwriting similarity is smaller than the preset value, the comparison module judges that the prescription is forged and judges that the prescription is a false prescription, so that the more accurate prescription is judged, the checking time is effectively saved, the checking efficiency of the prescription can be effectively improved, and the accuracy of the checking result is further ensured.
Furthermore, the comparison module of the invention can judge the authenticity of the prescription more accurately by mastering the actual handwriting similarity in the preset template corresponding to the prescription, and correcting the actual handwriting similarity in the prescription when comparing the real handwriting similarity with the preset value when the handwriting similarity in the preset template is smaller, thereby effectively improving the prescription checking efficiency and further ensuring the accuracy of the checking result.
Furthermore, the comparison module is also provided with a maximum change value of the actual handwriting similarity Q, the comparison module judges that the handwriting in the prescription is forged and judges that the prescription is a false prescription by setting the maximum change value of the actual handwriting similarity Q, and corrects the actual handwriting similarity to a corresponding value when the correction value of the actual handwriting similarity meets the standard, so that the authenticity of the prescription can be more accurately judged by correcting the actual handwriting similarity in the prescription, the checking time can be effectively saved, the checking efficiency of the prescription can be effectively improved, and the accuracy of the checking result is further ensured.
Furthermore, the comparison module of the embodiment of the invention compares the corrected actual handwriting similarity with the preset handwriting similarity, and when the corrected actual handwriting similarity meets the standard, the prescription is sent to the database module to update the preset template in the database module, so that the template pre-stored in the database can be updated in real time, the authenticity of the prescription can be judged more accurately, the prescription auditing efficiency can be effectively improved while the auditing time is effectively saved, and the accuracy of the auditing result is further ensured.
Drawings
FIG. 1 is a schematic diagram of a prescription auditing system according to the present invention;
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, a schematic structural diagram of the prescription auditing system according to the embodiment of the present invention includes:
the acquisition module comprises at least one acquisition unit and is used for acquiring user information and prescription information, wherein the user information comprises but is not limited to name, age, identity card number and the like, and the prescription information is a prescription picture uploaded by a user; specifically, when the obtaining module obtains the prescription, the obtaining module obtains the prescription through an uploading path of the prescription. In this embodiment, when the user uploads the prescription using the mobile phone, the obtaining module may obtain an uploading path of the prescription, for example, when the user uploads the prescription, the user may select to select from a mobile phone album and upload the prescription by taking a picture, and those skilled in the art can understand that the user may also upload information using other mobile terminals such as a tablet computer;
the classification module is connected with the acquisition module and comprises at least one classification unit used for classifying prescriptions according to prescription information acquired by the acquisition module, wherein the prescription types comprise electronic prescriptions and non-electronic prescriptions, and the non-electronic prescriptions further comprise common prescriptions and printing prescriptions, wherein the classification module classifies the non-electronic prescriptions according to fonts in prescription pictures; and when the classifying module classifies the prescriptions, the classifying module classifies the prescriptions according to the real-time prescription uploading path acquired by the acquiring module. In the embodiment, when the path of uploading the prescription by the user is photographing and uploading, the classification module preliminarily judges the prescription as a non-electronic prescription and accurately classifies the prescription according to the font in the prescription picture;
the comparison module is connected with the classification module and comprises at least one comparison unit for judging the authenticity of the prescription, wherein the comparison module divides the prescription picture into a plurality of identification areas by reading a keyword, when the division is finished, the comparison module compares any one of the identification areas with a corresponding area in a preset template, if the comparison module judges that the actual contact ratio of the prescription is less than the preset contact ratio, the comparison module judges the prescription as a false prescription, if the comparison module judges that the actual contact ratio of the prescription is within the preset contact ratio range, the comparison module judges the prescription to be further judged, and if the comparison module judges that the prescription is greater than the preset contact ratio, the comparison module judges the prescription as a true prescription; specifically, in this embodiment, the keywords are "hospital", "name", "Rp", and "signature", and when the identification area is divided, the comparison module identifies the prescription uploaded by the user, and divides the identification area into four areas according to the real-time identification result, which are respectively a first identification area, a second identification area, a third identification area, and a fourth identification area, and when the identification is completed, the comparison module reads a corresponding preset template stored in the database module according to the identified keywords, and compares the prescription uploaded by the user with a corresponding area in the preset template to determine the authenticity of the prescription according to the comparison result;
the auditing module is connected with the comparison module and comprises at least one auditing unit for acquiring the judgment result of the comparison module so as to audit the prescription, when the prescription is a true prescription, the auditing module judges that the audit is passed, and when the prescription is a false prescription, the auditing module judges that the audit is not passed;
the recording module is connected with the auditing module and comprises at least one recording unit for recording the auditing result and reducing and avoiding the medicine purchasing cost of the user who passes the auditing;
and the database module is connected with the recording module and comprises at least one database unit for storing data generated when the system runs, wherein the database module also pre-stores the prescription template and updates and stores the prescription template in a preset period.
Specifically, the embodiment of the invention compares prescriptions uploaded by users through the comparison module, judges the authenticity of the prescriptions according to comparison results, and compares the prescriptions in real time through the comparison module.
Specifically, when prescription comparison is carried out, the comparison module identifies key words in the prescription, divides the prescription into a plurality of identification areas according to an identification result, selects a corresponding preset template, compares the prescription with the corresponding preset template to calculate an actual contact ratio A when the comparison module finishes dividing the identification area of the prescription, and compares the actual contact ratio A with a preset contact ratio A0 to judge the authenticity of the prescription;
the preset contact ratio A0 comprises a first contact ratio A1 and a second contact ratio A2, wherein A1 < A2; specifically, in the embodiment of the present invention, the first overlap ratio is set to 96.3%, and the second overlap ratio is set to 98.7%; the person skilled in the art can also finely adjust the numerical value of the preset contact ratio according to the actual situation;
when A is less than A1, the comparison module judges that the prescription is a pseudo prescription and sends the judgment result to the auditing module;
when A is not less than A1 and not more than A2, the comparison module judges that the authenticity of the prescription needs to be further judged;
when A is larger than A2, the comparison module judges that the prescription is a true prescription and sends the judgment result to the auditing module.
Specifically, in the comparison module of the embodiment of the present invention, the preset coincidence degree is set to two specific values, the actual coincidence degree is calculated by comparing the actual prescription with the corresponding preset template through the comparison module, the actual coincidence degree is compared with the preset coincidence degree, when the actual coincidence degree is smaller than the first preset coincidence degree, the comparison module determines that the prescription is a forged prescription or a trimmed prescription, the comparison module determines that the prescription is a fake prescription, when the actual coincidence degree is between the first coincidence degree and the second coincidence degree, the comparison module cannot determine the authenticity of the prescription only through the actual coincidence degree, and further determines the authenticity of the prescription, when the actual coincidence degree is larger than the second preset coincidence degree, the comparison module determines that the prescription is not forged or trimmed, the comparison module determines the prescription as a true prescription, therefore, the prescription can be judged more accurately, the prescription auditing efficiency can be effectively improved while the auditing time is effectively saved, and the accuracy of the auditing result is further ensured.
Specifically, when the comparison module determines to further determine the prescription, the comparison module establishes a coordinate system with any corner point of the prescription, wherein the origin coordinates are (X10, Y10), when the establishment is completed, the comparison module compares the coordinates of any one identification area with the coordinates of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinates of any identification area and the coordinates of the corresponding identification area in the preset template is more than or equal to 98 percent, the comparison module judges that the position of the identification area meets the standard, and continuously comparing until the coincidence degree of the coordinates of all the identification areas and the coordinates of the corresponding identification areas in the preset template is more than or equal to 98 percent, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinates of any one identification area and the coordinates of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a pseudo prescription;
the comparison module selects the 2 nd corner point in the prescription in the clockwise direction with the current coordinate origin to establish a coordinate system, wherein the origin coordinates are (X20, Y20), when the establishment is completed, the comparison module compares the coordinates of any one identification area with the coordinates of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinates of any identification area and the coordinates of the corresponding identification area in the preset template is more than or equal to 98 percent, the comparison module judges that the position of the identification area meets the standard, and continuously comparing until the coincidence degree of the coordinates of all the identification areas and the coordinates of the corresponding identification areas in the preset template is more than or equal to 98 percent, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinates of any one identification area and the coordinates of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a pseudo prescription;
the comparison module selects the nth corner point in the prescription clockwise by using the current coordinate origin to establish a coordinate system, wherein the origin coordinate is (Xn0, Yn0), when the establishment is completed, the comparison module compares the coordinate of any identification area with the coordinate of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the position of the identification area conforms to the standard and continues to compare until the coincidence degree of the coordinates of all the identification areas and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a false prescription, wherein, n is less than or equal to 4.
Specifically, in this embodiment, the comparison module establishes a coordinate system with 4 corner points in the prescription as original points, and the original point of the coordinate system in the preset template corresponds to the original point of the coordinate in the prescription, and when the comparison module uses the corner point at the lower left in the prescription as the original point, the comparison module uses the clockwise direction of the corner point at the lower seat as the original point of the coordinate for the second comparison.
Specifically, when the comparison module of the embodiment of the present invention further determines the authenticity of the prescription, the comparison module establishes a coordinate system with any corner point of the prescription, can accurately grasp the position of the identification area in the prescription by establishing the coordinate system, compares all coordinates of any identification area with corresponding positions in the preset template, can accurately grasp the position of the identification area by comparing the coordinate coincidence degree of the identification area with the comparison module, determines the prescription as a true prescription when the coincidence degree of any identification area is less than the preset value, determines the prescription as a prescription after being forged or trimmed, and determines the prescription as a prescription, and establishes the coordinate system with 4 corner points of the prescription for comparison by the comparison module, the prescription verification method can accurately judge the authenticity of the prescription, so that the prescription can be judged more accurately, the prescription verification efficiency can be effectively improved while the verification time is effectively saved, and the accuracy of the verification result is further ensured.
Specifically, when the comparison module determines that the prescription is a pseudo prescription, the comparison module selects the 2 nd corner point in the prescription in the counterclockwise direction from the current coordinate origin to establish a coordinate system, wherein the origin coordinate is (X '20, Y' 20), when the establishment is completed, the comparison module compares the coordinates of any one of the identification areas with the coordinates of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinates of any one of the identification areas with the coordinates of the corresponding identification area in the preset template is greater than or equal to 98%, the comparison module determines that the position of the identification area meets the standard and continues to compare until the coincidence degree of the coordinates of all the identification areas with the coordinates of the corresponding identification area in the preset template is greater than or equal to 98%, the comparison module determines that the prescription is a true prescription, and when the coincidence degree of the coordinates of any one of the identification areas with the coordinates of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a pseudo prescription;
the comparison module selects the nth corner point in the prescription clockwise by using the current coordinate origin to establish a coordinate system, wherein the origin coordinate is (X 'n 0, Y' n0), when the establishment is completed, the comparison module compares the coordinate of any identification area with the coordinate of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the position of the identification area meets the standard and continues to compare until the coincidence degree of the coordinates of all the identification areas and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a false prescription, wherein n is less than or equal to 4.
Specifically, the comparison module is further provided with a maximum comparison number R0, when the comparison module performs identification area coordinate coincidence comparison, and the comparison module completes one comparison of the identification areas, the comparison module records the actual comparison number as R ═ 1, when the comparison module completes j comparison of the identification areas, the actual comparison number of the comparison module is recorded as R ═ j, and when R ═ R0, the comparison module determines that the prescription is a pseudo prescription. In this embodiment, the maximum number of comparisons is preferably set to 5.
Specifically, when the comparison module determines that the prescription is further determined and the prescription is a common prescription, the comparison module obtains the handwriting actual similarity Q of a third recognition area and a fourth recognition area, compares the handwriting actual similarity with a preset handwriting similarity Q0, and determines the authenticity of the prescription according to a comparison result, wherein the third recognition area is an Rp area, and the fourth recognition area is a signature area;
when Q is larger than or equal to Q0, the comparison module judges that the prescription is a true prescription;
when Q is less than Q0, the comparison module judges the prescription as a pseudo prescription.
Specifically, the preset handwriting similarity Q0 in this embodiment is 97.3%.
Specifically, the comparison module in the embodiment of the invention is further provided with a preset handwriting similarity, when the comparison module judges that the prescription is the common prescription, the authenticity of the prescription is judged by comparing the handwriting, when the actual handwriting similarity is greater than or equal to the preset value, the comparison module judges that the prescription is the true prescription, and when the actual handwriting similarity is less than the preset value, the comparison module judges that the prescription is forged and judges that the prescription is the false prescription, so that the more accurate prescription is judged, the checking time is effectively saved, the checking efficiency of the prescription can be effectively improved, and the accuracy of the checking result is further ensured.
Specifically, when the comparison module determines that the prescription is a pseudo prescription, the comparison module obtains an actual handwriting similarity Q1 in a preset template, and corrects the actual handwriting similarity Q in the prescription according to the actual handwriting similarity Q1, and the comparison module records the corrected actual handwriting similarity Q in the prescription as Qa and sets Qa to qx (Q0/Q1).
Specifically, the comparison module of the embodiment of the invention can judge the authenticity of the prescription more accurately by grasping the actual handwriting similarity in the preset template corresponding to the prescription, and when the handwriting similarity in the preset template is smaller, the true handwriting similarity is larger relative to the preset value when the comparison of the prescription handwriting similarity is carried out, so that the correction of the actual handwriting similarity in the prescription can be used for correcting the actual handwriting similarity in the prescription, thereby effectively saving the checking time, effectively improving the checking efficiency of the prescription and further ensuring the accuracy of the checking result.
Specifically, the comparison module is further provided with a maximum value delta Qmax of the change of the actual handwriting similarity Q, when the comparison module needs to correct the actual handwriting similarity in the prescription, the comparison module calculates a difference value delta Q of the actual handwriting similarity in the prescription, compares the delta Q with the delta Qmax, sets the delta Q as | Qa-Q |, when the delta Q is greater than or equal to the delta Qmax, the comparison module judges that the prescription is a false prescription, and when the delta Q is less than the delta Qmax, the comparison module judges that the actual handwriting similarity in the prescription is corrected to Qa.
Specifically, the comparison module in the embodiment of the invention is further provided with a maximum change value of the actual handwriting similarity Q, and by setting the maximum change value of the actual handwriting similarity Q, when the correction value of the actual handwriting similarity is too large, the comparison module judges that the handwriting in the prescription is forged, judges that the prescription is a pseudo-prescription, and corrects the actual handwriting similarity to a corresponding value when the correction value of the actual handwriting similarity meets the standard, so that the authenticity of the prescription can be more accurately judged by correcting the actual handwriting similarity in the prescription, the checking efficiency of the prescription can be effectively improved while the checking time is effectively saved, and the accuracy of the checking result is further ensured.
Specifically, when the comparison module corrects the actual handwriting similarity to Qa, the comparison module compares Qa with a preset handwriting similarity Q0, when Qa is larger than or equal to Q0, the comparison module judges that the prescription is a true prescription and sends the prescription to the database module so as to update a preset template in the database module, and when Qa is smaller than Q0, the comparison module judges that the prescription is a false prescription.
Specifically, the comparison module of the embodiment of the invention compares the corrected actual handwriting similarity with the preset handwriting similarity, and when the corrected actual handwriting similarity meets the standard, the prescription is sent to the database module to update the preset template in the database module, so that the template pre-stored in the database can be updated in real time, the authenticity of the prescription can be more accurately judged, the prescription auditing efficiency can be effectively improved while the auditing time is effectively saved, and the accuracy of the auditing result is further ensured.
Specifically, the prescription auditing system further comprises an evaluation module which is connected with the acquisition module and comprises at least one evaluation unit used for judging the authenticity of the prescription according to the prescription information, wherein the prescription signal further comprises prescription diagnosis information and prescription medicine information, the evaluation module acquires the prescription diagnosis information and the prescription medicine information in the prescription information and judges whether the prescription diagnosis information and the prescription medicine information are consistent, when the prescription diagnosis information and the prescription medicine information are consistent, the evaluation module judges that the prescription is a true prescription, and when the prescription diagnosis information and the prescription medicine information are inconsistent, the evaluation module judges that the prescription is a false prescription.
Specifically, in the embodiment of the present invention, the evaluation module acquires the diagnostic information in the prescription and the drug information in the prescription, and performs matching according to the functional indications of the drugs and the diagnostic information, and when the diagnostic information is inconsistent with the functional indications of the drugs in the prescription, the evaluation module determines that the prescription is a pseudo-prescription.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A prescription audit system, comprising:
the acquisition module comprises at least one acquisition unit and is used for acquiring user information and prescription information;
the classification module is connected with the acquisition module and comprises at least one classification unit for classifying the prescriptions according to the prescription information acquired by the acquisition module, wherein the prescriptions comprise electronic prescriptions and non-electronic prescriptions, the non-electronic prescriptions further comprise common prescriptions and printed prescriptions, and the classification module classifies the non-electronic prescriptions according to fonts in prescription pictures;
the comparison module is connected with the classification module and comprises at least one comparison unit for judging the authenticity of the prescription, wherein the comparison module divides the prescription picture into a plurality of identification areas by reading a keyword, when the division is finished, the comparison module compares any one of the identification areas with a corresponding area in a preset template, if the comparison module judges that the actual contact ratio of the prescription is less than the preset contact ratio, the comparison module judges the prescription as a false prescription, if the comparison module judges that the actual contact ratio of the prescription is within the preset contact ratio range, the comparison module judges the prescription to be further judged, and if the comparison module judges that the prescription is greater than the preset contact ratio, the comparison module judges the prescription as a true prescription;
the auditing module is connected with the comparison module and comprises at least one auditing unit for acquiring the judgment result of the comparison module so as to audit the prescription, when the prescription is a true prescription, the auditing module judges that the audit is passed, and when the prescription is a false prescription, the auditing module judges that the audit is not passed;
the recording module is connected with the auditing module and comprises at least one recording unit for recording the auditing result and reducing and avoiding the medicine purchasing cost of the user who passes the auditing;
and the database module is connected with the recording module and comprises at least one database unit for storing data generated when the system runs, wherein the database module also pre-stores the prescription template and updates and stores the prescription template in a preset period.
2. The prescription auditing system of claim 1, where in prescription comparison, the comparison module identifies keywords in the prescription, divides the prescription into a number of identification zones according to the identification result, and selects a corresponding preset template, and when the comparison module completes the division of the prescription identification zone, the comparison module compares the prescription with the corresponding preset template to calculate an actual coincidence degree a, and compares the actual coincidence degree a with a preset coincidence degree a0 to determine the authenticity of the prescription;
the preset contact ratio A0 comprises a first contact ratio A1 and a second contact ratio A2, wherein A1 < A2; specifically, in the embodiment of the present invention, the first overlap ratio is set to 96.3%, and the second overlap ratio is set to 98.7%;
when A is less than A1, the comparison module judges that the prescription is a pseudo prescription and sends the judgment result to the auditing module;
when A is not less than A1 and not more than A2, the comparison module judges that the authenticity of the prescription needs to be further judged;
when A is larger than A2, the comparison module judges that the prescription is a true prescription and sends the judgment result to the auditing module.
3. The prescription auditing system of claim 2, when the comparison module determines that the prescription is to be further determined, the comparison module establishes a coordinate system with any corner point of the prescription, where the origin coordinate is (X10, Y10), when the establishment is completed, the comparison module compares the coordinates of any one of the identification areas with the coordinates of the corresponding identification area in the preset template in turn, when the coincidence degree of the coordinates of any one identification area with the coordinates of the corresponding identification area in the preset template is greater than or equal to 98%, the comparison module determines that the position of the identification area meets the standard and continues the comparison until the coincidence degree of the coordinates of all the identification areas with the coordinates of the corresponding identification area in the preset template is greater than or equal to 98%, the comparison module determines that the prescription is a true prescription, and when the coincidence degree of the coordinates of any one identification area with the coordinates of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a pseudo prescription;
the comparison module selects the 2 nd corner point in the prescription clockwise by using the current coordinate origin to establish a coordinate system, wherein the origin coordinate is (X20, Y20), when the establishment is completed, the comparison module compares the coordinate of any identification area with the coordinate of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the position of the identification area conforms to the standard and continuously compares until the coincidence degree of the coordinates of all the identification areas and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the prescription is a true prescription, and when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a false prescription;
the comparison module selects the nth corner point in the prescription clockwise by using the current coordinate origin to establish a coordinate system, wherein the origin coordinate is (Xn0, Yn0), when the establishment is completed, the comparison module compares the coordinate of any identification area with the coordinate of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the position of the identification area conforms to the standard and continues to compare until the coincidence degree of the coordinates of all the identification areas and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a false prescription, wherein, n is less than or equal to 4.
4. The prescription auditing system of claim 3, characterized in that when the comparison module determines that the prescription is a false prescription, the comparison module selects the 2 nd corner point in the prescription in a counterclockwise direction from the origin of the current coordinates to establish a coordinate system, wherein the origin coordinates are (X '20, Y' 20), when the establishment is completed, the comparison module compares the coordinates of any one of the identification areas with the coordinates of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinates of any one of the identification areas with the coordinates of the corresponding identification area in the preset template is greater than or equal to 98%, the comparison module determines that the position of the identification area meets the standard and continues to perform the comparison until the coincidence degree of the coordinates of all the identification areas with the coordinates of the corresponding identification area in the preset template is greater than or equal to 98%, the comparison module determines that the prescription is a true prescription, and when the coincidence degree of the coordinates of any one of the identification areas with the coordinates of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a pseudo prescription;
the comparison module selects the nth corner point in the prescription clockwise by using the current coordinate origin to establish a coordinate system, wherein the origin coordinate is (X 'n 0, Y' n0), when the establishment is completed, the comparison module compares the coordinate of any identification area with the coordinate of the corresponding identification area in the preset template in sequence, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the position of the identification area meets the standard and continues to compare until the coincidence degree of the coordinates of all the identification areas and the coordinate of the corresponding identification area in the preset template is more than or equal to 98%, the comparison module judges that the prescription is a true prescription, when the coincidence degree of the coordinate of any identification area and the coordinate of the corresponding identification area in the preset template is less than 98%, the comparison module judges that the prescription is a false prescription, wherein n is less than or equal to 4.
5. The prescription auditing system of claim 4, where in the comparison module is further configured with a maximum comparison time R0, and when the comparison module performs identification area coordinate coincidence comparison, and when the comparison module completes one comparison of the identification areas, the comparison module records the actual comparison time as R ═ 1, when the comparison module completes j comparisons of the identification areas, the comparison module records the actual comparison time as R ═ j, and when R ═ R0, the comparison module determines that the prescription is a false prescription.
6. The prescription auditing system of claim 1, where when the comparison module determines that the prescription is further determined and the prescription is a normal prescription, the comparison module obtains the actual similarity Q of the handwriting in a third identification area and a fourth identification area, compares the actual similarity of the handwriting with a preset handwriting similarity Q0, and determines the authenticity of the prescription according to the comparison result, where the third identification area is an Rp area and the fourth identification area is a signature area;
when Q is larger than or equal to Q0, the comparison module judges that the prescription is a true prescription;
when Q is less than Q0, the comparison module judges the prescription as a pseudo prescription.
7. The prescription auditing system of claim 6, wherein when the comparison module determines that the prescription is a pseudo prescription, the comparison module obtains the actual handwriting similarity Q1 in a preset template and corrects the actual handwriting similarity Q in the prescription according to the actual handwriting similarity Q1, and the comparison module records the corrected actual handwriting similarity Q in the prescription as Qa and sets Qa as Q x (Q0/Q1).
8. The prescription auditing system according to claim 7, where the comparison module further has a maximum value Δ Qmax of the variation of the actual handwriting similarity Q, and when the comparison module needs to correct the actual handwriting similarity in the prescription, the comparison module calculates the difference Δ Q of the actual handwriting similarity in the prescription and compares Δ Q with Δ Qmax, and sets that Δ Q is | Qa-Q |, when Δ Q is ≧ Δ Qmax, the comparison module determines that the prescription is a false prescription, and when Δ Q is less than Δ Qmax, the comparison module determines that the actual handwriting similarity in the prescription is corrected to Qa.
9. The prescription auditing system of claim 8, where the comparison module compares Qa to a preset handwriting similarity Q0 when the comparison module corrects the actual handwriting similarity to Qa, where the comparison module determines that the prescription is a true prescription and sends the prescription to the database module to update the preset template in the database module when Qa is greater than or equal to Q0, and where the comparison module determines that the prescription is a false prescription when Qa is less than Q0.
10. The prescription auditing system of claim 1, further comprising an evaluation module connected to the acquisition module and including at least one evaluation unit for determining the authenticity of the prescription based on the prescription information, wherein the prescription signals further include prescription diagnostic information and prescription drug information, the evaluation module acquires the prescription diagnostic information and prescription drug information in the prescription information and determines whether the prescription diagnostic information and the prescription drug information are consistent, when the prescription diagnostic information and the prescription drug information are consistent, the evaluation module determines that the prescription is a true prescription, and when the prescription diagnostic information and the prescription drug information are inconsistent, the evaluation module determines that the prescription is a false prescription.
CN202210035270.0A 2022-01-13 2022-01-13 Prescription auditing system Pending CN114373183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210035270.0A CN114373183A (en) 2022-01-13 2022-01-13 Prescription auditing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210035270.0A CN114373183A (en) 2022-01-13 2022-01-13 Prescription auditing system

Publications (1)

Publication Number Publication Date
CN114373183A true CN114373183A (en) 2022-04-19

Family

ID=81143975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210035270.0A Pending CN114373183A (en) 2022-01-13 2022-01-13 Prescription auditing system

Country Status (1)

Country Link
CN (1) CN114373183A (en)

Similar Documents

Publication Publication Date Title
US6430306B2 (en) Systems and methods for identifying images
US7330570B2 (en) Face collation apparatus and biometrics data collation apparatus
US6614919B1 (en) Method of extracting iris region and individual identification device
US9569678B2 (en) Method and system to authenticate an object
US7804982B2 (en) Systems and methods for managing and detecting fraud in image databases used with identification documents
US20050063569A1 (en) Method and apparatus for face recognition
US20070036400A1 (en) User authentication using biometric information
CN110688901A (en) Face recognition method and device
KR102009721B1 (en) Method for identifying a plurality of drugs using a drug image and drug information
JP2002222424A (en) Fingerprint matching system
KR20090074185A (en) Personal authentication system and personal authentication method
WO2020211387A1 (en) Electronic contract displaying method and apparatus, electronic device, and computer readable storage medium
KR101268718B1 (en) Comparison apparatus
US20060120578A1 (en) Minutiae matching
EP2084677A1 (en) Biometric matching method and apparatus
US20120020535A1 (en) Unique, repeatable, and compact biometric identifier
CN111144372A (en) Vehicle detection method, device, computer equipment and storage medium
CN114373183A (en) Prescription auditing system
CN113947776A (en) Method and device for determining structured prescription information of prescription image
CN109508699B (en) Old man&#39;s seat occupies warning system and corresponding terminal
CN117372515A (en) Self-adaptive deviation rectifying control system
JP3995181B2 (en) Individual identification device
CN110378425B (en) Intelligent image comparison method and system
CN110765232A (en) Data processing method, data processing device, computer equipment and storage medium
CN111192689B (en) Patient identification method based on medical data

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