CN110264139A - Monitor drug data bank real-time judge analysis method - Google Patents
Monitor drug data bank real-time judge analysis method Download PDFInfo
- Publication number
- CN110264139A CN110264139A CN201910546912.1A CN201910546912A CN110264139A CN 110264139 A CN110264139 A CN 110264139A CN 201910546912 A CN201910546912 A CN 201910546912A CN 110264139 A CN110264139 A CN 110264139A
- Authority
- CN
- China
- Prior art keywords
- drug
- storage
- nomenclature
- database
- validity period
- 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
Links
- 239000003814 drug Substances 0.000 title claims abstract description 361
- 229940079593 drug Drugs 0.000 title claims abstract description 330
- 238000004458 analytical method Methods 0.000 title claims abstract description 15
- 239000000047 product Substances 0.000 claims abstract description 47
- 239000013589 supplement Substances 0.000 claims abstract description 26
- 238000012856 packing Methods 0.000 claims abstract description 14
- 238000012544 monitoring process Methods 0.000 claims abstract description 13
- 230000009469 supplementation Effects 0.000 claims abstract description 4
- 238000004519 manufacturing process Methods 0.000 claims description 27
- 238000012545 processing Methods 0.000 claims description 21
- 238000004364 calculation method Methods 0.000 claims description 15
- 239000011159 matrix material Substances 0.000 claims description 14
- 239000003640 drug residue Substances 0.000 claims description 6
- 230000000295 complement effect Effects 0.000 claims description 4
- 229940002612 prodrug Drugs 0.000 claims description 4
- 239000000651 prodrug Substances 0.000 claims description 4
- 206010067484 Adverse reaction Diseases 0.000 claims description 3
- 230000006838 adverse reaction Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 3
- 238000012216 screening Methods 0.000 abstract 1
- 238000000034 method Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
- G06Q10/0875—Itemisation or classification of parts, supplies or services, e.g. bill of materials
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Mathematical Physics (AREA)
- Mathematical Optimization (AREA)
- Economics (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Pure & Applied Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- Tourism & Hospitality (AREA)
- Strategic Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Computing Systems (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Algebra (AREA)
- Accounting & Taxation (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention proposes a kind of monitoring drug data bank real-time judge analysis methods, comprising the following steps: S1, obtain wait be put in storage the bar code being arranged on Key works Drug packing perhaps two dimensional code by medicine information input database corresponding to the bar code or two dimensional code;S2 is scanned using end of scan to the bar code or two dimensional code on outbound Key works Drug packing;Judge that whether drug requires supplementation in database, if desired supplements, then predicts supplement amount of medicament;S3, the result obtained according to step S2 is by drug data information alert to user.The present invention can carry out screening prompt to the validity period for going out storage drug, and supplement product rule Quantity of drugs, meet the needs of hospital or clinic.
Description
Technical field
The present invention relates to a kind of drug data bank technical fields, more particularly to a kind of monitoring drug data bank real-time judge
Analysis method.
Background technique
With hospital or the maturation of clinic Intelligent Pharmacy technology, obtained in global developed country more universal
Using.This technology can greatly improve drug in the efficiency of retail terminal storage and transportation by artificial intelligence and machine transfers means,
Error rate is reduced, valuable area of business is saved, then causes the reconstruction of retailer's operation flow, brings turning for management style
Become the upgrading with operation mode.In general, Intelligent Pharmacy can carry out quantity statistics to the inventory of drug, and in the number of certain drug
Amount provides prompt when being less than preset threshold value, staff is reminded to carry out drug supplement.Due to the type of drug in pharmacy
It is more, cause staff to need often to add to different drugs in pharmacy.Due to the diagnosis and treatment of disease and the use of drug
It is easy to be influenced by the external world, causes different drugs different in the depletion rate of different times, therefore, it may appear that some drugs need frequency
Numerous supplement, and other drug overstocks excessive problem.
Summary of the invention
The present invention is directed at least solve the technical problems existing in the prior art, a kind of monitoring medicine is especially innovatively proposed
Product database real-time judge analysis method.
In order to realize above-mentioned purpose of the invention, the present invention provides a kind of monitoring drug data bank real-time judge analysis sides
Method, comprising the following steps:
S1, obtain wait be put in storage the bar code being arranged on Key works Drug packing perhaps two dimensional code by the bar code or two dimensional code
Corresponding medicine information input database;The medicine information includes nomenclature of drug, indication, specification, usage and dosage, storage
One of hiding, batch number, authentication code, manufacturing enterprise, date of manufacture, validity period, adverse reaction, taboo and points for attention or
Any combination;
S2 is scanned using end of scan to the bar code or two dimensional code on outbound Key works Drug packing;Judge medicine in database
Whether product require supplementation with, and if desired supplement, then predict supplement amount of medicament;
S3, the result obtained according to step S2 is by drug data information alert to user.
In the preferred embodiment of the present invention, the end of scan is with bar code or two-dimensional code scanning function
The mobile terminal of energy.
In the preferred embodiment of the present invention, step S1 the following steps are included:
S11 judges that drug to be put in storage is using the bar code or two dimensional code being arranged on end of scan scanning Key works Drug packing
The no drug by legal regular enterprise's production:
If the drug is not to be done to the drug by the drug of legal regular enterprise's production and be not put in storage processing, to next medicine
Product are judged, step S11 is executed;
If the drug is can to do storage processing to the drug by the drug of legal regular enterprise's production;Execute step
S12;
S12, judges whether local storage environment meets the Storage Requirement of the drug:
If local storage environment does not meet the Storage Requirement of the drug, which is done and is not put in storage processing, to next medicine
Product are judged, return step S11;
If local storage environment meets the Storage Requirement of the drug, storage processing can be done to the drug;Execute step
S13;
S13 judges whether storage drug remaining time validity period is less than or equal to and presets effective first time threshold:
If storage drug remaining time validity period, which is less than or equal to, presets effective first time threshold, which is done
It is not put in storage processing, next drug is judged, return step S11;Wherein, the calculating side of storage drug remaining time validity period
Method are as follows:
T=T1-(T2-T3),
T is storage drug remaining time validity period, T1For expiration date of drug, T2For current entry time, T3For pharmaceutical production
Date;
If drug residue time validity period, which is greater than, presets effective first time threshold, storage processing is done to the drug;
Execute step S14;
S14 judges whether there is the nomenclature of drug in database:
Total quantity if there is the nomenclature of drug in database, after recording drug storage;
Wherein, there is the nomenclature of drug in database, the calculation method of the total quantity after drug storage are as follows:
Pk=Pk′+Pk",
PkIt is known as k for the database Chinese medicine name of an article, the total quantity after drug storage;Pk' be known as the storage scanning prodrug name of an article
The total quantity of k;PkIt " is the total quantity that scanning storage nomenclature of drug is k;
If not having the nomenclature of drug in database, the nomenclature of drug is established, and records the total quantity after drug storage;
Wherein, there is no the nomenclature of drug in database, the calculation method of the total quantity after drug storage are as follows:
Pk=Pk′+Pk", Pk'=0.
In the preferred embodiment of the present invention, step S3 the following steps are included:
S31 judges that drug for sale is remaining using the bar code or two dimensional code being arranged on end of scan scanning Key works Drug packing
Whether time validity period, which is more than or equal to, is preset effective second time threshold, or judges drug for sale remaining time validity period
Whether it is more than or equal to and presets effective third time threshold:
If drug for sale remaining time validity period, which is less than, presets effective second time threshold, described to preset effective second time
Threshold value, which is less than, presets effective first time threshold, and drug for sale remaining time validity period is more than or equal to and presets effective third
Time threshold;Described to preset effective third time threshold less than effective second time threshold is preset, then end of scan issues alarm
First prompt, it is neighbouring that the alarm first prompts for the expiration date of drug;Wherein, the calculating side of drug for sale remaining time validity period
Method are as follows:
T '=T1-(T2′-T3),
T ' is drug for sale remaining time validity period, T1For expiration date of drug, T2' it is current drug time for sale, T3For medicine
The product date of manufacture;
If drug residue time validity period, which is more than or equal to, presets effective second time threshold, can be to the drug
Sell processing;
If drug for sale remaining time validity period, which is less than, is preset effective third time threshold, end of scan issues alarm the
Two prompts, the alarm second prompt for the drug to validity period, forbid selling;
S32 records various Quantity of drugs in drug data bank, the calculation method of various Quantity of drugs in drug data bank
Are as follows:
pk=pk′-pk″-pk" ',
Wherein, pkTo sell the total quantity that the database Chinese medicine name of an article after drug is known as k, pk' it is to sell nomenclature of drug before drug
For the total quantity of k, pk" to sell the quantity that nomenclature of drug is k, pk" ' the quantity for being k for the nomenclature of drug that prohibits selling.
In the preferred embodiment of the present invention, further comprising the steps of:
S51 counts drug effective in database:
S511, validity period and pharmaceutical production date corresponding to the various drugs in S days acquisition databases, the S is
It is default to check number of days threshold value, and S is positive integer;Enable Uk=0, UkThe Expired drug quantity for being k for nomenclature of drug;
S512 judges whether various drug deadlines are more than or equal to validity period in database:
If various drug deadlines are more than or equal to validity period in database, Expired drug is sieved from database
It removes;And by Expired drug from storeroom undercarriage;Uk=Uk+1;
The wherein calculation method of drug deadline are as follows:
Tk=(Tk′+S)-Tk",
TkThe deadline for being k for nomenclature of drug, Tk' it is the date that last nomenclature of drug is k inspection, TkIt " is drug name
The referred to as date of manufacture of k;
If various drug deadlines are less than validity period, U in databasek=Uk+0;
S513 calculates remaining effective Quantity of drugs in database, the calculating side of remaining effectively Quantity of drugs in database
Method are as follows:
Uk'=Uk″+Uk,
Wherein, Uk' it is that the database Chinese medicine name of an article is known as the remaining effective Quantity of drugs of k, Uk" nomenclature of drug is checked to be last
For the effective Quantity of drugs of k;
S52 supplements drug in database:
S521, product rule Quantity of drugs is less than or equal to corresponding default product rule drug and supplements threshold value in database, then
The dosage situation of product rule drug, the X were the positive integer more than or equal to 15 in past X days of statistics;
S522, according to the dosage situation of product rule drug in past X days and using the number of patients of product rule drug, prediction is mended
Fill the quantity of product rule drug;
S523 judges that storing the current storage space that nomenclature of drug is k whether to be more than or equal to supplement nomenclature of drug is k
Storage space afterwards:
If storing the current storage space that nomenclature of drug is k is less than the storage space after supplement nomenclature of drug is k, prompt
Storeroom insufficient space;
It stores the current storage space that nomenclature of drug is k and is more than or equal to the storage space after supplement nomenclature of drug is k,
Then the drug that nomenclature of drug is k is stored.
In the preferred embodiment of the present invention, in step S522, the quantity of prediction complementary goods rule drug includes
Following steps:
S5221 uses the number of patients of product rule drug using fitting function prediction;Its fitting function f (x) are as follows:
Wherein, m is the quantity for being fitted shape function;I is the positive integer more than or equal to 1 and less than or equal to m;X is
Independent variable;β is parameter vector to be solved, and the value of β passes through formula JTJ β=JTY is solved, Y be to match value vector,y1、
y2、…、ynRespectively first, second ..., the functional value of n-th sample, J is fitting parameter matrix,JTIt is the transposed matrix of matrix J, x1、x2、…、xnRespectively the first row, second
Row ..., line n independent variable, γ1(x1)、γ2(x1)、…、γm(xn) it is different fitting shape functions;
S5221, the dosage situation of product rule drug and the number of patients using product rule drug utilized polynary time in past X days
Function is returned to calculate the prediction dosage of every kind of product rule drug;Its multiple regression function y are as follows:
Wherein, j is the positive integer more than or equal to 1 and less than or equal to p;ω0For weight parameter, p is to choose
Number of parameters subtracts 1, αjFor parameter, ωjFor vector, ωjPass through formula ATA ω=ATB is calculated, and A is parameter matrix,Q is to return sample size, and B is the vector for total usage amount that product advise drug,b1、b2、…、bq
Respectively the first, second ..., q kind product rule drug total usage amount.
In the preferred embodiment of the present invention, in step s3, by medicine information be prompted to user with text or
Person's graphic form is sent on customer mobile terminal.
In the preferred embodiment of the present invention, mobile terminal is smart phone or plate electricity with SIM card
Brain.
In conclusion by adopting the above-described technical solution, the present invention can sieve the validity period for storage drug
Choosing prompt, and product rule Quantity of drugs is supplemented, meet the needs of hospital or clinic.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures
Obviously and it is readily appreciated that, in which:
Fig. 1 is flow diagram of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
The present invention provides a kind of monitoring drug data bank real-time judge analysis methods, as shown in Figure 1, including following step
It is rapid:
S1, obtain wait be put in storage the bar code being arranged on Key works Drug packing perhaps two dimensional code by the bar code or two dimensional code
Corresponding medicine information input database;The medicine information includes nomenclature of drug, indication, specification, usage and dosage, storage
One of hiding, batch number, authentication code, manufacturing enterprise, date of manufacture, validity period, adverse reaction, taboo and points for attention or
Any combination;
S2 is scanned using end of scan to the bar code or two dimensional code on outbound Key works Drug packing;Judge medicine in database
Whether product require supplementation with, and if desired supplement, then predict supplement amount of medicament;
S3, the result obtained according to step S2 is by drug data information alert to user.
In the preferred embodiment of the present invention, the end of scan is with bar code or two-dimensional code scanning function
The mobile terminal of energy.
In the preferred embodiment of the present invention, step S1 the following steps are included:
S11 judges that drug to be put in storage is using the bar code or two dimensional code being arranged on end of scan scanning Key works Drug packing
The no drug by legal regular enterprise's production:
If the drug is not to be done to the drug by the drug of legal regular enterprise's production and be not put in storage processing, to next medicine
Product are judged, step S11 is executed;
If the drug is can to do storage processing to the drug by the drug of legal regular enterprise's production;Execute step
S12;
S12, judges whether local storage environment meets the Storage Requirement of the drug:
If local storage environment does not meet the Storage Requirement of the drug, which is done and is not put in storage processing, to next medicine
Product are judged, return step S11;
If local storage environment meets the Storage Requirement of the drug, storage processing can be done to the drug;Execute step
S13;
S13 judges whether storage drug remaining time validity period is less than or equal to and presets effective first time threshold:
If storage drug remaining time validity period, which is less than or equal to, presets effective first time threshold, which is done
It is not put in storage processing, next drug is judged, return step S11;Wherein, the calculating side of storage drug remaining time validity period
Method are as follows:
T=T1-(T2-T3),
T is storage drug remaining time validity period, T1For expiration date of drug, T2For current entry time, T3For pharmaceutical production
Date;
If drug residue time validity period, which is greater than, presets effective first time threshold, storage processing is done to the drug;
Execute step S14;
S14 judges whether there is the nomenclature of drug in database:
Total quantity if there is the nomenclature of drug in database, after recording drug storage;
Wherein, there is the nomenclature of drug in database, the calculation method of the total quantity after drug storage are as follows:
Pk=Pk′+Pk",
PkIt is known as k for the database Chinese medicine name of an article, the total quantity after drug storage;Pk' be known as the storage scanning prodrug name of an article
The total quantity of k;PkIt " is the total quantity that scanning storage nomenclature of drug is k;
If not having the nomenclature of drug in database, the nomenclature of drug is established, and records the total quantity after drug storage;
Wherein, there is no the nomenclature of drug in database, the calculation method of the total quantity after drug storage are as follows:
Pk=Pk′+Pk", Pk'=0.
In the preferred embodiment of the present invention, step S3 the following steps are included:
S31 judges that drug for sale is remaining using the bar code or two dimensional code being arranged on end of scan scanning Key works Drug packing
Whether time validity period, which is more than or equal to, is preset effective second time threshold, or judges drug for sale remaining time validity period
Whether it is more than or equal to and presets effective third time threshold:
If drug for sale remaining time validity period, which is less than, presets effective second time threshold, described to preset effective second time
Threshold value, which is less than, presets effective first time threshold, and drug for sale remaining time validity period is more than or equal to and presets effective third
Time threshold;Described to preset effective third time threshold less than effective second time threshold is preset, then end of scan issues alarm
First prompt, it is neighbouring that the alarm first prompts for the expiration date of drug;Wherein, the calculating side of drug for sale remaining time validity period
Method are as follows:
T '=T1-(T2′-T3),
T ' is drug for sale remaining time validity period, T1For expiration date of drug, T2' it is current drug time for sale, T3For medicine
The product date of manufacture;
If drug residue time validity period, which is more than or equal to, presets effective second time threshold, can be to the drug
Sell processing;
If drug for sale remaining time validity period, which is less than, is preset effective third time threshold, end of scan issues alarm the
Two prompts, the alarm second prompt for the drug to validity period, forbid selling;
S32 records various Quantity of drugs in drug data bank, the calculation method of various Quantity of drugs in drug data bank
Are as follows:
pk=pk′-pk″-pk" ',
Wherein, pkTo sell the total quantity that the database Chinese medicine name of an article after drug is known as k, pk' it is to sell nomenclature of drug before drug
For the total quantity of k, pk" to sell the quantity that nomenclature of drug is k, pk" ' the quantity for being k for the nomenclature of drug that prohibits selling.
In the preferred embodiment of the present invention, further comprising the steps of:
S51 counts drug effective in database:
S511, validity period and pharmaceutical production date corresponding to the various drugs in S days acquisition databases, the S is
It is default to check number of days threshold value, and S is positive integer;Enable Uk=0, UkThe Expired drug quantity for being k for nomenclature of drug;
S512 judges whether various drug deadlines are more than or equal to validity period in database:
If various drug deadlines are more than or equal to validity period in database, Expired drug is sieved from database
It removes;And by Expired drug from storeroom undercarriage;Uk=Uk+1;
The wherein calculation method of drug deadline are as follows:
Tk=(Tk′+S)-Tk",
TkThe deadline for being k for nomenclature of drug, Tk' it is the date that last nomenclature of drug is k inspection, TkIt " is drug name
The referred to as date of manufacture of k;
If various drug deadlines are less than validity period, U in databasek=Uk+0;
S513 calculates remaining effective Quantity of drugs in database, the calculating side of remaining effectively Quantity of drugs in database
Method are as follows:
Uk'=Uk″+Uk,
Wherein, Uk' it is that the database Chinese medicine name of an article is known as the remaining effective Quantity of drugs of k, Uk" nomenclature of drug is checked to be last
For the effective Quantity of drugs of k;
S52 supplements drug in database:
S521, product rule Quantity of drugs is less than or equal to corresponding default product rule drug and supplements threshold value in database, then
The dosage situation of product rule drug, the X were the positive integer more than or equal to 15 in past X days of statistics;
S522, according to the dosage situation of product rule drug in past X days and using the number of patients of product rule drug, prediction is mended
Fill the quantity of product rule drug;
S523 judges that storing the current storage space that nomenclature of drug is k whether to be more than or equal to supplement nomenclature of drug is k
Storage space afterwards:
If storing the current storage space that nomenclature of drug is k is less than the storage space after supplement nomenclature of drug is k, prompt
Storeroom insufficient space;
It stores the current storage space that nomenclature of drug is k and is more than or equal to the storage space after supplement nomenclature of drug is k,
Then the drug that nomenclature of drug is k is stored.
In the preferred embodiment of the present invention, in step S522, the quantity of prediction complementary goods rule drug includes
Following steps:
S5221 uses the number of patients of product rule drug using fitting function prediction;Its fitting function f (x) are as follows:
Wherein, m is the quantity for being fitted shape function;I is the positive integer more than or equal to 1 and less than or equal to m;X is
Independent variable;β is parameter vector to be solved, βiThe parameter vector to be solved of shape function, γ are fitted for i-thiIt (x) is i-th of fitting shape letter
The value of number, β passes through formula JTJ β=JTY is solved, Y be to match value vector,y1、y2、…、ynRespectively first,
Second ..., the functional value of n-th sample, J is fitting parameter matrix,JTIt is matrix
The transposed matrix of J, x1、x2、…、xnRespectively the first row, the second row ..., line n independent variable, γ1(x1)、γ2(x1)、…、γm
(xn) it is different fitting shape functions;
S5221, the dosage situation of product rule drug and the number of patients using product rule drug utilized polynary time in past X days
Function is returned to calculate the prediction dosage of every kind of product rule drug;Its multiple regression function y are as follows:
Wherein, j is the positive integer more than or equal to 1 and less than or equal to p;ω0For weight parameter, p is to choose
Number of parameters subtracts 1, αjFor parameter, ωjFor vector, ωjPass through formula ATA ω=ATB is calculated, and A is parameter matrix, ω be to
Moment matrix,Q is to return sample size, α11,α12,α13,…,αqpFor the element value in parameter matrix A, B
The vector of total usage amount of drug is advised for product,b1、b2、…、bqRespectively the first, second ..., q kind product rule
Total usage amount of drug.
In the preferred embodiment of the present invention, in step s3, by medicine information be prompted to user with text or
Person's graphic form is sent on customer mobile terminal.
In the preferred embodiment of the present invention, mobile terminal is smart phone or plate electricity with SIM card
Brain.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not
A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this
The range of invention is defined by the claims and their equivalents.
Claims (8)
1. a kind of monitoring drug data bank real-time judge analysis method, which comprises the following steps:
S1, obtain wait be put in storage the bar code being arranged on Key works Drug packing perhaps two dimensional code by the bar code or two dimensional code institute it is right
The medicine information input database answered;The medicine information includes nomenclature of drug, indication, specification, usage and dosage, storage, production
One of product lot number, authentication code, manufacturing enterprise, date of manufacture, validity period, adverse reaction, taboo and points for attention are any
Combination;
S2 is scanned using end of scan to the bar code or two dimensional code on outbound Key works Drug packing;Judge that drug is in database
It is no to require supplementation with, it if desired supplements, then predicts supplement amount of medicament;
S3, the result obtained according to step S2 is by drug data information alert to user.
2. monitoring drug data bank real-time judge analysis method according to claim 1, which is characterized in that the scanning is eventually
End is the mobile terminal with bar code or two-dimensional code scanning function.
3. monitoring drug data bank real-time judge analysis method according to claim 1, which is characterized in that step S1 includes
Following steps:
S11, using the bar code or two dimensional code that are arranged on end of scan scanning Key works Drug packing, judge drug to be put in storage whether by
The drug of legal regular enterprise's production:
If the drug is not to be done to the drug by the drug of legal regular enterprise production and be not put in storage processing, to next drug into
Row judgement, executes step S11;
If the drug is can to do storage processing to the drug by the drug of legal regular enterprise's production;Execute step S12;
S12, judges whether local storage environment meets the Storage Requirement of the drug:
If local storage environment does not meet the Storage Requirement of the drug, which is done and is not put in storage processing, to next drug into
Row judgement, return step S11;
If local storage environment meets the Storage Requirement of the drug, storage processing can be done to the drug;Execute step S13;
S13 judges whether storage drug remaining time validity period is less than or equal to and presets effective first time threshold:
If storage drug remaining time validity period, which is less than or equal to, presets effective first time threshold, which is done to enter
Library processing, judges next drug, return step S11;Wherein, the calculation method of storage drug remaining time validity period
Are as follows:
T=T1-(T2-T3),
T is storage drug remaining time validity period, T1For expiration date of drug, T2For current entry time, T3For pharmaceutical production day
Phase;
If drug residue time validity period, which is greater than, presets effective first time threshold, storage processing is done to the drug;It executes
Step S14;
S14 judges whether there is the nomenclature of drug in database:
Total quantity if there is the nomenclature of drug in database, after recording drug storage;
Wherein, there is the nomenclature of drug in database, the calculation method of the total quantity after drug storage are as follows:
Pk=Pk′+Pk",
PkIt is known as k for the database Chinese medicine name of an article, the total quantity after drug storage;Pk' it is that the storage scanning prodrug name of an article is known as k's
Total quantity;PkIt " is the total quantity that scanning storage nomenclature of drug is k;
If not having the nomenclature of drug in database, the nomenclature of drug is established, and records the total quantity after drug storage;
Wherein, there is no the nomenclature of drug in database, the calculation method of the total quantity after drug storage are as follows:
Pk=Pk′+Pk", Pk'=0.
4. monitoring drug data bank real-time judge analysis method according to claim 1, which is characterized in that step S3 includes
Following steps:
S31 judges that drug for sale is remaining effectively using the bar code or two dimensional code being arranged on end of scan scanning Key works Drug packing
Whether time phase, which is more than or equal to, is preset effective second time threshold, or whether judges drug for sale remaining time validity period
More than or equal to presetting effective third time threshold:
If drug for sale remaining time validity period, which is less than, presets effective second time threshold, described to preset effective second time threshold
Less than presetting effective first time threshold, and drug for sale remaining time validity period is more than or equal to and presets effective third time
Threshold value;Described to preset effective third time threshold less than effective second time threshold is preset, then end of scan issues alarm first
Prompt, it is neighbouring that the alarm first prompts for the expiration date of drug;Wherein, the calculation method of drug for sale remaining time validity period
Are as follows:
T '=T1-(T2′-T3),
T ' is drug for sale remaining time validity period, T1For expiration date of drug, T2' it is current drug time for sale, T3It is raw for drug
Produce the date;
If drug residue time validity period, which is more than or equal to, presets effective second time threshold, which can be sold
Sell processing;
If drug for sale remaining time validity period, which is less than, presets effective third time threshold, end of scan issues alarm second and mentions
Show, the alarm second prompts for the drug to validity period, forbids selling;
S32 records various Quantity of drugs in drug data bank, the calculation method of various Quantity of drugs in drug data bank are as follows:
pk=pk′-pk″-pk",
Wherein, pkTo sell the total quantity that the database Chinese medicine name of an article after drug is known as k, pk' it is to sell the drug prodrug name of an article to be known as k
Total quantity, pk" to sell the quantity that nomenclature of drug is k, pk" ' the quantity for being k for the nomenclature of drug that prohibits selling.
5. monitoring drug data bank real-time judge analysis method according to claim 1, which is characterized in that step S2 includes
Following steps:
S51 counts drug effective in database:
S511, validity period and pharmaceutical production date corresponding to the various drugs in S days acquisition databases, the S is default
Check number of days threshold value, and S is positive integer;Enable Uk=0, UkThe Expired drug quantity for being k for nomenclature of drug;
S512 judges whether various drug deadlines are more than or equal to validity period in database:
If various drug deadlines are more than or equal to validity period in database, Expired drug is screened out from database;
And by Expired drug from storeroom undercarriage;Uk=Uk+1;
The wherein calculation method of drug deadline are as follows:
Tk=(Tk′+S)-Tk",
TkThe deadline for being k for nomenclature of drug, Tk' it is the date that last nomenclature of drug is k inspection, Tk" it is for nomenclature of drug
The date of manufacture of k;
If various drug deadlines are less than validity period, U in databasek=Uk+0;
S513 calculates remaining effective Quantity of drugs in database, the calculation method of remaining effectively Quantity of drugs in database are as follows:
Uk'=Uk″+Uk,
Wherein, Uk' it is that the database Chinese medicine name of an article is known as the remaining effective Quantity of drugs of k, UkIt " is to check that nomenclature of drug is that k has the last time
Imitate Quantity of drugs;
S52 supplements drug in database:
S521, product rule Quantity of drugs is less than or equal to corresponding default product rule drug and supplements threshold value in database, then counts
The dosage situation of product rule drug, the X were the positive integer more than or equal to 15 in past X days;
S522 predicts complementary goods according to the dosage situation of product rule drug in past X days and using the number of patients of product rule drug
Advise the quantity of drug;
S523, judge store nomenclature of drug be k current storage space whether be more than or equal to supplement nomenclature of drug be k after
Storage space:
If storing the current storage space that nomenclature of drug is k is less than the storage space after supplement nomenclature of drug is k, prompt to store
Room insufficient space;
It stores the current storage space that nomenclature of drug is k and is more than or equal to the storage space after supplement nomenclature of drug is k, then it is right
Nomenclature of drug is that the drug of k is stored.
6. monitoring drug data bank real-time judge analysis method according to claim 5, which is characterized in that in step S522
In, prediction complementary goods rule drug quantity the following steps are included:
S5221 uses the number of patients of product rule drug using fitting function prediction;Its fitting function f (x) are as follows:
Wherein, m is the quantity for being fitted shape function;I is the positive integer more than or equal to 1 and less than or equal to m;X is to become certainly
Amount;β is parameter vector to be solved, and the value of β passes through formula JTJ β=JTY is solved, Y be to match value vector,y1、
y2、…、ynRespectively first, second ..., the functional value of n-th sample, J is fitting parameter matrix,JTIt is the transposed matrix of matrix J, x1、x2、…、xnRespectively the first row, second
Row ..., line n independent variable, γ1(x1)、γ2(x1)、…、γm(xn) it is different fitting shape functions;
S5221, the dosage situation of product rule drug and the number of patients using product rule drug utilized multiple regression letter in past X days
Number calculates the prediction dosage of every kind of product rule drug;Its multiple regression function y are as follows:
Wherein, j is the positive integer more than or equal to 1 and less than or equal to p;ω0For weight parameter, p is the parameter number chosen
Amount subtracts 1, αjFor parameter, ωjFor vector, ωjPass through formula ATA ω=ATB is calculated, and A is parameter matrix,Q is to return sample size, and B is the vector for total usage amount that product advise drug,b1、b2、…、bq
Respectively the first, second ..., q kind product rule drug total usage amount.
7. monitoring drug data bank real-time judge analysis method according to claim 1, which is characterized in that further include step
Medicine information is prompted to user and is sent on customer mobile terminal with text or graphic form by S4, S4.
8. monitoring drug data bank real-time judge analysis method according to claim 7, which is characterized in that mobile terminal is
Smart phone or tablet computer with SIM card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910546912.1A CN110264139A (en) | 2019-06-24 | 2019-06-24 | Monitor drug data bank real-time judge analysis method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910546912.1A CN110264139A (en) | 2019-06-24 | 2019-06-24 | Monitor drug data bank real-time judge analysis method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110264139A true CN110264139A (en) | 2019-09-20 |
Family
ID=67920607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910546912.1A Pending CN110264139A (en) | 2019-06-24 | 2019-06-24 | Monitor drug data bank real-time judge analysis method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110264139A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111445975A (en) * | 2020-03-31 | 2020-07-24 | 苏州艾隆科技股份有限公司 | Medicine outlet method and device for medicine warehouse, medicine warehouse and storage medium |
CN112734169A (en) * | 2020-12-23 | 2021-04-30 | 华中科技大学同济医学院附属协和医院 | Ambulance drug management system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600190A (en) * | 2016-12-07 | 2017-04-26 | 苏州吉成智能科技有限公司 | Drug management method |
CN108657709A (en) * | 2018-05-18 | 2018-10-16 | 苏州吉成智能科技有限公司 | Drug compensation process |
CN109509528A (en) * | 2018-10-27 | 2019-03-22 | 平安医疗健康管理股份有限公司 | Drug data processing method, device, equipment and medium based on data analysis |
CN109524125A (en) * | 2019-01-24 | 2019-03-26 | 易保互联医疗信息科技(北京)有限公司 | Drug stock analysis method, storage medium and equipment based on medical big data |
-
2019
- 2019-06-24 CN CN201910546912.1A patent/CN110264139A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600190A (en) * | 2016-12-07 | 2017-04-26 | 苏州吉成智能科技有限公司 | Drug management method |
CN108657709A (en) * | 2018-05-18 | 2018-10-16 | 苏州吉成智能科技有限公司 | Drug compensation process |
CN109509528A (en) * | 2018-10-27 | 2019-03-22 | 平安医疗健康管理股份有限公司 | Drug data processing method, device, equipment and medium based on data analysis |
CN109524125A (en) * | 2019-01-24 | 2019-03-26 | 易保互联医疗信息科技(北京)有限公司 | Drug stock analysis method, storage medium and equipment based on medical big data |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111445975A (en) * | 2020-03-31 | 2020-07-24 | 苏州艾隆科技股份有限公司 | Medicine outlet method and device for medicine warehouse, medicine warehouse and storage medium |
CN112734169A (en) * | 2020-12-23 | 2021-04-30 | 华中科技大学同济医学院附属协和医院 | Ambulance drug management system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200350050A1 (en) | System and method for managing inventory at dispensing units | |
Sng et al. | Approaches to outpatient pharmacy automation: a systematic review | |
US7850081B2 (en) | Apparatus and method for authenticating products | |
CA2609009C (en) | System of performing a retrospective drug profile review of de-identified patients | |
US8712584B2 (en) | Method and system for electronic assistance in dispensing pharmaceuticals | |
US20180039736A1 (en) | System and Method for Automated Tracking and Analysis of Pharmaceutical Use within Healthcare Facilities | |
CN108135779A (en) | Medical Devices with transfer device | |
CN109524125B (en) | Medicine inventory analysis method based on medical big data, storage medium and equipment | |
US8793153B2 (en) | System and method for determining trailing data adjustment factors | |
US20130060577A1 (en) | Automated system for medical item dispensing, billing, and inventory management | |
CN103854136A (en) | Hospital medication management system with medication safety monitoring and intervening functions | |
US8103539B2 (en) | Sample store forecasting process and system | |
Pinna et al. | The drug logistics process: an innovative experience | |
CN110264139A (en) | Monitor drug data bank real-time judge analysis method | |
Migbaru et al. | ABC-VEN matrix analysis of pharmaceutical inventory management in Tikur Anbessa Specialized Hospital for the years 2009 to 2013, Addis Ababa, Ethiopia | |
Dwivedi et al. | Inventory management: A tool of identifying items that need greater attention for control | |
Santhi et al. | Recent review article on pharmaceutical inventory models | |
Pall et al. | Predicting drug shortages using pharmacy data and machine learning | |
Subratha et al. | Inventory management using matrix analysis and inventory index in an oncology pharmacy of a tertiary care teaching hospital | |
Dobson et al. | Reducing costs of managing medication inventory in automated dispensing system in hospital units | |
Dubey et al. | Review Article on Pharmaceutical Inventory Models | |
Pinna et al. | The drug logistics between efficiency and safety for patients: The experience of an Italian region | |
EP2953088B1 (en) | Information processing device and method, and program | |
CN112768030A (en) | Safe medication management system and method thereof | |
CN110766559A (en) | Label configuration method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190920 |