CN107292084B - Automatic medical prescription transferring method - Google Patents
Automatic medical prescription transferring method Download PDFInfo
- Publication number
- CN107292084B CN107292084B CN201710322308.1A CN201710322308A CN107292084B CN 107292084 B CN107292084 B CN 107292084B CN 201710322308 A CN201710322308 A CN 201710322308A CN 107292084 B CN107292084 B CN 107292084B
- Authority
- CN
- China
- Prior art keywords
- writing
- prescription
- unit
- writing device
- automation
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000008569 process Effects 0.000 claims abstract description 20
- 229910000838 Al alloy Inorganic materials 0.000 claims abstract description 9
- 238000013515 script Methods 0.000 claims abstract description 9
- 229910052751 metal Inorganic materials 0.000 claims abstract description 8
- 239000002184 metal Substances 0.000 claims abstract description 8
- 238000013016 damping Methods 0.000 claims abstract description 5
- 238000003825 pressing Methods 0.000 claims abstract description 5
- 238000010586 diagram Methods 0.000 claims description 8
- 239000000463 material Substances 0.000 claims description 6
- 201000010099 disease Diseases 0.000 claims description 4
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 claims description 4
- NIXOWILDQLNWCW-UHFFFAOYSA-N acrylic acid group Chemical group C(C=C)(=O)O NIXOWILDQLNWCW-UHFFFAOYSA-N 0.000 claims description 3
- 230000009471 action Effects 0.000 claims description 3
- 229910052782 aluminium Inorganic materials 0.000 claims description 3
- XAGFODPZIPBFFR-UHFFFAOYSA-N aluminium Chemical compound [Al] XAGFODPZIPBFFR-UHFFFAOYSA-N 0.000 claims description 3
- 230000003993 interaction Effects 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 238000010521 absorption reaction Methods 0.000 claims description 2
- 230000035939 shock Effects 0.000 claims description 2
- 238000004806 packaging method and process Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000005520 cutting process Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 206010063659 Aversion Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
Images
Abstract
The invention discloses an automatic medical prescription transferring method, which is used for sending prescription information to a writing device driving program so as to realize automation of the process, wherein the automation process realizes background automatic operation by compiling scripts through Q language and packaging the scripts into programs so as to realize background automation of the operation process. The writing device mainly adopts the writing robot principle and comprises a writing unit, a supporting unit, a damping unit, an aluminum alloy metal shell and a medical record pressing framework. The invention takes the writing machine principle of directly writing on the surface of the medical record book as the hardware basis, so that the writing machine is suitable for the size of the medical record book, saves the space and simultaneously realizes the automatic operation of the background on the flow.
Description
Technical Field
The invention relates to the combination of medical treatment and electronic information field, which is a method capable of directly transferring the prescription in a doctor prescription system to a medical record book.
Background
At present, the printing of the traditional printer is realized by the transverse movement of a printing head and the longitudinal movement of paper driven by the rolling of a stepping motor, but the traditional printer cannot be used for printing due to the thickness limitation of medical records, and doctors still need to hand one copy in the medical records after the doctor visits, so that the treatment efficiency is greatly reduced, and the medical records are not easy to be recognized; if the prescription is printed, the printing paper is inconvenient to carry and easy to lose.
Disclosure of Invention
In order to overcome the defect that the conventional printer cannot print a medical record, the invention provides an automatic medical prescription transferring method.
A medical prescription automatic transfer method, send prescription information to the driver program of the writing device, thus realize the automation of the course, the said automation course realizes the automatic operation of the backstage through Q language and compiles the script and encapsulates into the hotkey, realize the automation of the backstage of operation course;
the method comprises the following steps:
1) acquiring and storing prescription information from prescription software;
2) processing the prescription information by converting characters into SVG vector curves;
3) importing an SVG vector graph format file, and identifying SVG vector curve contents by a writing device;
4) carrying out a prescription writing process;
5) and (5) finishing the writing action, clearing the trace of the processing flow at this time and releasing the memory.
The step 2) converts the prescription information into a recognizable SVG vector diagram dot matrix format document by using a character-to-curve functional module of Coreldraw software;
and 3) using the function module of the Inkscape for identifying the SVG vector diagram format file as a driving program of the writing device.
The writing device mainly adopts the writing robot principle and comprises a writing unit, a supporting unit, a damping unit, an aluminum alloy metal shell and a medical record pressing framework,
the pen control device of the writing unit is driven by two stepping motors to rotate and control the movement of the belt, and the circuit board and a computer carry out serial port interaction to acquire information to control the direction and the distance of the movement;
the support unit supports the writing device, aluminum materials are matched with acrylic materials, the distance between the support unit and the desktop is kept, and the shock absorption unit is additionally arranged on the support unit; the writing device is provided with an aluminum alloy metal shell to protect the internal structure;
the disease record book presses the frame and plays a role in fixing the pages of the disease record book.
The invention has the beneficial effects that: the writing device capable of directly writing on the surface of the medical record book is used as a hardware basis, and the size of the whole cutting machine is assembled and optimized, so that the writing device is suitable for the size of the corresponding medical record book and saves space; the background is written with Q language script to realize automatic operation of the flow and package into hot keys, thus realizing background automation of the operation process.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a flow chart of an embodiment of the present invention output from the prescription system to the Coreldraw software;
fig. 3 is a flow chart of an embodiment of the present invention in the writer driver Inkscape.
Detailed Description
The invention takes a writing device (such as Axidarw) capable of directly writing on the surface of a medical record book as hardware equipment, obtains a prescription from a medical prescription system, carries out vectorization format conversion, generates an SVG vector diagram format file, and carries out a printing process after the SVG vector diagram format file is identified by the writing device, and the whole process is carried out by a program background without manual operation. As shown in fig. 1, the steps are as follows:
1) acquiring and storing prescription information from prescription software;
2) processing the prescription information by converting characters into SVG vector curves;
3) importing an SVG vector graph format file, and identifying SVG vector curve contents by a writing device;
4) carrying out a prescription writing process;
5) and (5) finishing the writing action, clearing the trace of the processing flow at this time and releasing the memory.
The writing device is selected and used in one embodiment of the invention, the principle of a writing robot is mainly adopted, and the writing device comprises a writing unit, a supporting unit, a damping unit, an aluminum alloy metal shell and a medical record pressing framework.
The pen control device of the writing unit is driven by two stepping motors to rotate and control the movement of the belt, and the circuit board and a computer carry out serial port interaction to acquire information to control the direction and the distance of the movement; the supporting unit is made of aluminum materials and acrylic materials, and keeps a certain distance from the table top, so that the medical record is prevented from being blocked when the medical record vertically or transversely moves downwards; when the table is in work, the supporting unit can slightly collide with the table top due to vibration to generate noise, so that the damping unit is added on the supporting unit to reduce the noise, and meanwhile, the vibration strength can be weakened, and the writing precision is improved; in order to prevent the circuit board and the motor wire from being exposed in the air to be deposited with dust or damaged, the aluminum alloy metal shell is customized according to the size after cutting, so that the internal structure of the aluminum alloy metal shell is protected and the attractive effect is achieved; the medical record book sometimes has the condition such as slight aversion or perk because of disturbance or paper self tension, for improving this problem, has customized suitable aluminum alloy pressing frame according to medical record book page size, can play the fixed effect of page, improves and writes the precision, prevents simultaneously that the pen-lifting removal from keeping a scratch on the medical record book when the paper perk. The pen point does not adopt an ink jet device of a common typewriter, but directly adopts a gel pen to drive the gel pen by a mechanical arm to write, the assembly and debugging are successful, and a matched script is provided for the gel pen, and the script can realize background automation of all processes of reading prescription information from a prescription system, carrying out format conversion, exporting and importing files, interacting with a writing device and the like. The function of the system is more perfect, the system is suitable for Windows 10 and Windows xp systems at present, and the system can be applied to other processes suitable for batch writing and high-precision person-replacing writing except for the medical industry.
In another embodiment of the present invention, in order to achieve the intended purpose, multiple software principles are referred to, and finally two software functions with relatively stable performance and relatively simple operation are selected, and part of module functions of the two software are called in the software programming process: converting the Chinese characters of the prescription information into a recognizable SVG vector diagram dot matrix format document by using a character-to-curve function of Coreldraw software; the function of identifying the SVG vector diagram format file by using the Inkscape is used as a driving program of the writing machine; the whole software program uses Q language to compile background script, to complete information interception, format conversion, export and import, printing process detection and printing end feedback, and the module calling of the two software, and packaging, to realize the whole process background automation.
Referring to fig. 2, after prescription information is acquired from the medical prescription system in a manner of acquiring all text contents in handles, whether the Coreldraw software is opened or not is checked, and if the Coreldraw software is not opened, a pop-up window reminds a doctor to open the software; if the Coreldraw operation page is opened, the Coreldraw operation page is found to be positioned and the prescription information is pasted (the positioning is directly positioned at the initial position of the pen-down position of the writing machine). Sending out a file export command, judging whether to pop up a file export window, and if not, resending the command; if the export file window exists, the background searches and clicks an export button (note that the number of times is counted after a fast key is pressed each time, if the number of times exceeds 20, the software is abnormal, a popup window is displayed to prompt a doctor to restart Coreldraw, and the file name defaults to be 'graph 1. svg'). If the prescription information is exported for the second time or the last time of prescription information is not cleared due to the fact that the flow is illegally interrupted in the last operation, a popup inquires whether the original file with the same name is covered, whether a window which is confirmed to be saved additionally exists is checked, if the window exists, the window is covered, and then an SVG export window is entered; if not (first export or last normal progress, prescription information deleted) then go directly to the "SVG export window". Checking whether an SVG export window exists, if the SVG export window does not exist, judging whether an additional storage window exists, and if the SVG export window does not exist, checking the default backtracking check to confirm that the additional storage window exists, and if the SVG export window exists, clicking a 'yes' button before the SVG export window exists, so that clicking is performed again; if the window is confirmed to be saved as another time, the file exporting step is returned again and the control variables are counted accumulatively, if the error description software is abnormal after being accumulated for more than 20 times, the window is popped to prompt restarting; if a check exists for "SVG export Window" all settings are defaulted and the "OK" button is clicked on to generate the "graphic 1. SVG" file.
In fig. 3, it is first checked whether an Inkscape of a driver of a writing machine is opened, if not, a pop-up window reminds a doctor to open software, if so, a command to open an existing file is sent, whether a "file opening window" pops up is judged, and if not, a command is sent again (note here, the number of times is counted after the command is sent each time, if the number of times exceeds 50, the software is abnormal, the pop-up window reminds the doctor to restart the Inkscape); if the open file window exists, the file position and the editable input box handle are found, and the corresponding file name is sent to the input box by the background. Then judging whether the characters in the input box are complete and correct, if not, deleting all the characters and retransmitting the characters; if the answer is correct, the 'open' button is clicked in the background. Rechecking whether the 'open file window' exists, if the description file does not open, re-clicking the 'open' button, and if the description file is clicked for more than two times, re-searching the correct file position; if the 'open file window' does not indicate that the prescription file with the converted format is opened, the background sends a command to open a drive plug-in 'iDraw calligrapher', all the procedures are ready at this time, the popup window reminds a doctor to place a medical record, if the doctor does not want to print at this time suddenly, the 'No' is clicked, the whole process is ended, if the 'Yes' is clicked, whether the 'iDraw calligrapher' window exists is judged, if the 'iDraw calligrapher' window does not exist, the shortcut key is pressed again to open, if the 'confirm' is clicked, writing is started, the writing state is judged according to the number of windows with the same name, whether the printing process is normally carried out is continuously and circularly detected, and abnormal warning is sent; and after the printing process is finished, performing subsequent initialization operation, closing the original project, newly building a blank project for the next use, and simultaneously removing the prescription trace of the time.
Claims (1)
1. The automatic medical prescription transferring method is characterized in that prescription information is sent to a writing device driving program, so that automation of the process is realized, background automatic operation is realized in the automation process through writing scripts in Q language, and the scripts are packaged into programs, so that background automation of the operation process is realized;
the method comprises the following steps:
1) acquiring and storing prescription information from prescription software;
2) processing the prescription information by converting characters into SVG vector curves;
3) importing an SVG vector graph format file, and identifying SVG vector curve contents by a writing device;
4) carrying out a prescription writing process;
5) after the writing action is finished, clearing the trace of the processing flow at this time and releasing the memory;
the step 2) converts the prescription information into a recognizable SVG vector diagram dot matrix format document by using a character-to-curve functional module of Coreldraw software;
step 3) using an Inkscape to identify a functional module of the SVG vector diagram format file as a driving program of the writing device;
the writing device is based on the writing robot principle and comprises a writing unit, a supporting unit, a damping unit, an aluminum alloy metal shell and a medical record pressing framework,
the pen control device of the writing unit is driven by two stepping motors to rotate and control the movement of the belt, and the circuit board and a computer carry out serial port interaction to acquire information to control the direction and the distance of the movement;
the support unit supports the writing device, aluminum materials are matched with acrylic materials, the distance between the support unit and the desktop is kept, and the shock absorption unit is additionally arranged on the support unit; the writing device is provided with an aluminum alloy metal shell to protect the internal structure;
the disease record book presses the frame and plays a role in fixing the pages of the disease record book.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710322308.1A CN107292084B (en) | 2017-05-09 | 2017-05-09 | Automatic medical prescription transferring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710322308.1A CN107292084B (en) | 2017-05-09 | 2017-05-09 | Automatic medical prescription transferring method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107292084A CN107292084A (en) | 2017-10-24 |
CN107292084B true CN107292084B (en) | 2020-12-08 |
Family
ID=60093909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710322308.1A Expired - Fee Related CN107292084B (en) | 2017-05-09 | 2017-05-09 | Automatic medical prescription transferring method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107292084B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722240A (en) * | 2011-05-18 | 2012-10-10 | 北京大学深圳研究生院 | Text information input system, handwriting input device and text information input method |
CN102810135A (en) * | 2012-09-17 | 2012-12-05 | 顾泰来 | Auxiliary processing system for drug prescription |
CN104966311A (en) * | 2015-06-10 | 2015-10-07 | 江苏中威科技软件系统有限公司 | Vector graph storage method used for handwriting signing system |
CN106033406A (en) * | 2015-03-12 | 2016-10-19 | 上海运申制版模具有限公司 | Printing method and apparatus for literatures written with multinational characters |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901151B (en) * | 2009-05-27 | 2013-05-15 | 同方股份有限公司 | Method for realizing dynamic play of enterprise trademark under extensible firmware interface |
CN103268166B (en) * | 2013-05-17 | 2015-12-09 | 山东明海软件技术有限公司 | The former handwriting information collection of handwriting input device and display packing |
-
2017
- 2017-05-09 CN CN201710322308.1A patent/CN107292084B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722240A (en) * | 2011-05-18 | 2012-10-10 | 北京大学深圳研究生院 | Text information input system, handwriting input device and text information input method |
CN102810135A (en) * | 2012-09-17 | 2012-12-05 | 顾泰来 | Auxiliary processing system for drug prescription |
CN106033406A (en) * | 2015-03-12 | 2016-10-19 | 上海运申制版模具有限公司 | Printing method and apparatus for literatures written with multinational characters |
CN104966311A (en) * | 2015-06-10 | 2015-10-07 | 江苏中威科技软件系统有限公司 | Vector graph storage method used for handwriting signing system |
Non-Patent Citations (1)
Title |
---|
智能写字机器人设计;陈玉敏等;《计算机测量与控制》;20160303;第24卷(第1期);第266-268页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107292084A (en) | 2017-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210012057A1 (en) | Integrated document editor | |
CN1624643A (en) | Scaled text replacement of digital ink | |
CN101164054A (en) | Auto-suggest lists and handwritten input | |
JP2004240968A5 (en) | ||
KR20110088521A (en) | Label printer api using program scripting language | |
US20070086042A1 (en) | Apparatus, system, and method for selecting ordered files for printing | |
JPH11249852A (en) | Document printing system | |
CN107292084B (en) | Automatic medical prescription transferring method | |
US20220143825A1 (en) | Automated process robotic system, method, non transitory computer readable recording medium and computer program product with integrated process and automated data analysis | |
US7716631B1 (en) | Architecture blueprint tool and method | |
US20090208103A1 (en) | Control of optical character recognition (OCR) processes to generate user controllable final output documents | |
CN111026604B (en) | Log file analysis method and device | |
CN116484038A (en) | SVG logging data interaction management software method and system | |
US20040264022A1 (en) | Apparatus and method for reducing errors in writing to a storage medium | |
JP2007531085A5 (en) | ||
US8311801B2 (en) | Technology for supporting modification of messages displayed by program | |
CN1577240A (en) | Printing method and apparatus for rectifying error and computer readable recording medium | |
CN104182561B (en) | It is a kind of that metal slabs and the method and system of the influence of guiding pin contacts are added within the gravitational load stage of the deep draw operating simulation of sheet metal part | |
CN101593090B (en) | Printing apparatus and method for processing real-time command using the printing apparatus | |
US20090138846A1 (en) | Extended macro recording | |
CN108897529A (en) | A kind of development approach of PCI motion control card driving | |
JP4572172B2 (en) | Image forming apparatus and printing system for high-speed printing | |
CN100468309C (en) | Information processor and its method, and image drawing device | |
JP4136357B2 (en) | Form definition processing device, form definition processing program, and form definition processing program recording medium | |
CN113760588A (en) | Method and device for acquiring abnormal information of software system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201208 |