KR20010062645A - Dispensing control device - Google Patents

Dispensing control device Download PDF

Info

Publication number
KR20010062645A
KR20010062645A KR1020000080897A KR20000080897A KR20010062645A KR 20010062645 A KR20010062645 A KR 20010062645A KR 1020000080897 A KR1020000080897 A KR 1020000080897A KR 20000080897 A KR20000080897 A KR 20000080897A KR 20010062645 A KR20010062645 A KR 20010062645A
Authority
KR
South Korea
Prior art keywords
prescription
preparation
data
execution
input
Prior art date
Application number
KR1020000080897A
Other languages
Korean (ko)
Other versions
KR100696812B1 (en
Inventor
유야마히로유키
야스오카게이타
Original Assignee
유야마 쇼지
가부시키가이샤 유야마 세이사쿠쇼
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 유야마 쇼지, 가부시키가이샤 유야마 세이사쿠쇼 filed Critical 유야마 쇼지
Publication of KR20010062645A publication Critical patent/KR20010062645A/en
Application granted granted Critical
Publication of KR100696812B1 publication Critical patent/KR100696812B1/en

Links

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
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Medicinal Chemistry (AREA)
  • Epidemiology (AREA)
  • Chemical & Material Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE: To easily integrate driving and controlling plural dispensing machines based on prescription data in the same manner. CONSTITUTION: Plural dispensing machines are driven and controlled to dispense the prescription based on prescription data. A file 10 for setting a dispensing control object to set a controlled object including the dispensing machines is stored in a fixed disk 4. Execution control data and execution processes are generated respectively for control objects in the file 10 stored in the fixed disc 4 based on the dispensing data to drive and control corresponding dispensing machines 2.

Description

조제 제어장치{DISPENSING CONTROL DEVICE}Pharmacy Control Unit {DISPENSING CONTROL DEVICE}

본 발명은, 병원 및 조제 약국 등의 의료 시설에서 사용되는 약봉지(藥袋) 인쇄기 및 약제(藥劑) 분할포장기(이하 분포기(分包機)라 한다) 등의 조제 업무에 이용하는 각각의 조제기기를, 처방 데이터에 따라서 동작시켜서 제어하는 조제 제어장치, 특히, 처방 데이터를 외부 장치에 송신하는 호스트 컴퓨터와의 접속이 가능한 조제 제어장치에 관한 것이다.The present invention utilizes each preparation device used for preparation work, such as a medicine bag printing machine used in medical facilities, such as a hospital and a pharmaceutical pharmacy, and a chemical | medical agent division packaging machine (henceforth a distribution machine). The present invention relates to a preparation control device that operates by controlling in accordance with prescription data, and more particularly, to a preparation control device that can be connected to a host computer that transmits prescription data to an external device.

종래부터, 약봉지 인쇄기 등의 각종 조제기기로서, 호스트 컴퓨터로부터 처방 데이터를 수신해서 구동제어되는 것이 있다.Background Art Conventionally, various preparation devices such as a medicine bag printing machine and the like receive prescription data from a host computer and are driven to be controlled.

특공평 제4-57348호 공보에는, 호스트 컴퓨터로부터의 데이터를 조제의 종류에 적합한 조제기의 입력장치에 할당하는 조제 제어장치가 기재되어 있다.Japanese Patent Application Laid-Open No. 4-57348 describes a preparation control device for allocating data from a host computer to an input device of a preparation device suitable for the type of preparation.

특공평 제6-9600호 공보에는, 처방전에 따라서 조제 데이터를 생성해서 조제 장치를 작동시키고, 조제 데이터의 실행상황을 표시하는 처방전 조제의 투약 시스템이 기재되어 있다.Japanese Unexamined Patent Publication No. 6-9600 discloses a dosage system for prescription preparation, which generates preparation data in accordance with a prescription, operates a preparation device, and displays the execution status of the preparation data.

특공평 제6-9601호 공보에는, 처방전에 따라서 조제 데이터를 생성해서 조제 장치를 작동시키고, 조제 데이터에 따라서 약봉지의 표시내용을 생성하는 처방전 조제의 약봉지 작성 시스템이 기재되어 있다.Japanese Unexamined Patent Application Publication No. 6-9601 describes a medicine bag preparation system for prescription preparation, which generates preparation data according to a prescription to operate a preparation device, and generates display contents of a medicine bag in accordance with the preparation data.

특공평 제7-71575호 공보에는, 호스트 컴퓨터로부터의 데이터를 이용해서 조제기를 작동시키고, 약봉지를 작성시키는 조제 제어장치가 기재되어 있다.Japanese Patent Application Laid-Open No. 7-71575 discloses a preparation control device that operates a dispenser using data from a host computer and creates a medicine bag.

특공평 제7-71576호 공보에는, 호스트 컴퓨터로부터의 데이터를 이용해서 조제기를 작동시키고, 투약 작업의 진행 상황을 통지하는 조제 제어장치가 기재되어 있다.Japanese Patent Application Laid-Open No. 7-71576 discloses a preparation control device that operates a dispenser using data from a host computer and notifies the progress of the medication operation.

특공평 제8-124호 공보에는, 호스트 컴퓨터로부터의 데이터를 이용해서 조제기를 작동시키고, 조제 작업 전체의 관리정보를 발생시키는 조제 제어장치가 기재되어 있다.Japanese Patent Application Laid-Open No. 8-124 discloses a preparation control device that operates a preparation machine using data from a host computer and generates management information for the entire preparation operation.

특허 제2623010호 공보에는, 처방 데이터에 따라서 복수의 약제 포장기를 작동시키고, 약제 포장기의 동작 상황을 감시하는 약제 포장장치가 기재되어 있다.Patent No. 2623010 discloses a drug packaging device which operates a plurality of drug packaging machines in accordance with prescription data, and monitors the operating state of the drug packaging machine.

특허 제2691859호 공보에는, 호스트 컴퓨터로부터의 약제에 관한 데이터를수신하고, 약제 종류에 따라서 분류하여, 적합한 조제기에 할당하는 조제 제어방법이 기재되어 있다.Japanese Patent No. 2691859 discloses a preparation control method for receiving data on a medicine from a host computer, classifying it according to the type of medicine, and assigning it to a suitable medicine.

그러나, 상기의 어떠한 제어장치에서도, 조제기기의 종류마다 제어방식이 상이하고, 이 제어장치들을 설치하는 시설마다의 설계ㆍ제작이 필요하다. 더욱이, 인쇄 불량 및 분할포장 불량에 의한, 약봉지 인쇄ㆍ약제 분할포장의 재발행 및 동작 취소의 조작을 조제기기측에서만 실행할 수 있다. 이 때문에, 약제사는 재발행 및 동작 취소의 필요가 생길 때마다 각 조제기기까지 이동해야 한다.However, in any of the above-described control apparatuses, the control method is different for each kind of the preparation equipment, and it is necessary to design and manufacture for each facility in which these control apparatuses are installed. Moreover, the operation of reissuing the printing of the medicine bag and the dividing packaging of the medicine and canceling the operation due to the printing failure and the poor packaging can be performed only on the preparation device side. For this reason, whenever a pharmacist needs to reissue and cancel an operation, the pharmacist must move to each preparation device.

또한, 입력오류 및 지시변경 등에 따라서 처방의 취소 및 내용변경을 실행할 필요가 있어도, 그 연락이 조제 종료 후에 실행되면, 약제는 이미 분할포장되고, 폐기처분하지 않을 수 없다.In addition, even if it is necessary to cancel the prescription and change the contents in accordance with an input error, an instruction change, or the like, if the contact is executed after the end of the preparation, the medicine is already packaged and forced to be disposed of.

또한, 조제기기가 오류때문에 정지한 경우의 대책은 불충분하다. 예로서, 특공평 제4-57348호 공보에서는, 조제할 수 없는 종류의 조제 데이터를 조제 지시서로서 출력하는 것뿐이다. 이 때문에, 처리할 수 없는 동작명령이 증가하여 체류되고, 조제가 지연되는 경우가 있다. 이 경우, 동작명령을 기타의 조제기기에 배분하는 데에는, 복잡한 처리조작이 필요하게 된다. 이 문제는, 조제기기의 종류나 대수가 많아지는 만큼 발생한다.In addition, the countermeasures when the preparation equipment is stopped due to an error are insufficient. For example, Japanese Patent Application Laid-Open No. 4-57348 only outputs preparation data of a type that cannot be prepared as a preparation instruction sheet. For this reason, the operation instruction which cannot be processed increases and stays, and preparation may be delayed. In this case, a complicated processing operation is required for distributing the operation command to other preparation devices. This problem occurs as the type and number of preparation devices increase.

또한, 약봉지의 인쇄 불량이나 분할포장 불량 때문에 재발행할 필요가 생긴 경우에도, 조제기기의 기종마다 재발행 조작방법이 상이하므로 조작이 번잡하다.In addition, even when it is necessary to reissue because of poor printing or divided packaging of the medicine bag, the reissue operation method is different for each model of the preparation device, which makes operation complicated.

그리고, 호스트 컴퓨터측의 문제로 이상한 처방 데이터를 수신한 경우나, 조제기기에 장해가 발생하여 수작업 조제로 변경하는 등의 이상사태의 경우에는, 조제기기측에서 재설정하기도 하고 전원을 차단해서 재투입하기도 함으로써, 조제의 실행을 취소하지 않으면 안되고, 복잡한 처리조작이 필요해서 대처시간이 많이 필요하다.When abnormal prescription data is received due to a problem on the host computer side, or when an abnormality such as a failure occurs in the dispensing device and the manual preparation is performed, the dispensing device may be reset or turned off again. In some cases, the execution of the preparation must be canceled, a complicated processing operation is required, and a large amount of response time is required.

또한, 특정 환자에 대한 조제를 잊어버린 경우나, 약봉지 인쇄 및 약제 분할포장을 재발행하는 경우에는, 환자의 대기시간이 극도로 길게 된다.In addition, in the case of forgetting the preparation for a particular patient, or re-issuing medicine bag printing and drug division packaging, the patient's waiting time becomes extremely long.

그래서, 본 발명은, 처방 데이터에 따라서 복수의 조제기기를 동일 방법으로 간단하게 집중관리해서 구동제어할 수 있는 조제 제어장치를 제공하는 것을 과제로 한다.Therefore, an object of the present invention is to provide a preparation control device capable of simply controlling and controlling driving of a plurality of preparation devices in the same manner according to prescription data.

도 1은 본 실시형태에 관한 조제 제어장치의 기기 구성을 나타내는 블록도.BRIEF DESCRIPTION OF THE DRAWINGS The block diagram which shows the apparatus structure of the preparation control apparatus which concerns on this embodiment.

도 2는 조제 실행관리대상 설정파일의 기억내용을 나타내는 도면.Fig. 2 is a diagram showing the contents of storage of a preparation execution management target setting file.

도 3은 도 2의 일례를 나타내는 도면.3 shows an example of FIG. 2;

도 4는 처방전 파일의 기억내용을 나타내는 도면.4 is a diagram showing the contents of a prescription file.

도 5는 조제 실행관리의 처리를 나타내는 플로우 차트.5 is a flowchart showing a process of preparation execution management;

도 6은 조제 실행상황 모니터의 화면을 나타내는 도면.6 is a diagram showing a screen of a preparation execution status monitor;

도 7은 처방 수신관리 데이터의 기억내용을 나타내는 도면.Fig. 7 is a diagram showing the stored contents of prescription reception management data.

도 8은 처방 감사관리 데이터의 기억내용을 나타내는 도면.Fig. 8 is a diagram showing the stored contents of prescription audit management data.

도 9는 약봉지(藥袋) 인쇄1호기 실행관리 데이터의 기억내용을 나타내는 도면.Fig. 9 is a diagram showing the contents of the medicine bag printing No. 1 execution management data.

도 10은 정제 분포1호기 실행관리 데이터의 기억내용을 나타내는 도면.Fig. 10 is a diagram showing the stored contents of tablet distribution # 1 execution management data.

도 11은 정제 분포2호기 실행관리 데이터의 기억내용을 나타내는 도면.Fig. 11 is a diagram showing the stored contents of tablet distribution # 2 execution management data.

도 12는 산제 분포1호기 실행관리 데이터의 기억내용을 나타내는 도면.Fig. 12 is a diagram showing the stored contents of powder distribution unit 1 execution management data.

도 13은 처방 수신처리를 나타내는 플로우 차트.Fig. 13 is a flowchart showing prescription reception processing.

도 14는 실행관리신호 수신처리를 나타내는 플로우 차트.Fig. 14 is a flowchart showing execution management signal reception processing.

도 15는 조제기기 실행관리 데이터의 처리를 나타내는 플로우 차트.Fig. 15 is a flowchart showing processing of the preparation machine execution management data.

도 16은 처방 감사 입력의 처리를 나타내는 플로우 차트.16 is a flowchart illustrating processing of prescription audit input.

도 17은 처방 감사 입력의 처리를 나타내는 플로우 차트.Fig. 17 is a flowchart showing processing of prescription audit input.

도 18은 조제기기 실행의 처리를 나타내는 플로우 차트.18 is a flowchart illustrating processing of a dispenser execution.

도 19는 처방 데이터 감사 입력의 화면을 나타내는 도면19 shows a screen of prescription data audit input.

(부호의 설명)(Explanation of the sign)

1 : 제어장치 2 : 조제기기1: control device 2: dispenser

3 : 중앙처리장치 4 : 하드디스크장치3: central processing unit 4: hard disk unit

5 : 다중채널 통신부 6 : 단말장치5: multi-channel communication unit 6: terminal device

7 : 메모리 8 : 제어프로그램7: memory 8: control program

10 : 조제 실행관리대상 설정파일 11 : 처방전 파일10: setting file for managing execution of preparation 11: prescription file

12 : 호스트 컴퓨터12: host computer

본 발명은, 상기 과제를 해결하기 위한 수단으로서, 처방 데이터에 따라서 그 처방을 조제하기 위해서 복수의 조제기기를 구동제어하는 조제 제어장치에 있어서, 상기의 각 조제기기를 포함하는 관리대상을 설정한 조제 실행관리대상 설정파일을 기억하는 하드디스크장치와, 상기 처방 데이터에 따라서, 상기 하드디스크장치에 기억한 조제 실행관리대상 설정파일의 각각의 관리대상마다 실행관리 데이터와 실행 프로세스를 생성하고, 이 실행관리 데이터와 실행 프로세스에 따라서 해당하는 조제기기를 구동제어하는 중앙처리장치를 구비한 것이다.In the preparation control device which drives-control a plurality of preparation devices in order to prepare the prescription according to the prescription data, the present invention provides a means for solving the above problems. A hard disk device storing the preparation execution management object setting file and a management process and an execution process for each management object of the preparation execution management object setting file stored in the hard disk device according to the prescription data; It is provided with a central processing unit for driving control of the corresponding preparation device in accordance with the execution management data and the execution process.

이 구성에 의해서, 각각의 조제기기 등을 단일의 조제 실행관리대상 설정파일만으로써 관리할 수 있다. 또한, 신규의 관리대상을 추가하는 경우에도, 상기 조제 관리대상 설정파일에 관리대상을 설정하는 것만으로 좋다.With this configuration, each preparation device or the like can be managed by only a single preparation execution management target setting file. In addition, even when a new management object is added, it is only necessary to set the management object in the preparation management object setting file.

상기 하드디스크장치는, 조제 실행관리대상 설정파일에, 호스트 컴퓨터로부터의 처방 데이터의 수신에 이용하는 "처방 수신"과, 처방 데이터의 감사에 이용하는 "처방 감사 입력"을 포함하는 것이 바람직하다. 이에 따라서, 처방 수신과 처방 감사 입력도 조제기기의 기종과 마찬가지로 관리해서 제어할 수 있게 된다.The hard disk device preferably includes a "prescription reception" used for reception of prescription data from a host computer and a "prescription audit input" used for auditing prescription data in the preparation execution management object setting file. Accordingly, the prescription reception and the prescription audit input can be managed and controlled similarly to the model of the preparation device.

또한, 처방 수신과 처방 감사 입력의 조합의 구성은, 「유ㆍ유」「유ㆍ무」「무ㆍ유」의 3종류를 고려할 수 있다. 「유ㆍ유」는 처방 데이터를 수신해서 처방 감사 입력하는 경우에 해당한다. 「유ㆍ무」는 처방 데이터를 수신해서 처방 감사 입력하지 않고, 직접 조제기기를 동작시키는 경우에 해당한다. 「무ㆍ유」는 처방 감사 입력으로서 처방 데이터를 입력하는 경우에 해당한다.In addition, the structure of the combination of prescription reception and prescription audit input can consider three types, "Y / Y", "Y / Y", "Y / Y". "Y / Y" corresponds to a case of receiving prescription data and inputting a prescription audit. "Yes / no" corresponds to a case where the preparation device is directly operated without receiving prescription data and inputting a prescription audit. "N / Y" corresponds to the case where prescription data is input as a prescription audit input.

상기 중앙처리장치에서, 호스트 컴퓨터로부터 호스트 지령이 입력되면, 해당 호스트지령에 수정지령이 포함되어 있는 경우, 해당하는 수정 전의 처방 데이터를 검색해서 삭제함과 동시에 수정 후의 처방 데이터를 추가하고, 상기 호스트지령에 삭제지령이 포함되어 있는 경우, 해당하는 실행관리 데이터를 취소로 설정하는 것이 바람직하다. 이에 따라서, 자동적이고 또한 즉석으로 조제의 동작을 삭제 또는 수정하고, 쓸데없는 조제에 의한 수고와 약제 손실을 감소시킬 수 있게 된다.In the central processing unit, when a host command is input from a host computer, if a correction command is included in the host command, the prescription data after correction is searched for and deleted, and the corrected prescription data is added to the host command. In the case where the delete instruction is included, it is preferable to set the corresponding execution management data to cancel. Accordingly, it is possible to delete or modify the operation of the preparation automatically and instantly, and to reduce the labor and drug loss caused by useless preparation.

또한, 상기 중앙처리장치에서, 호스트 컴퓨터로부터 수신한 처방 데이터의 감사 입력을 모니터 화면에 표시하고, 해당 모니터 화면에서 입력한 감사 결과를 호스트 컴퓨터에 송신하도록 해도 된다. 이에 따라서, 호스트 컴퓨터로부터 수신한 처방 데이터의 내용에 대해서 약제사가 감사를 실행하고, 이 감사 결과(OK/NG)에 따라서 의사(醫事) 회계처리를 개시하기도 하고, 의사에게 처방 변경을 요구하기도하는 시스템을 호스트 컴퓨터측에 구축하는 것도 가능하게 된다.The central processing unit may display the audit input of the prescription data received from the host computer on the monitor screen and transmit the audit result input on the monitor screen to the host computer. Accordingly, the pharmacist conducts an audit on the contents of the prescription data received from the host computer, initiates the doctor accounting process according to the audit result (OK / NG), or requests the doctor to change the prescription. It is also possible to build the system on the host computer side.

그리고, 상기 중앙처리장치에서, 상기 조제 실행관리대상 설정파일에 기억한 각각의 관리대상에 대해서 실행상황을 모니터 화면에 표시하는 것이 바람직하다. 이에 따라서, 각각의 관리대상, 즉 처방 수신, 처방 감사 입력, 각각의 조제기기에 있어서의 실행상황을 집중관리할 수 있게 된다. 여기서, 실행상황이라는 것은, 처방 데이터의 미처리/종료의 상황, 처방 데이터에 있어서의 각각의 조제기기에서의 동작의 대기/실행중/종료의 상황, 각각의 조제기기에서의 동작의 대기 건수, 가동중/정지중의 상황, 오류의 상황을 의미한다.In the central processing unit, it is preferable to display the execution status on the monitor screen for each management object stored in the preparation execution management object setting file. Accordingly, it is possible to centrally manage the management status of each management object, that is, prescription reception, prescription audit input, and each preparation device. Here, the execution status includes the status of unprocessed / ended of prescription data, the status of waiting / during / ending of operation in each preparation device in the prescription data, the number of operations waiting in each preparation device, and the operation. It means the status of middle / stopped, error.

또한, 상기 중앙처리장치에서, 상기 조제 실행관리대상 설정파일에 기억한 각각의 관리대상, 즉 처방 수신, 처방 감사 입력, 각각의 조제기기에 대한 실행시간을 감시해서, 소정 시간을 초과함에 따라 통지하면, 부주의 등으로 환자의 대기 시간이 길어지는 것을 방지할 수 있는 점에서 바람직하다.Further, the central processing unit monitors the execution time for each management object stored in the preparation execution management object setting file, that is, prescription reception, prescription audit input, and each preparation device, and notifies as the predetermined time is exceeded. It is preferable at the point which can prevent long waiting time of a patient by carelessness etc.

또한, 상기 중앙처리장치에서, 입력장치에서 재발행 입력되면, 해당하는 재발행 입력에 따라서, 상기 조제 실행관리대상 설정파일에 기억한 해당하는 관리대상에 대해서 동작을 재개시키면, 각각의 조제기기까지 이동하지 않고, 집중해서 지령할 수 있는 점에서 바람직하다. 또한, 재발행 대상에는, 약봉지 인쇄, 정제(錠劑) 분할포장, 산제(散劑) 분할포장 등이 포함된다.In the central processing unit, if a reissue is input from an input device, the operation is resumed with respect to the corresponding management object stored in the preparation execution management object setting file according to the corresponding reissue input. It is preferable at the point which can concentrate and order. The reissue targets include medicine bag printing, tablet divided packaging, powder divided packaging and the like.

이 경우, 상기 재발행 동작은 통상의 동작보다도 우선시키는 것이 바람직하다.In this case, it is preferable to give priority to the reissue operation above the normal operation.

또한, 상기 중앙처리장치에서, 입력장치에서 취소 입력되면, 상기 조제 실행관리대상 설정파일에 기억한 관리대상에 대해서, 취소 입력된 처방 데이터의 실행상황이 "대기"인 경우에 한해서, 해당하는 관리대상의 동작을 취소해도 된다. 또한, 입력장치로써 정지 또는 기동(起動) 입력되면, 해당 정지 또는 기동 입력에 따라서, 선택한 관리대상에 대응하는 실행 프로세스에 정지 또는 기동신호를 송신해도 된다. 이에 따라서, 각각의 관리대상에서의 동작을 간단한 조작으로써 즉석에서 취소하기도 하고, 정지 또는 기동시킬 수 있다.Further, in the central processing unit, if the input is canceled by the input device, only the case where the execution status of the canceled input prescription data is "waiting" for the management object stored in the preparation execution management object setting file is applicable. You may cancel the operation of the object. In addition, when a stop or start is input by the input device, a stop or start signal may be transmitted to the execution process corresponding to the selected management object in accordance with the stop or start input. As a result, the operation on each management object can be immediately canceled, stopped or started by a simple operation.

[발명의 실시형태]Embodiment of the Invention

이하, 본 발명에 관한 실시형태를 첨부 도면에 따라서 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, embodiment which concerns on this invention is described according to an accompanying drawing.

도 1은, 본 실시형태에 관한 조제 제어장치(1)와, 이 제어장치(1)에 따라서 구동제어되는 조제기기(2)를 나타낸다.1 shows a preparation control device 1 according to the present embodiment and a preparation device 2 which is driven and controlled according to the control device 1.

조제 제어장치(1)는, 중앙처리장치(3)(CPU), 하드디스크장치(4), 다중채널 통신부(5), 및 단말장치(6)를 구비하고 있다.The preparation control device 1 includes a central processing unit 3 (CPU), a hard disk device 4, a multichannel communication unit 5, and a terminal device 6.

조제 제어장치(1)는, 처방 데이터에 따라서 동작명령을 각각의 조제기기(2)에 송신하고, 각각의 조제기기(2)로부터는 상황을 수신함으로써, 모든 조제기기 (2)를 구동제어하며, 조제 업무를 자동 진행시킨다. 또한, 상황에는 동작 가부, 동작 종료 및 오류의 정보가 포함된다.The preparation control device 1 drives and controls all the preparation devices 2 by sending an operation command to each preparation device 2 in accordance with the prescription data and receiving a situation from each preparation device 2. Automatically proceed with the preparation work. In addition, the situation includes information on the operation availability, operation termination, and error.

중앙처리장치(3)(CPU)는, 각종 데이터를 기억하기 위한 메모리(7)(RAM)와, 조제 제어장치(1)의 전체를 제어하는 제어프로그램(8)(ROM)과, 전지로써 백업 (backup)되어 날짜와 시각을 나타내는 캘린더(calender) 시계(9)를 내장(內藏)한다. 메모리(7)(RAM)는, 처방 데이터를 기억하는 처방 데이터 메모리, 실행관리 데이터를 기억하는 실행관리 데이터 메모리, 기타 메모리(처리상의 작업 영역, 변수 등)로서 사용한다. 캘린더 시계(9)는 각종 처리에서의 일시(日時) 취득에 사용한다.The central processing unit 3 (CPU) includes a memory 7 (RAM) for storing various data, a control program 8 (ROM) for controlling the entire preparation control device 1, and a backup with a battery. A calendar clock 9 which is (backup) and shows a date and time is built-in. The memory 7 (RAM) is used as a prescription data memory for storing prescription data, a execution management data memory for storing execution management data, and other memories (work area for processing, variables, etc.). The calendar clock 9 is used for date and time acquisition in various processes.

단말장치(6)는, 디스플레이, 키보드, 마우스, 및 통지 버저(buzzer)로 구성되는 처방 감사 입력 단말장치(6a)와 조제 실행관리 단말장치(6b)를 구비한다. 이 들 단말장치(6)는, "처방 감사 입력"과 "조제 실행관리"라고 하는 특정 용도 이외에, 각종 파일의 데이터 입력 등에도 사용한다. 또한, 단말장치(6)의 2대는 1대로 집약해도 된다. 이 경우, 각종 화면은 멀티윈도우(multiwindow)로 표시한다.The terminal device 6 includes a prescription audit input terminal device 6a composed of a display, a keyboard, a mouse, and a notification buzzer, and a preparation execution management terminal device 6b. These terminal devices 6 are also used for data input of various files, etc. in addition to specific applications such as "prescription audit input" and "preparation execution management." In addition, two of the terminal devices 6 may be aggregated into one. In this case, the various screens are displayed in a multiwindow.

하드디스크장치(4)에는, 관리대상을 설정해서 기억하는 조제 실행관리대상 설정파일(10), 처방 데이터를 기억하는 처방전 파일(11), 처방 데이터를 입력할 때의 관련 정보를 기억하는 각종 마스터 파일이 기억되어 있다. 하드디스크장치(4)에는, 플래시 메모리 등, 재기록 가능한 불휘발성 기억장치를 사용할 수 있다.The hard disk device 4 includes a preparation execution management object setting file 10 for setting and storing a management object, a prescription file 11 for storing prescription data, and various masters for storing related information when inputting prescription data. The file is memorized. As the hard disk device 4, a rewritable nonvolatile memory device such as a flash memory can be used.

조제 실행관리대상 설정파일(10)은, 도 2에 나타낸 바와 같이, 처방 수신, 처방 감사 입력 이외에, 각각의 조제기기(2)를 관리대상으로서 기억한 것이다. 각각의 관리대상은 기종으로서 표시되어, 각 기종마다 ID번호가 붙여져 있다. 여기서는, "처방 수신"을 1, "처방 감사 입력"을 2, "약봉지 인쇄기"를 3, "정제 분포기"를 4, "산제 분포기"를 5로 한다. 새로이 관리대상이 추가되는 경우는 ID번호를 추가해서 대응한다. 관리대상에 동일 기종의 것이 복수 포함되는 경우에는, 기기 번호를 붙여서 대상을 특정한다. 또한, 파라미터는, 관리대상마다의 고유의 각종 정보이고, "처방 감사 입력"에서는, 1은 "감사 결과의 송신 필요"를 의미한다.As shown in FIG. 2, the preparation execution management object setting file 10 stores each preparation device 2 as a management object, in addition to the prescription reception and prescription audit input. Each management object is displayed as a model, and an ID number is attached to each model. Here, the "prescription reception" is 1, the "prescription audit input" is 2, the "medicine bag printing machine" is 3, the "tablet dispenser" is 4, and the "powder dispenser" is 5. When a new management object is added, an ID number is added to respond. In the case where the management target includes a plurality of the same model, the target is identified by attaching a device number. In addition, the parameter is various information unique to each management object, and in "prescription audit input", 1 means "necessity of transmission of an audit result".

도 3은, 기종 1 "처방 수신", 기종 2 "처방 감사 입력", 기종 3 "약봉지 인쇄기" 1대, 기종 4 "정제 분포기" 2대, 기종 5 "산제 분포기" 1대를 구비한 경우에 있어서의 조제 실행관리대상 설정파일(10)의 기억내용의 일례이다.Fig. 3 shows a type 1 "prescription reception", a type 2 "prescription audit input", a type 3 "medicine bag printing machine", a type 4 "tablet distribution machine" and a type 5 "powder distribution machine". This is an example of the contents of the preparation execution management target setting file 10 in the case.

처방전 파일(11)은 처방 데이터를 기억하는 데이터 파일이고, 그 기억내용은 도 4에 나타낸 바와 같다. 처방전 파일에의 처방 데이터의 기록은, 이후에 설명하는 "처방 수신"의 처리(도 13)에서 처방 데이터를 호스트 컴퓨터(12)로부터 수신했을 때와, 이후에 설명하는 "처방 감사 입력"의 처리(도 16)에서 처방 데이터를 신규 입력했을 때에 실행되도록 되어 있다.The prescription file 11 is a data file that stores prescription data, the contents of which are as shown in FIG. The recording of prescription data in the prescription file is performed when the prescription data is received from the host computer 12 in the processing of "prescription reception" (FIG. 13) described later, and the processing of "prescription audit input" described later. It is executed when new prescription data is input in FIG.

도 4에서, 처방 데이터 번호는, 처방 데이터를 식별하기 위한 연속 번호를 나타낸다. 구분은, 처방 데이터의 구분을 나타낸다. 구분의 내용은, 처방 데이터에 따른 호스트지령에 "감사 NG 취소"를 추가한 내용이다. 여기서는, "통상"을 0, "삭제"를 1, "수정"을 2, "감사 NG 취소"를 3으로 한다. 처방 데이터는 처방 데이터의 본 내용을 나타낸다. 각종 코드로 구성되고, 진료과명 및 약제명 등의 명칭은 각종 마스터 파일로부터 판독하여 표시한다.In Fig. 4, the prescription data number indicates a sequential number for identifying the prescription data. The division represents the division of prescription data. The content of the division is the addition of "audit NG cancellation" to the host instruction according to the prescription data. Here, "normal" is set to 0, "delete" is set to 1, "modification" is set to 2, and "audit NG canceled" is set to 3. Prescription data represents the present content of the prescription data. It consists of various codes, and names such as medical department names and drug names are read and displayed from various master files.

각종 마스터 파일에는, 약제 마스터 파일, 환자 마스터 파일, 용법 마스터 파일, 진료과 마스터 파일, 의사 마스터 파일, 처방전 구분 마스터 파일이 있지만, 코드와 명칭 등을 저장하도록 하는 간단한 구성의 파일이므로 도면은 생략한다.The various master files include a medicine master file, a patient master file, a usage master file, a medical treatment master file, a doctor master file, and a prescription classification master file. However, the drawings are omitted because they are files of a simple structure for storing codes and names.

조제기기(2)는, 주로 약봉지 인쇄기 및 약제 분포기이고, 이외에는 산제의 조제에 있어서의 약병의 취출(取出) 및 칭량(秤量)의 정상성을 확인하면서 기록하는 산제 조제 감사기(監査機), 수제(水劑)를 분할포장하는 수제 분포기 등의 기기가 포함된다. 각각의 조제기기(2)의 대수도 시설마다 여러가지이고, 조제 제어장치(1)에 1기종 이상ㆍ1대 이상 접속되어 있다. 조제기기(2)의 각 기종에는 ID번호가 부여되고, 기종마다의 각 기기에는 기기 번호가 부여되어 있다. 이것들은 식별과 제어에 이용된다. 신기종이 추가되는 경우는 ID번호를 추가하고, 기기가 증가하는 경우는 기기 번호를 증가시켜서 대응한다. 조제 제어장치(1)와 조제기기(2)간에는 고속 직렬통신으로 접속하지만, 범용의 버스(bus) 접속 및 네트워크(LAN) 접속 등과 같은 접속ㆍ통신방식이라도 좋다.The dispensing machine 2 is mainly a medicine bag printing machine and a drug dispensing machine, and the powder preparation inspection machine which records while checking the normality of taking out and weighing of the medicine bottle in preparation of powder is other than that. And the like, such as a handmade distribution machine for dividing and packaging the handmade water. The number of units of each preparation device 2 also varies from facility to facility, and one or more models or more than one device are connected to the preparation control device 1. Each model of the preparation device 2 is assigned an ID number, and a device number is assigned to each device for each model. These are used for identification and control. When a new model is added, an ID number is added, and when a device increases, it responds by increasing a device number. Although the preparation control device 1 and the preparation device 2 are connected by high speed serial communication, a connection / communication method such as general-purpose bus connection and network LAN connection may be used.

또한, 12는 호스트 컴퓨터이고, 외부 시스템으로부터 처방 데이터를 수신하기 위해서 사용한다. 단, 단말장치(6)의 디스플레이, 키보드, 및 마우스만으로도 신규로 처방 데이터를 입력할 수 있으므로, 호스트 컴퓨터는 반드시 필요한 것은 아니다. 또한, 호스트 컴퓨터(12)측에서 처방 감사를 실행하기 위해서 조제 제어장치(1)측에서는 수신한 처방 데이터를 감사하지 않는 시설에서는, 처방 감사 입력 단말장치(6a)는 없어도 된다. 또한, 호스트 컴퓨터(12)와 조제 제어장치(1)를 접속해서 연계시키기 위해서 호스트 컴퓨터(12)측으로부터 구할 수 있는 연계 시스템 요구 사양도 시설마다 상이하다.In addition, 12 is a host computer and is used to receive prescription data from an external system. However, since the prescription data can be newly input only by the display, the keyboard, and the mouse of the terminal device 6, the host computer is not necessary. In addition, the prescription audit input terminal 6a may not be required in the facility which does not audit prescription data received on the preparation control device 1 in order to execute the prescription audit on the host computer 12 side. In addition, the linkage system requirement specification that can be obtained from the host computer 12 side in order to connect and link the host computer 12 and the preparation control device 1 also varies from facility to facility.

또한, 중앙처리장치(3)(CPU), 단말장치(6)(디스플레이, 키보드, 마우스, 및 통지 버저로 구성되어 있다), 및 하드디스크장치(4)는 개인용 컴퓨터라도 좋다.The central processing unit 3 (CPU), the terminal device 6 (consisting of a display, a keyboard, a mouse, and a notification buzzer), and the hard disk device 4 may be personal computers.

또한, 하드디스크장치(4)가 독립된 파일 서버(file server)장치(CPU 내장)이고, 중앙처리장치(3)(CPU) 및 단말장치(CPU 내장)가 클라이언트(client) 단말로서 서버 장치와, 네트워크(LAN)로써 접속하도록 한 클라이언트 서버라도 좋다.In addition, the hard disk device 4 is an independent file server device (CPU built-in), and the central processing unit 3 (CPU) and a terminal device (CPU built-in) are server devices as client terminals, The client server may be connected via a network (LAN).

그리고, 조제기기(2)의 각 기기와의 통신에 대해서는, 다중채널 통신부(5)를 사용하는 대신에, 조제기기(2)의 각 기기도 포함해서 동일한 네트워크(LAN)에 접속해서 통신해도 된다.In addition, instead of using the multichannel communication unit 5, the communication with each device of the preparation device 2 may be connected to the same network (LAN), including each device of the preparation device 2, to communicate with each other. .

이어서, 상기 제어장치(1)에서 처리하는 조제 실행관리에 대해서, 도 5의 플로우 차트에 따라서 설명한다.Next, the preparation execution management processed by the said control apparatus 1 is demonstrated according to the flowchart of FIG.

조제 실행관리의 처리는, 메뉴 화면(기동 버튼이 배열되어 있을 뿐인 화면이므로 도시 생략)에서 "조제 실행관리"의 기동 버튼이 마우스로써 클릭되었을 때에 프로세스가 생성되어 기동한다(동작을 종료하면 메뉴 화면으로 복귀한다).The process of preparation execution management is executed when a start button of "preparation execution management" is clicked with a mouse on the menu screen (it is a screen with only start buttons arranged). Return to).

조제 실행관리의 처리가 기동하면, 우선, 조제 실행관리대상 설정파일(도 2)에 따라서, 설정된 관리대상(기기)마다 실행관리 데이터와 실행 프로세스를 순차적으로 생성한다(단계 S1). 또한, 실행관리 데이터를 생성한 직후는 공백인 초기 상태이고, 실행 프로세스를 생성한 직후는 처리할 사상(事象)의 발생을 기다리는 대기 상태이다. 생성의 예는 이후에 설명한다.When the process of preparation execution management starts, first, execution management data and an execution process are generated sequentially for each set management object (device) according to the preparation execution management object setting file (FIG. 2) (step S1). In addition, immediately after the execution management data is generated, the initial state is blank, and immediately after the execution process is generated, the standby state is waited for the occurrence of events to be processed. Examples of generation are described later.

이어서, 설정된 관리대상을 열(列)의 항목으로 하여, 도 6에 나타내는 "조제 실행상황 모니터" 화면을 조제 실행관리 단말장치(6b)에 표시한다(단계 S2). "조제 실행상황 모니터" 화면은 조제 실행관리대상 설정파일(도 2)에 따라서 설정된 관리대상인, "처방 수신", "처방 감사 입력", 및 조제기기(2)의 각 기기를 열 항목으로 하고, 처방 데이터를 행(行)의 항목으로 하여, 열 항목에 있어서의 각각의 조제 실행상황으로서, "대기", "실행중", "HH:MM(종료시각)" 등을 표시한 것이다. "처방 수신"에는 "대기"와 "실핼중"의 상태는 없다. 도 6에서, 처방 데이터 란의 "처방데이터 No.", "환자번호", "환자명", "호스트지령(처방 데이터 구분)", "처방전(구분)", "진료과", "교/동(교환번호/병동)"에는, 처방전 파일(도 4)내의 처방 데이터로부터 읽어내어 표시한다. 진료과명 등의 명칭은 각종 마스터 파일로부터 일어낸다. "교/동" 란은, 처방전 구분이 외래의 경우는 교환번호("약품(藥品) 교환권"의 번호)를 표시하고, 입원의 경우는 병동명을 표시한다. 처방 데이터 No.는 처방 데이터를 식별하기 위한 연속 번호를 나타낸다. 호스트 지령은, 호스트 컴퓨터(12)로부터의 처방 데이터에 대한 지령을 나타내고, "통상", "삭제", "수정"의 구분이 있다. 여기서는, "통상"을 0, "삭제"를 1, "수정"을 2로 한다. 또한 관리대상이 많아서 화면의 횡폭 내에 들어가지 않는 경우, 횡측 스크롤바(scroll bar)를 표시하고, 열 항목을 횡 스크롤 표시할 수 있다. 또한, 화면의 표시 직후는 행 항목인 처방 데이터가 없는 공백 상태이다. 이 단계 S2 이후는 "조제 실행상황 모니터" 화면(도 6)에서의 표시ㆍ조작으로써 처리가 진행되고 조제기기(2) 등을 집중해서 감시 조작한다.Subsequently, the "Management execution status monitor" screen shown in FIG. 6 is displayed on the preparation execution management terminal device 6b with the set management object as a column item (step S2). The "Preparation Execution Status Monitor" screen is a column item for each device of the "prescription reception", "prescription audit input", and the preparation device 2, which are the management targets set according to the formulation execution management target setting file (FIG. 2), With the prescription data as a row item, "waiting", "running", "HH: MM (end time)" and the like are displayed as the respective preparation execution states in the column item. There is no status of "waiting" and "real" in "prescription reception". In Fig. 6, "prescription data No.", "patient number", "patient name", "host command (prescription data classification)", "prescription (classification)", "medical department", "school / dong" in the prescription data column (Exchange number / ward) "is read from the prescription data in a prescription file (FIG. 4), and is displayed. The name of the department and the like arises from various master files. In the case of a prescription division, the exchange number (the number of the "drug exchange ticket") is indicated when the prescription is outpatient, and the ward name is displayed in the case of hospitalization. Prescription data No. shows a serial number for identifying prescription data. The host command indicates a command for prescription data from the host computer 12, and is classified into "normal", "delete", and "correction". Here, "normal" is 0, "delete" is 1, and "modification" is 2. In addition, when there are many management objects and do not fit in the width of the screen, a horizontal scroll bar can be displayed and the column items can be horizontally scrolled. In addition, immediately after the screen is displayed, there is a blank state without prescription data as a line item. After this step S2, the processing proceeds by displaying and operating on the "Processing execution status monitor" screen (FIG. 6), and the monitoring apparatus 2 concentrates and monitors.

이어서, "조제 실행상황 모니터" 화면(도 6)에서의 표시범위에 있어서의 내용을 최신 데이터 내용으로 갱신하고(단계 S3), 열 항목인, 처방 수신, 처방 감사 입력, 각각의 조제기기의 각각의 관리 데이터(도 7, 도 8, 도 9, 도 10, 도 11, 도 12)의 내용을 화면에 표시한다.Subsequently, the contents in the display range on the "Preparation Execution Status Monitor" screen (FIG. 6) are updated with the latest data contents (step S3), and the prescription items, the prescription audit inputs, which are the column items, respectively, of each preparation device The contents of the management data (FIGS. 7, 8, 9, 10, 11, 12) are displayed on the screen.

처방 수신관리 데이터(도 7)는, "처방 수신"의 실행을 관리하기 위한 데이터이다. 처방 수신관리 데이터(도 7)중에서, 처방 데이터 No.는, 처방 데이터를 식별하기 위한 연속 번호를 나타낸다. 실행상황은, 관리대상인 "처방 수신"의 실행상황을 나타낸다. 여기서는, 처방 데이터의 수신 종료시각을 HHMMSS(시, 분, 초가 각각 2자리의 형식), "없음"은 90000으로 한다. 호스트지령은, 호스트 컴퓨터(12)로부터의 처방 데이터에 대한 지령을 나타낸다. 여기서는, "통상"을 0, "삭제"를 1, "수정"을 2로 한다.Prescription reception management data (FIG. 7) is data for managing execution of "prescription reception." In prescription reception management data (FIG. 7), prescription data No. shows the serial number for identifying prescription data. The execution status indicates the execution status of "prescription reception" which is a management target. In this example, the reception end time of the prescription data is set to HHMMSS (hour, minute, second, respectively, two-digit format), and “none” is 90000. The host command indicates a command for prescription data from the host computer 12. Here, "normal" is 0, "delete" is 1, and "modification" is 2.

처방 감사관리 데이터(도 8)는, "처방 감사 입력"의 실행을 관리하기 위한 데이터이다. 처방 감사관리 데이터(도 8)중에서, 처방 데이터 No.는, 처방 데이터를 식별하기 위한 연속 번호를 나타낸다. 실행상황은, 관리대상인 "처방 감사 입력"의 실행상황을 나타낸다. 여기서는, 처방 감사 입력의 종료시각을 HHMMSS, "대기"를 600000, "실행중"을 700000, "취소"를 800000으로 한다. 감사 결과는, 처방 데이터의 감사 결과를 나타낸다. 여기서는, "OK"를 0, "NG"를 1로 한다.Prescription audit management data (FIG. 8) is data for managing execution of "prescription audit input". In prescription audit management data (FIG. 8), prescription data No. shows the serial number for identifying prescription data. The execution status indicates the execution status of "prescription audit input" which is a management target. Here, the end time of the prescription audit input is HHMMSS, "wait" is 600000, "running" is 700000, and "cancel" is 800000. An audit result shows the audit result of prescription data. Here, "OK" is set to 0 and "NG" is set to 1.

조제기기 실행관리 데이터(도 9 내지 도 12)는 조제기기(2)의 실행을 관리하기 위한 데이터이다. 조제기기 실행관리 데이터(도 9 내지 도 12)중에서, 처방 데이터 No.는, 처방 데이터를 식별하기 위한 연속 번호를 나타낸다. 실행상황은, 관리대상인 조제기기(2)의 실행상황을 나타낸다. 여기서는, 실행 종료시각을 HHMMSS, "대기"를 600000, "실행중"을 700000, "취소"를 800000, "없음"을 900000으로 한다. 재발행 플래그(flag)는 조제기기 출력의 재발행 필요 여부를 나타낸다. 여기서는, "ON"을 1, "OFF"를 0으로 한다. 또한, 상기 각 실행관리 데이터의 내용은 조제 실행상황 모니터의 화면(도 6)에서의 조제기기(2)의 각 열에 표시된다.The preparation apparatus execution management data (FIGS. 9-12) are data for managing the execution of the preparation apparatus 2. As shown in FIG. In the preparation machine execution management data (FIGS. 9-12), prescription data No. shows the serial number for identifying prescription data. The execution status indicates the execution status of the preparation device 2 that is the management target. Here, the execution end time is set to HHMMSS, "Wait" to 600000, "Running" to 700000, "Cancel" to 800000, and "None" to 900000. The reissue flag indicates whether re-issuance of the dispenser output is necessary. Here, "ON" is set to 1 and "OFF" is set to 0. In addition, the content of each execution management data is displayed in each column of the preparation device 2 on the screen of the preparation execution status monitor (FIG. 6).

그리고, 각각의 관리 데이터에 처방 데이터(행(行) 데이터)가 추가되기도 하고, 실행상황이 변경되면, 즉석에서 그 내용이 조제 실행상황 모니터 화면(도 6)에표시되고, 건수표시, 오류표시 등도 최신의 상태로 갱신한다. 종ㆍ횡 스크롤바가 조작되어서 표시범위가 변경된 경우도 그것에 따라서 내용을 표시한다. 새로운 처방 데이터는, 조작자에 의한 얼마간의 선택 조작중이 아닌 한, 계속해서 최하의 행으로부터 스크롤업(scroll up)해서 표시한다.In addition, prescription data (row data) is added to each management data, and when the execution status is changed, the contents are immediately displayed on the preparation execution status monitor screen (Fig. 6), and the number display and error display are performed. It is also updated to the latest state. Even when the vertical and horizontal scroll bars are operated to change the display range, the contents are displayed accordingly. The new prescription data is continuously scrolled up from the bottom row and displayed unless there is some selection operation by the operator.

이때, 처방 데이터(행 데이터) 중에서 얼마간의 조제 처리가 남아 있는 미처리 처방 데이터에는 "미"자를 표시하고, 임의로 설정할 수 있는 감시시간을 초과한 처방 데이터에는 "★"표를 표시한다. 이러한 시간 초과의 경우에는 통지 버저도 울린다. 또한, 감시를 개시하는 시각은, 조제 실행관리대상 설정파일(도 2)의 최초에 설정된 관리대상인, "처방 수신" 또는 "처방 감시 입력"의 종료시각이고, 이 감시 개시시각과 현재시각을 비교해서 시간 감시를 실행한다.At this time, "un" character is displayed on the unprocessed prescription data in which some preparation process remains among the prescription data (row data), and a "★" table is displayed on the prescription data exceeding the monitoring time which can be arbitrarily set. In case of such timeout, a notification buzzer also sounds. The time to start monitoring is the end time of "prescription reception" or "prescription monitoring input" which is the management target initially set in the preparation execution management object setting file (FIG. 2), and this monitoring start time is compared with the present time. Time monitoring.

처방 데이터의 "행"과, "처방 수신"및 "처방 감사 입력" 등의 "열"과의 매트릭스에서의 "셀(cell)"에는, "열"에 대응하는 각 관리 데이터(도 7 내지 도 12)에서의 행 데이터의 "실행상황"을 표시한다. "셀"에 해당하는 각 조제가 없으면 공백이고, "대기", "실행중", "HH:MM(종료시각)" 또는 "취소"를 표시한다.In the "cell" in the matrix of "row" of prescription data and "column" such as "prescription reception" and "prescription audit input", each management data corresponding to "column" (FIGS. 7 to FIG. The execution status of the row data in 12) is displayed. If there is no preparation corresponding to "cell", it is blank and displays "waiting", "running", "HH: MM (end time)" or "cancel".

여기서, 조작자에 의해서 조작대상이 선택되었는가 아닌가를 판단한다(단계 S4). 처방 데이터의 "행"과, "처방 수신", "처방 감사 입력", 각 "조제기기"의 "열"과의 매트릭스에서의 "셀", 또는, 열 항목인, "처방 수신", "처방 감사 입력", 각 "조제기기"가 마우스로써 클릭되면("조제 실행상황 모니터" 화면(도 6)에서, 예로서, 처방 데이터 No. "0007"행과 "약봉지 1호"의 열의 "09:05" 셀이 클릭되기도 하고, 열 항목 "약봉지 1호"가 클릭되면), 조작대상이 선택된 것으로 판단하고, 선택항목을 반전(反轉) 표시한다(단계 S5).Here, it is determined whether or not an operation target has been selected by the operator (step S4). "Cell" in the matrix with "row" of prescription data, "prescription reception", "prescription audit input", "column" of each "preparation device", or "prescription reception" and "prescription" Audit entry ", when each" dispensing apparatus "is clicked with a mouse (" Preparation execution status monitor "screen (FIG. 6), for example, the" 09: row of prescription data No. "0007" and the column of "medicine bag 1" 05 " cell is clicked, and column item " drug bag No. 1 " is clicked), it is determined that the operation target is selected, and the selected item is displayed in reverse (step S5).

조작대상이 선택된 상태에서, "재발행" 버튼이 마우스로써 클릭되면(단계 S6), 실행관리 데이터의 재발행 플래그를 ON으로 한다(단계 S7). 여기서는, 선택한 "셀"에 해당하는 조제기기(2)의 실행관리 데이터(도 9 내지 도 12)에서의 해당하는 행 데이터의 "재발행 플래그"를 "ON"에 설정한다. 그리고, 단계 S3에 복귀해서 조제 실행상황의 표시의 갱신으로부터 반복한다.If the "reissue" button is clicked with a mouse in the state where the operation target is selected (step S6), the reissue flag of the execution management data is turned ON (step S7). Here, the "reissue flag" of the corresponding row data in the execution management data (FIGS. 9 to 12) of the preparation device 2 corresponding to the selected "cell" is set to "ON". Then, the process returns to step S3 and is repeated from the update of the display of the preparation execution status.

또한, "취소" 버튼이 마우스로써 클릭되면(단계 S8), 실행관리 데이터를 "취소"에 설정한다(단계 S9), 즉, 선택한 "셀"에 해당하는, 처방 감사관리 데이터(도 8), 조제기기 실행관리 데이터(도 9 내지 도 12)에서 해당하는 행 데이터의 "실행상황"이 "대기"의 경우만 "취소"를 설정하고[예로서, 처방 데이터 No. "0012" 행과 "처방 감사" 열의 "대기" 셀을 선택해서 취소하는 경우, 처방 감사관리 데이터(도 8)에서 처방 데이터 No. "0012"행의 "실행상황"의 "대기"를 "취소"에 설정한다], 상기와 마찬가지로, 단계 S3에 복귀해서 조제 실행상황의 표시의 갱신으로부터 반복한다. 단, "실행상황"이 "실행중" 및 종료의 경우, 취소는 할 수 없다.When the "Cancel" button is clicked with a mouse (step S8), the execution management data is set to "Cancel" (step S9), that is, the prescription audit management data (Fig. 8) corresponding to the selected "cell", Set "Cancel" only when the "execution status" of the corresponding row data in the preparation device execution management data (FIGS. 9 to 12) is "waiting" [for example, the prescription data No. When canceling by selecting the "wait" cell in the "0012" row and the "Prescription audit" column, the prescription data No. "Wait" in "execution status" in line "0012" is set to "cancel". Similarly to the above, the process returns to step S3 and is repeated from the updating of the display of the preparation execution status. However, if the "execution status" is "executing" and the end, it cannot be canceled.

또한, "정지/기동" 버튼이 마우스로써 클릭되면(단계 S10), 실행 프로세스에 정지/기동신호를 송신한다(단계 S11). 즉, 선택한 처방 수신, 처방 감사 입력, 조제기기(2)에 대응하는 실행 프로세스(도 13, 도 16, 도 18)에 정지/기동신호를 송신해서 처리를 정지/기동시킨다(예로서, 열 항목 "약봉지 1호"를 선택해서 정지시킨 경우, 약봉지 인쇄1호기에 대응하는 실행 프로세스(도 18)에 정지신호를 송신한다.). 그리고, 선택한 "처방 수신", "처방 감사 입력", "조제기기"의 상태표시란에"정지중"(예로서, 열 항목 "약봉지 1호"를 정지시킨 경우, "약봉지 1호"의 열의 "가동중" 표시(""표)를 "정지중" 표시로 변경한다), 또는 "가동중"을 표시하고(단계 S12), 상기와 마찬가지로, 단계 S3에 복귀해서 조제 실행상황의 표시의 갱신으로부터 반복한다. "처방 감사 입력" 및 "조제기기"에서의 대기 건수의 표시에 의해서, 각 조제 처리의 체류 정도를 알 수 있고, 약제사를 증원하는 등의 대처의 필요 여부를 판단할 수 있다.In addition, when the "stop / start" button is clicked with a mouse (step S10), the stop / start signal is transmitted to the execution process (step S11). That is, a stop / start signal is sent to the execution process (FIGS. 13, 16, 18) corresponding to the selected prescription reception, prescription audit input, and the preparation device 2 to stop / start the process (e.g., the column item When " Drug Bag No. 1 " is selected and stopped, a stop signal is sent to the execution process (Fig. 18) corresponding to the Drug Bag Printing No. 1). Then, in the status fields of the selected "prescription reception", "prescription audit input" and "preparation device", "stopping" (for example, if the column item "medicine bag No. 1" is stopped, the column of "medicine bag No. 1""Active" display (" "Table" is changed to "stopping" display) or "operating" is displayed (step S12), and the process returns to step S3 as described above and is repeated from the update of the display of the preparation execution status. By the display of the number of waiting times in the "input" and "preparation device", the degree of stay of each preparation process can be known, and it is possible to judge whether or not a countermeasure such as increasing the number of pharmacists is necessary.

또한, "종료" 버튼이 마우스로서 클릭되면(단계 S13), 조제 실행관리대상 설정파일(도 2)에 따라서 생성한 실행 프로세스(도 13, 도 16, 도 18)의 전부에 종료신호를 송신해서 처리를 종료시키고(단계 S14), 조제 실행관리의 처리를 종료해서 메뉴 화면(도시 생략)으로 복귀한다.When the "end" button is clicked with a mouse (step S13), the end signal is sent to all of the execution processes (FIGS. 13, 16, 18) generated according to the preparation execution management target setting file (FIG. 2). The process ends (step S14), and the process of preparation execution management ends, returning to a menu screen (not shown).

도 6에 나타내는 각 처방 데이터의 조제 실행상황을 참조해서, 구체적으로 어떠한 조작이 실행되었는가에 대해서 설명한다. 처방 데이터 No. "0006"에는 처방 데이터를 수신한 후, "처방 감사 입력"이 "대기" 상태일 때에 호스트 컴퓨터(12)로부터 삭제지령을 수신하고, 자동적으로 "처방 감사 입력" 이후의 조제 처리가 취소된 것이 표시되어 있다. 처방 데이터 No. "0007"에는 처방 데이터 No. "0006"의 수정 데이터로서 수신되고, "MM:HH" 표시의 각 시각에 조제기기(2)에서의 각 조제 처리가 종료된 것이 나타나 있다. 처방 데이터 No. "0009"에는, "처방 감사 입력"으로서 NG가 입력되고, 이 이후의 조제 처리가 실행되지 않은 것이 표시되어 있다. 또한, 감사 NG는 호스트 컴퓨터(12)에 송신되어, 그 후, 동일한 환자번호 "93027561"의 수정 데이터로서 처방 데이터 No. "0012"를 수신하고 있다. 처방 데이터 No. "0010"에는, "미"자에 의해서 미처리인 것과, "★"표에 의해서 감시시간 10분을 초과하고 있는 것이 각각 표시되어 있다. 각 조제 처리에서는 정제 분포1호기가 "실행중"으로서 "★"표가 있고, 그 원인은 오류번호 02 "분포지(分包紙) 부족"에 의한 정지인 것을 알 수 있다. 또한, 오류정보는 조제기기(2)로부터 수신하는 상태로써 취득한다.With reference to the preparation execution status of each prescription data shown in FIG. 6, what kind of operation was performed concretely is demonstrated. Prescription data No. &Quot; 0006 ", after receiving prescription data, received a delete instruction from the host computer 12 when " prescription audit input " was in the " standby " state and automatically canceled the dispensing process after " prescription audit input ". Is indicated. Prescription data No. "0007" includes prescription data No. It is received as correction data of "0006", and it shows that each preparation process in the preparation apparatus 2 was complete | finished at each time of the "MM: HH" display. Prescription data No. In "0009", NG is input as "prescription audit input", and it is displayed that the preparation process after that is not performed. In addition, the audit NG is transmitted to the host computer 12, and thereafter, the prescription data No. is used as correction data of the same patient number "93027561". "0012" is being received. Prescription data No. In "0010", the unprocessed by the "US" character and the thing exceeding 10 minutes of monitoring time are shown by the "*" table, respectively. In each preparation process, it is found that the purification distribution unit 1 has a "★" mark as "running", and the cause thereof is a stop due to error number 02 "lack of distribution paper". In addition, the error information is obtained in a state of receiving from the preparation device 2.

그런데, 상기 단계 S1에 있어서의 실행관리 데이터의 생성은 구체적으로 다음과 같이 실행한다.By the way, the generation of the execution management data in the step S1 is specifically executed as follows.

우선, 조제 실행관리대상 설정파일의 일례(도 3) 중에서, 관리대상 1의 "처방 수신"에 따라서, "처방 수신"의 실행을 관리하기 위한 데이터인, 처방 수신관리 데이터(도 7)를 생성한다. 처방 수신관리 데이터의 기억내용은 도 6에 나타내는 "조제 실행상황 모니터" 화면의 "처방 수신"의 열(列)에 표시한다.First, among the example of the preparation execution management object setting file (FIG. 3), according to "prescription reception" of the management object 1, prescription reception management data (FIG. 7) which is data for managing execution of "prescription reception" is produced | generated. do. The stored contents of the prescription reception management data are displayed in the column of "Prescription reception" on the "Preparation execution status monitor" screen shown in FIG.

또한, 관리대상 2의 "처방 감사 입력"에 따라서, "처방 감사 입력"의 실행을 관리하기 위한 데이터인 처방 감사관리 데이터(도 8)를 생성하고, "조제 실행상황 모니터" 화면(도 6)의 "처방 감사"의 열에 표시한다.In addition, according to "prescription audit input" of management object 2, prescription audit management data (FIG. 8) which is data for managing execution of "prescription audit input" is generated, and the "preparation execution status monitor" screen (FIG. 6). In the column of "prescription audit".

또한, 관리대상 3의 "약봉지 인쇄기"(1대)에 따라서, 약봉지 인쇄1호기 실행관리 데이터(도 9)를 생성하고, 관리대상 4의 "정제 분포기"(2대)에 따라서 정제 분포1호기 실행관리 데이터(도 10)와 정제 분포2호기 실행관리 데이터(도 11)를 생성하며, 관리대상 5의 "산제 분포기"(1대)에 따라서 산제 분포1호기 실행관리 데이터(도 12)를 생성한다. 그리고, 생성 직후의 각 실행관리 데이터에는 행 데이터 전혀 없는 공백 상태로 되어 있다.In addition, the medicine bag printing machine # 1 execution management data (FIG. 9) is produced | generated according to the "medicine bag printing machine" (1 unit) of management object 3, and tablet distribution 1 according to the "tablet distribution machine" (2 units) of management object 4 Generates aerobic execution management data (FIG. 10) and refined distribution unit 2 execution management data (FIG. 11), and according to the "powder distribution machine" (one unit) of management target 5, the powder distribution unit 1 execution management data (FIG. 12) Create Each execution management data immediately after creation is left blank with no row data.

그리고, 상기 단계 S1에 있어서의 실행 프로세스의 생성은, 상기 실행관리 데이터의 생성과 마찬가지로, 관리대상 1 "처방 수신", 관리대상 2 "처방 감사 입력"과 함께, 관리대상 3 "약봉지 인쇄기"(1대), 관리대상 4 "정제 분포기"(2대), 및 관리대상 5 "산제 분포기"(1대)에 따라서 실행한다. 그리고, 이하에 나타내는 "처방 수신", "처방 감사 입력", "조제기기 실행"의 각 처리를 개시한다.The generation of the execution process in step S1 is similar to the generation of the execution management data, with management object 3 "prescription reception input" and management object 2 "prescription audit input", and management object 3 "medicine bag printing machine" ( 1 unit), management target 4 "tablet distributor" (2 units), and management target 5 "powder distributor" (1 unit). And each process of "prescription reception", "prescription audit input", and "execution apparatus execution" shown below is started.

"처방 수신" 처리는 조제 실행관리대상 설정파일(도 2)에 관리대상 1인 "처방 수신"이 설정되어 있는 경우, 도 13에 나타내는 실행 프로세스를 생성해서 "처방 수신"의 처리를 개시한다.In the "prescription reception" process, when "prescription reception" which is management object 1 is set in the preparation execution management object setting file (FIG. 2), the execution process shown in FIG. 13 is produced | generated, and a process of "prescription reception" is started.

처방 수신처리에서는, 우선, 호스트 컴퓨터(12)로부터 처방 데이터를 수신했는가 아닌가를 판단한다(단계 S100). 호스트 컴퓨터(12)로부터 처방 데이터를 수신하지 않았으면, "실행관리신호 수신" 수속을 불러낸다(단계 S101).In the prescription reception process, first, it is judged whether or not prescription data has been received from the host computer 12 (step S100). If the prescription data has not been received from the host computer 12, the procedure of "receiving execution management signal" is called (step S101).

"실행관리신호 수신"에서는, 도 14에 나타낸 바와 같이, 우선, 정지신호를 수신했는가 아닌가, 즉, 조제 실행상황 모니터 화면(도 6)에서 "정지" 버튼이 마우스로써 클릭되었는가 아닌가를 판단한다(단계 S200). 정지신호를 수신하면, 조제 실행관리(도 5)로부터 기동신호를 수신할 때까지 대기한 후(단계 S201), 단계 S100에 복귀한다. 요컨데, 처방 데이터를 수신하지 않은 상태에서, 정지신호를 수신하면, 기동신호를 수신하지 않는 한, 처방 수신은 재개되지 않는다. 또한, 정지신호를 수신하지 않았으면, 종료신호를 수신하였는가 아닌가를 판단한다(단계 S202). 종료 신호를 수신하지 않았으면, 상기와 마찬가지로 단계 S100에 복귀한다. 결국, 처방 데이터를 수신하지 않은 상태에서 종료신호를 수신한 경우에 한해서, 처방 수신이 종료된다. 또한, "실행관리신호 수신"은 조제 실행관리로부터의 신호를 수신하기 위한 공통 처리이고, 이하에 설명하는 "처방 감사 입력"의 처리(도 16), "조제기기 실행"의 처리(도 18)에서도 마찬가지로 상기 도 14에 나타내는 처리를 실행한다.In " execution management signal reception ", first, as shown in Fig. 14, it is first judged whether or not a stop signal has been received, that is, whether or not the " Stop " button has been clicked on by the mouse on the preparation execution status monitor screen (Fig. 6) ( Step S200). When the stop signal is received, the process waits until the start signal is received from the preparation execution management (Fig. 5) (step S201), and returns to step S100. In other words, if a stop signal is received without receiving prescription data, prescription reception is not resumed unless a start signal is received. If the stop signal has not been received, it is determined whether or not the end signal has been received (step S202). If the end signal has not been received, the process returns to step S100 as above. As a result, prescription reception is terminated only when an end signal is received without receiving prescription data. In addition, "execution management signal reception" is a common process for receiving a signal from preparation execution management, the processing of "prescription audit input" (FIG. 16) and the "execution apparatus execution" process described below (FIG. 18) In the same manner, the processing shown in FIG. 14 is executed.

한편, 상기 단계 S100에서, 호스트 컴퓨터(12)로부터 처방 데이터를 수신하였으면, 수신한 처방 데이터를 처방전 파일(도 4)에 기록한다(단계 S102). 또한, 호스트 컴퓨터(12)로부터의 수신 데이터는, 통신 데이터량을 적게 하기 위해서, 각종 코드만으로서 구성되어 있으므로, 처방 데이터의 내용을 표시할 때에는, 각종 코드를 검색키로 하여 각종 마스터 파일로부터 명칭 데이터 등의 판독처리가 실행된다. 예로서, 수신 데이터내에는 약제 코드 "シヨウエ"로 밖에 저장되어 있지 않으므로, 약제 명칭 "정제(錠劑) A"는 약제 마스터 파일로부터 판독해 내야 한다. 또한, 약제 코드는, 약제사가 입력하기 쉽도록, 약제의 약칭(略稱)으로부터 탁점(濁点)을 제외하고 단축한 약제 마다의 하나의 코드이다(예로서, "ジョウザイエ-(정제 A)"는 "シヨウエ"로 한다). 또한, 처방 데이터의 형식은 도4에 나타낸 바와 같고, 처방 데이터에 뒤따르는 호스트지령은 "구분"에 설정한다. 그리고, 처방 데이터의 내용은 처방 데이터 감사 입력 화면(도 19)에서의 키보드 및 마우스에 의한 입력으로써 임의로 변경할 수 있고, 그 변경내용은 처방전 파일(도 4)에 기록된다.On the other hand, if the prescription data is received from the host computer 12 in step S100, the received prescription data is recorded in the prescription file (FIG. 4) (step S102). In addition, since the received data from the host computer 12 is composed of only various codes in order to reduce the amount of communication data, when displaying the contents of prescription data, name data from various master files using various codes as search keys. Read processing such as the above is executed. For example, since only the drug code "Shiwe" is stored in the reception data, the drug name "Tablet A" must be read out from the drug master file. The drug code is one code for each drug that is shortened from the abbreviation of the drug to remove the turbidity point so that the pharmacist can easily enter it (for example, "Joo Wye- (tablet A)" is "Shi Wee"). The format of the prescription data is as shown in Fig. 4, and the host command following the prescription data is set to " division ". The contents of the prescription data can be arbitrarily changed by input by the keyboard and mouse on the prescription data audit input screen (FIG. 19), and the changes are recorded in the prescription file (FIG. 4).

이어서, 호스트지령의 종류를 판단한다(단계 S103). 호스트지령이 "수정"이면, 처방전 파일(도 4)내에서부터 수정하기 전의 처방 데이터를 검색하고, 그 처방 데이터가 호스트로부터 미리 "삭제" 지령을 수신하지 않은 것이면 삭제처리를 실행한다(단계 S104). 즉, 처방전 파일(도 4)의 "구분"에 "삭제"를 설정하고, 실행관리 데이터(도 8 내지 도 12)의 "실행상황"에서 "대기"를 "취소"에 설정한다. 그리고, 처방 수신관리 데이터(도 7)의 최종으로, "실행상황"에 HHMMSS 형식의 종료시각을 설정한 행 데이터를 추가함으로써 수정처리를 완료한다(단계 S106). 또한, 호스트지령이 "삭제"이면, 삭제를 지령받은 처방 데이터에 해당하는 행 데이터의 "실행상황"이 취소 가능한 "대기" 상태의 경우에 실행관리 데이터(도 8 내지 도 12)를 "취소"에 설정함으로써 삭제처리를 완료한다(단계 S105). 그리고, 단계 S100으로 복귀해서 처방 데이터의 수신으로부터 반복한다. 또한, 호스트지령이 "통상"이면, 상기 단계 S104를 실행하지 않고 상기 단계 S106으로 진행한다.Next, the type of host command is determined (step S103). If the host command is " modified ", the prescription data before correction is searched from within the prescription file (FIG. 4), and if the prescription data has not received the "delete" command from the host in advance, the delete process is executed (step S104). . That is, "delete" is set to "division" of the prescription file (FIG. 4), and "wait" is set to "cancellation" in "execution status" of the execution management data (FIGS. 8 to 12). Then, at the end of the prescription reception management data (Fig. 7), the correction processing is completed by adding the row data in which the end time of the HHMMSS format is set to the "execution status" (step S106). If the host command is "delete", the execution management data (Figs. 8 to 12) is "cancelled" in the case of the "waiting" state where the "execution status" of the row data corresponding to the prescription data commanded to be deleted is cancelable. The deletion processing is completed by setting to (step S105). The process then returns to step S100 to repeat from the reception of the prescription data. If the host command is " normal ", the process proceeds to the step S106 without executing the step S104.

이와 같이, 호스트지령의 내용에 따라서 자동적으로 또한 신속하게 실행관리 데이터를 재기록할 수 있으므로, 낭비적인 조제가 그대로 속행됨이 없이 즉석에서 중지되고, 약제 손실이 억제된다.In this way, the execution management data can be rewritten automatically and quickly in accordance with the contents of the host command, so that wasteful preparation is immediately stopped without continuing, and drug loss is suppressed.

이어서, 조제 실행관리대상 설정파일(도 2)에 관리대상 2인, "처방 감사 입력"이 있는가 없는가를 판단한다(단계 S107). "처방 감사 입력"이 있으면, 처방 감사관리 데이터를 추가한다(단계 S108). 즉, 처방 감사관리 데이터(도 8)의 최종에, "실행상황"을 "대기"에 설정한 행 데이터(예로서, 도 8중에서 처방 데이터 No. "0012" 참조)를 추가하고, 상기 단계 S100에 복귀해서 처방 데이터 수신으로부터 반복한다. 한편, 관리대상 2인 "처방 감사 입력"이 설정되어 있지 않으면, "조제기기 실행관리 데이터의 추가" 수속을 호출하여, 조제기기 실행관리 데이터를 추가한 후(단계 S109), 상기 단계 S100에 복귀해서 처방 데이터 수신으로부터 반복한다.Subsequently, it is judged whether or not there is "prescribed audit input" of two management targets in the preparation execution management target setting file (FIG. 2) (step S107). If there is "prescription audit input", prescription audit management data is added (step S108). That is, at the end of the prescription audit management data (FIG. 8), the row data (for example, refer to the prescription data No. " 0012 " in FIG. 8) in which " execution status " is set to " wait " The process returns to and repeats from receiving prescription data. On the other hand, if "prescription audit input", which is the management target 2, is not set, the procedure "Adding the preparation equipment execution management data" is called to add the preparation equipment execution management data (step S109), and then returns to the step S100. Repeat from the prescription data reception.

상기 "조제기기 실행관리 데이터의 추가"의 처리에서는, 도 15의 플로우 차트에 나타낸 바와 같이, 우선, 약봉지 인쇄기가 있는가 없는가를 판단한다(단계 S300). 조제 실행관리대상 설정파일(도 2)에 관리대상 3인 "약봉지 인쇄기"가 1대 이상 설정되어 있으면, 약봉지 인쇄기가 있는 것으로 판단하고, 약봉지 인쇄기ㆍ실행관리 데이터를 추가한다(단계 S301). 약봉지 인쇄기가 여러 대 있는 경우는 처리 부하가 균등하게 되도록, 게다가 "정지중" 상태인 기기를 피해서 기기를 결정한다. 그리고 그 기기에 대응하는 약봉지 인쇄기 실행관리 데이터(도 9)의 최종에, "실행상황"을 "대기"에 설정한 행 데이터를 추가한다. 단, 이후에 설명하는 처방 감사 입력의 처리(도 16)에서 감사 NG의 경우(단계 S406)에, 호출되었을 때는 "실행상황"을 "없음"에 설정한 행 데이터를 추가한다(예로서, 도 9에서 처방 데이터 No. "0009" 참조).In the process of " addition of preparation equipment execution management data ", as shown in the flowchart of Fig. 15, it is first judged whether or not there is a medicine bag printing machine (step S300). If one or more "medicine bag printing presses" of management target 3 are set in the preparation execution management object setting file (FIG. 2), it is determined that there is a medicine bag printing machine, and the medicine bag printing machine and execution management data are added (step S301). In the case of multiple medicine bag printing machines, the machine is determined by avoiding the "stopping" machine in order to equalize the processing load. Then, at the end of the medicine bag printing machine execution management data (Fig. 9) corresponding to the device, the line data in which "execution status" is set to "wait" is added. However, in the case of the audit NG (step S406) in the process of processing the prescription audit input described later (step S406), when called, the row data in which "execution status" is set to "none" is added (for example, FIG. 9 see prescription data No. "0009").

한편, 상기 단계 S300에서, 약봉지 인쇄기가 없다고 판단되면(관리대상 3인 "약봉지 인쇄기"가 1대도 설정되어 있지 않은 경우), 정제 분포기가 있는가 없는가를 판단한다(단계 S302). 조제 실행관리대상 설정파일(도 2)에 관리대상 4인, "정제 분포기"가 1대 이상 설정되어 있으면, 정제 분포기가 있는 것으로 판단하고, 정제 분포기 실행관리 데이터에 추가한다(단계 S303). 처방 데이터의 약제 중에 정제 분포기로써 분할포장하는 데이터가 있는 경우(약제의 형태 코드가 "정제로 분포"인가 "캡슐제로 분포"인가로써 판단)는, 정제 분포기가 여러 대 있을 때는 처리 부하가 균등하게 되도록, 게다가 "정지중" 상태인 기기를 피해서 기기를 결정하고, 그 기기에 대응하는 정제 분포기 실행관리 데이터(도 10, 도 11)의 최종에, "실행상황"을 "대기"에 설정한 행 데이터를 추가한다. 처방 데이터의 약제 중에 해당하는 데이터가 없는 경우는, 정제 분포기 실행관리 데이터(도 10, 도 11)의 최종에, "실행상황"을 "없음"에 설정한 행 데이터(예로서, 도 10에서 처방 데이터 No. "0011" 참조)를 추가한다. 이후에 설명하는 "처방 감사 입력"의 감사 NG의 처리(도 16; 단계 S406)에서 호출된 경우도 "실행상황"을 "없음"에 설정한다.On the other hand, if it is determined in step S300 that there is no medicine bag printing machine (when one "medicine bag printing machine" which is the management target 3 is not set), it is determined whether there is a tablet distribution machine (step S302). If one or more "tablet distributors" of four management targets are set in the preparation execution management target setting file (FIG. 2), it is determined that there is a tablet distributor and added to the tablet distributor execution management data (step S303). . If the drug in the prescription data contains data that is divided and packaged with a tablet dispenser (determined by the type distribution of the drug as "tablet" or "capsule"), the processing load is equal when there are several tablets. Furthermore, the device is determined to avoid the device in the "stopping" state, and the "execution status" is set to "standby" at the end of the tablet distributor execution management data (Figs. 10 and 11) corresponding to the device. Add one row of data. If there is no corresponding data in the medicine of the prescription data, the row data ("for example, in FIG. 10") set "execution status" to "none" at the end of the tablet distribution machine execution management data (FIGS. 10 and 11). Add prescription data No. "0011"). The "execution status" is also set to "none" even when called in the process of audit NG of "prescription audit input" described later (Fig. 16; step S406).

한편, 상기 단계 S302에서 정제 분포기가 없다고 판단하면(관리대상 4인 "정제 분포기"가 1대도 설정되어 있지 않은 경우), 산제 분포기가 있는가 없는가를 판단한다(단계 S304). 조제 실행관리대상 설정파일(도 2)에 관리대상 5인 "산제 분포기"가 1대 이상 설정되어 있으면, 산제 분포기가 있는 것으로 판단하고, 산제 분포기 실행관리 데이터에 추가한다(단계 S305). 관리대상 5인 "산제 분포기"가 1대도 설정되어 있지 않으면, 상기 단계 S305를 실행하지 않고 단계 S100에 복귀한다. 상기 산제 분포기 실행관리 데이터에의 추가에서는, 처방 데이터의 약제 중에 산제 분포기로써 분할포장하는 데이터가 있는 경우(약제의 형태 코드가 "산제로 분포"인가로써 판단)는, 산제 분포기가 여러 대 있을 때는 처리 부하가 균등하게 되도록, 게다가 "정지중" 상태인 기기를 피해서 기기를 결정하고, 그 기기에 대응하는 산제 분포기 실행관리 데이터(도 12)의 최종에, "실행상황"을 "대기"에 설정한 행 데이터(예로서, 도 12에서 처방 데이터 No. "0011" 참조)를 추가한다. 처방 데이터의 약제 중에 해당하는 데이터가 없는 경우, 및 "처방 감사 입력"의 감사 NG의 처리에서 호출된 경우, 산제 분포기 실행관리 데이터(도 12)의 최종에, "실행상황"을 "없음"에 설정한 행 데이터를 추가한다.On the other hand, if it is determined in step S302 that there is no tablet distributor (when one "tablet distributor" which is the management target 4 is not set), it is determined whether there is a powder distributor (step S304). If one or more "powder distributors" which are the management targets 5 are set in the preparation execution management target setting file (FIG. 2), it is determined that there is a powder distribution machine, and it is added to the powder distribution machine execution management data (step S305). If one "product powder distributor" of management target 5 is not set, the process returns to step S100 without executing step S305. In addition to the powder dispenser execution management data, when there is data to be separately packaged with the powder dispenser in the medicine of the prescription data (determined by the type code of the drug is "distributed to the powder"), the powder spreader is divided into several units. In addition, the device is determined to avoid the device in the "stopping" state so as to equalize the processing load, and at the end of the powder dispenser execution management data (Fig. 12) corresponding to the device, the " waiting state " ", And add the row data (for example, refer to prescription data No." 0011 "in FIG. 12). When there is no corresponding data in the medicine of the prescription data, and when it is called in the process of the audit NG of "prescription audit input", the "execution status" is "none" at the end of the powder dispenser execution management data (FIG. 12). Add the row data set in.

또한, 상기 "조제기기 실행관리 데이터의 추가"는, 조제기기(2)의 장비 상황으로부터 판단해서 조제기기 실행관리 데이터(도 9 내지 도 12)에 행 데이터를 추가하는 공통 처리이고, 이하에 설명하는 "처방 감사 입력"의 처리(도 16)에서도 마찬가지의 처리를 실행한다. 그리고, 기타의 기종을 갖추는 경우는, 그 기종이 있는가 없는가의 판단 단계와, 그 기종의 실행관리 데이터에 추가하는 단계를 하나의 조합으로 해서 추가한다.The "addition of the preparation equipment execution management data" is a common process of adding row data to the preparation equipment execution management data (FIGS. 9 to 12) by judging from the equipment status of the preparation equipment 2, and will be described below. The same processing is also performed in the process of "prescribed audit input" (FIG. 16). When other models are provided, a determination step of whether there is a model and a step of adding to the execution management data of the model are added as one combination.

"처방 감사 입력" 처리는 조제 실행관리대상 설정파일(도 2)에 관리대상 2인, "처방 감사 입력"이 설정되어 있는 경우, 도 16에 나타내는 실행 프로세스를 생성해서 "처방 감사 입력"의 처리를 개시한다.The "prescribed audit input" process is performed when the "prescribed audit input" of 2 to be managed is set in the preparation execution management target setting file (FIG. 2), and generates the execution process shown in FIG. To start.

"처방 감사 입력"의 처리에서는, 우선, 처방 감사 입력 단말장치(6a)에 데이터 입력란이 모두 공백인 초기상태에서 "처방 감사 입력" 화면(도 19)을 표시한다(단계 S400). 또한, 조제일에는 캘린더 시계(9)가 나타내는 오늘의 날짜가 표시된다.In the process of "prescription audit input", first, the prescription audit input terminal apparatus 6a displays the "prescription audit input" screen (FIG. 19) in the initial state in which all data input fields are blank (step S400). In addition, on the preparation date, today's date indicated by the calendar clock 9 is displayed.

그리고, 처방 감사관리 데이터(도 8)에서 "실행상황"이 "대기" 상태의 행 데이터를 검색하고(단계 S401), 그 행 데이터를 처리대상으로 한다. 해당하는 행 데이터가 없으면, 이후에 설명하는 신규 입력 판단(단계 S413)으로 진행하고, 해당하는 행 데이터가 있으면, 그 행 데이터의 "실행상황"을 "실행중"에 설정한다(단계 S402).Then, in the prescription audit management data (FIG. 8), the row data in which the " execution status " is " standby " If there is no corresponding row data, it proceeds to the new input judgment (step S413) described later, and if there is corresponding row data, the "execution status" of the row data is set to "running" (step S402).

이어서, 검색한 행 데이터의 "처방 데이터 No."를 사용해서 처방전 파일(도 4)에서 처방 데이터를 판독하고, 그 내용을 "처방 감사 입력" 화면(도 19)에 표시한다(단계 S403). 표시내용은, 약제사가 약학적인 관점에서 감사하기 위해서 사용한다.Next, the prescription data is read from the prescription file (FIG. 4) using the "prescription data No." of the retrieved row data, and the content is displayed on the "prescription audit input" screen (FIG. 19) (step S403). The labeling information is used by a pharmacist to thank from a pharmacological point of view.

감사한 결과, 문제가 없으면 "감사 OK" 버튼을 마우스로 클릭함으로써(단계 S404), 처방 감사관리 데이터 "종료" 설정으로 진행하고, 검색한 행 데이터의 "실행상황"에 HHMMSS 형식의 종료시각을 설정한다(단계 S405). 감사 OK의 처방 데이터에 대해서는, 이후에 설명하는 조제기기 실행처리(도 18)에 따라서 각 조제기기(2)를 동작시킨다. 또한, 감사한 결과, 문제가 있으면, "감사 NG" 버튼을 마우스로 클릭함으로써(단계 S406), 처방 감사관리 데이터 "취소" 설정으로 진행하고, 검색한 행 데이터의 "실행상황"에 "취소"를 설정하여, 해당하는 처방 데이터의 처방전 파일(도 4)내의 "구분"을 "감사 NG 취소"에 설정한다(단계 S407).As a result of the audit, if there is no problem, by clicking on the "Audit OK" button with a mouse (step S404), the procedure proceeds to the setting of the prescription audit management data "end", and the end time of the HHMMSS format is set in the "execution status" of the retrieved row data. (Step S405). Regarding the prescription data for the audit OK, each of the preparation devices 2 is operated according to the preparation device execution process (FIG. 18) described later. In addition, if there is a problem as a result of the audit, by clicking on the "Audit NG" button with a mouse (step S406), the procedure proceeds to "Cancel" of prescription audit management data, and "Cancel" in the "execution status" of the retrieved row data. Is set, and the "division" in the prescription file (FIG. 4) of the corresponding prescription data is set to "audit NG." (Step S407).

이어서, "조제기기 실행관리 데이터의 추가" 수속(도 15)을 호출하고, 상기와 마찬가지의 처리를 실행한다(단계 S408). 그리고, 감사 결과의 송신이 필요한가 아닌가를 판단한다(단계 S409). 조제 실행관리대상 설정파일(도 2)의 관리대상 2인 "처방 감사 입력"의 "파라미터"가 1인 경우, 감사 결과의 송신이 필요한 것으로 판단해서, 호스트 컴퓨터(12)에 처방 데이터의 감사 결과(OK/NG)를 송신하고(단계 S410), 상기 단계 S401에 복귀해서 처방 감사관리 데이터 "대기" 판단으로부터 반복한다.Subsequently, a procedure of "adding the preparation device execution management data" (FIG. 15) is called, and the same processing as above is executed (step S408). Then, it is judged whether or not the transmission of the audit result is necessary (step S409). When the "parameter" of "prescribed audit input" that is the management target 2 of the preparation execution management target setting file (FIG. 2) is 1, it is determined that transmission of the audit result is necessary, and the audit result of prescription data is transmitted to the host computer 12. (OK / NG) is transmitted (step S410), and the process returns to step S401 and is repeated from the prescription audit management data " wait " determination.

이와 같이, 감사 결과를 호스트 컴퓨터(12)에 송신함으로써, 호스트 컴퓨터 (12)측에서 의사(醫事)회계처리를 개시하기도 하고, 의사에게 처방 변경을 요구하는 시스템을 호스트 컴퓨터측에 구축하는 것도 가능하다.In this way, by sending the audit result to the host computer 12, the host computer 12 may initiate a pseudo accounting process, and a system for requesting a doctor to change the prescription may be constructed on the host computer side. Do.

또한, 감사한 결과, "감사 OK" 버튼 및 "감사 NG" 버튼의 어느 것도 클릭되지 않고 "취소" 버튼이 클릭되면(단계 S411), 검색한 행 데이터의 "실행상황"을 "대기"에 설정하고(단계 S412), 이 처방 데이터를 뒤로 돌려서 상기 단계 S401에 복귀해서 처방 감사관리 데이터 "대기" 판단으로부터 반복함으로써, "대기" 상태에 있는 별개의 처방 데이터의 내용이 표시된다.Also, as a result of auditing, if neither the "Audit OK" button nor the "Audit NG" button is clicked but the "Cancel" button is clicked (step S411), the "execution status" of the retrieved row data is set to "wait". (Step S412), the prescription data is turned back and the process returns to the above-mentioned step S401 to be repeated from the prescription audit management data "wait" judgment, whereby the contents of the separate prescription data in the "wait" state are displayed.

이후에, 상기 단계 S401에서 "실행상황"이 "대기" 상태의 행 데이터가 아니고 "신규 입력" 버튼이 클릭되면(단계 S413), 임의의 처방 데이터를 환자번호부터 신규로 입력한다(단계 S415).Subsequently, if the "execution status" is not the row data of the "wait" state in step S401 and the "new input" button is clicked (step S413), arbitrary prescription data is newly inputted from the patient number (step S415). .

이 경우, 예로서, 환자번호 "93027561"이라고 키보드 입력하면, 환자명(가나, 한자), 성별, 생년월일이 환자 마스터 파일로부터 판독되어 표시된다. 년령은 생년월일과 오늘의 날짜로부터 자동적으로 계산되어 표시된다. 교환번호는, 외래 환자의 경우만, 회계 종료시에 미리 건네준 "약품 교환권"의 번호이다. 이 처방 데이터(도 19)의 예에서는 처방전 구분이 "03" 입원임시이고(입원 환자), 교환번호는 의미가 없으므로 "0000"이라고 입력한다. 진료과, 의사, 병동, 처방전 구분은, 각 코드를 입력하면, 대응하는 각종 마스터 파일로부터 명칭 데이터가 판독되어 표시된다(예로서, 진료과로서 코드 "01"을 입력하면 "내과"라고 표시된다). "처방 No."란은, 약제(복수 가능)와 용법이 하나의 조합으로 된 "처방 "의 연속 번호이다. 이 "처방"은 복수개의 입력이 될 수 있다. "코드" 입력란은, 약제 코드 또는 용법 코드를 입력하기 위한 난이다. 코드를 입력하면 약제 마스터 파일 또는 용법 마스터 파일로부터 명칭 데이터가 판독되어 표시된다. "코드" 입력란은, 통상은 약제 코드를 입력하는 것이지만(예로서 "シヨウエ"), 선두에 "/" 기호를 입력하면, 이후에 용법 코드를 입력한다(예로서 "301". 그리고, 용법 코드 "301"에 대응하는 용법명이 "분3 조ㆍ주ㆍ석 식후"). 또한, 용법 코드를 입력한 용법행에서는, 용법명이 표시된 후, "일수" 입력란이 표시되어 일수를 입력한다(예로서 "7일분"). "용량" 란은 그 약제의 1일량을 입력하기 위한 난이다. 단위(정, CAP;캡슐, g, ml 등)는 약제 마스터 파일로부터 판독되어 표시된다. "복용 시기" 란은, 1일량인 용량을 복용 시기마다로 분할한 1회량을 이력하기 위한 난이다. 1회량은, 정제, 캡슐제, 환제(丸劑) 등의 고형제제의 경우는 개수(정수(錠數))이지만, 산제의 경우는 그램 수이다. "형태" 란의 형태 코드는 약제 마스터 파일로부터 판독되어 표시된다. 형태 코드라는 것은, 조제 작업에서 약제를 형태로 분류하기 위한 코드이다. "분포"는 약제 공급기로부터 자동적으로 공급해서 포장하는 것을 의미하고. "가열 밀봉(heat seal)"은 제약 메이커에서 포장된 가열 밀봉 포장인 채로 환자에 인도하는 것을 의미한다. "정제로서 분포"=11, "정제로서 가열 밀봉"=13, "캡슐제로서 분포"=14, "캡슐제로서 가열 밀봉"=16, "산제로서 분포"=17, "산제로서 가열 밀봉"=19 등을 입력한다.In this case, for example, if the keyboard is inputted with the patient number "93027561", the patient name (Kana, Kanji), sex, and date of birth are read and displayed from the patient master file. The age is automatically calculated and displayed from the date of birth and today's date. The exchange number is the number of the "drug exchange ticket" handed in advance at the end of the accounting only in the case of an outpatient. In the example of this prescription data (FIG. 19), since prescription classification is "03" hospitalization admitted (inpatient), and exchange number is meaningless, it inputs "0000". In the department of medical treatment, a doctor, a ward, and a prescription, name code is read and displayed from various corresponding master files when each code is input (for example, when the code "01" is input as a department of medical treatment, "medical" is displayed). The "prescription No." is a sequential number of "prescription" in which a chemical | medical agent (plural number) and a usage are combined. This "prescription" may be a plurality of inputs. The "code" input box is a column for inputting a medicine code or a usage code. If a code is entered, name data is read and displayed from the medicine master file or the usage master file. In the "code" input box, normally, a medicine code is input (for example, "シ ヨ ウ エ"), but when a "/" symbol is input at the head, a usage code is input later (for example, "301". The usage name corresponding to "301" is "three minutes, three weeks, one meal after dinner"). In the usage line in which the usage code is input, after the usage name is displayed, the "days" input field is displayed and the number of days is input (for example, "7 days"). The "dose" column is a column for inputting the daily amount of the medicine. Units (tablets, CAP; capsules, g, ml, etc.) are read and displayed from the drug master file. The "dose time" column is a column for recording the 1-time amount divided | segmented into every dose time which is a daily amount. In the case of solid preparations such as tablets, capsules, pills, and the like, the amount is once (integer), but in the case of powder, it is grams. The form code in the "Form" column is read from the medication master file and displayed. The form code is a code for classifying drugs into forms in the preparation operation. "Distribution" means automatically feeding and packaging from a drug supply. "Heat seal" means delivery to a patient as a packed heat seal package at a pharmaceutical manufacturer. "Distribution as a tablet" = 11, "Heat seal as a tablet" = 13, "Distribution as a capsule" = 14, "Heat seal as a capsule" = 16, "Distribution as a powder" = 17, "Heat seal as a powder" Enter == 19.

이어서, "감사 OK" 버튼이 클릭되면(단계 S416), 입력한 처방 데이터를 처방전 파일(도 4)에 기록한다(단계 S418). 감사 OK의 처방 데이터에 대해서는 이후에 설명하는 조제기기 실행처리(도 18)에 따라서 각 조제기기(2)를 동작시킨다. 조제 실행관리대상 설정파일(도 2)에 관리대상 1인 "처방 수신"이 설정되어 있으면(단계 S420), 처방 수신관리 데이터(도 7)의 최종에 "실행상황"을 "없음" 상태에 설정한행 데이터를 추가한다(단계 S421). 그리고, 처방 감사관리 데이터(도 8)의 최종에 HHMMSS 형식의 종료시각을 설정한 행 데이터를 추가한다(단계 S422). 한편, 상기 단계 S416에서 "감사 OK" 버튼이 클릭되지 않고, "취소" 버튼이 클릭되면(단계 S417), 입력중인 처방 데이터의 표시를 소거하고(단계 S419), 상기 단계 S401에 복귀해서 처방 감사관리 데이터 "대기" 판단으로부터 반복하여, 호스트 컴퓨터(12)로부터 "대기" 상태에 있는 처방 데이터의 내용을 표시한다.Next, when the "audit OK" button is clicked (step S416), the input prescription data is recorded in the prescription file (FIG. 4) (step S418). Regarding the prescription data of the audit OK, each of the preparation devices 2 is operated according to the preparation device execution process (Fig. 18) described later. If "prescription reception" as the management target 1 is set in the preparation execution management target setting file (FIG. 2) (step S420), the "execution status" is set to "none" at the end of the prescription reception management data (FIG. 7). One row of data is added (step S421). Then, at the end of the prescription audit management data (Fig. 8), the row data in which the end time of the HHMMSS format is set is added (step S422). On the other hand, if the "Audit OK" button is not clicked in step S416 and the "Cancel" button is clicked (step S417), the display of the prescription data being input is erased (step S419), and the step returns to step S401, and the prescription audit is performed. From the management data " waiting " determination, the contents of the prescription data in the " waiting " state are displayed from the host computer 12. FIG.

또한, 어느 버튼도 클릭되지 않으면, 상기와 마찬가지로, "실행관리신호 수신" 수속(도 14)을 호출하고(단계 S414), 상기 단계 S401에 복귀해서 처방 감사관리 데이터 "대기" 판단으로부터 반복한다.If no button is clicked on, the procedure of "receiving execution management signal" (FIG. 14) is called (step S414), and the process returns to the step S401 and repeats from the determination of the management data "waiting".

"조제기기 실행" 처리는 조제 실행관리대상 설정파일(도 2)에, 관리대상 3인 "약봉지 인쇄기", 관리대상 4인 "정제 분포기", 또는 관리대상 5인 "산제 분포기"가 설정되어 있는 경우, 도 18에 나타내는 실행 프로세스를 생성해서 "조제기기 실행"의 처리를 개시한다. 조제 실행관리대상 설정파일의 일례(도 3)에서는, 각각의 조제기기마다 조제기기 실행 프로세스를 합계 4개 생성하고, 처리대상인 각 실행관리 데이터에 실행상황을 기록한다.The "execution machine execution" processing is set in the preparation execution management target setting file (FIG. 2) by the "medicine bag printing machine" of 3 managed objects, the "tablet dispenser" of 4 managed objects, or the "powder dispenser" of 5 managed objects. If so, the execution process shown in FIG. 18 is generated and the process of "executing apparatus execution" is started. In an example of the preparation execution management object setting file (FIG. 3), four preparation device execution processes are generated for each preparation device, and the execution status is recorded in each execution management data to be processed.

"조제기기 실행" 처리에서는, 우선, 실행관리 데이터(도 9 내지 도 12)에서 "재발행 플래그"가 ON인 행 데이터를 검색한다(단계 S500). 그리고, 검색한 행 데이터의 "재발행 플래그"를 "OFF"에 설정한다(단계 S501). 해당하는 행 데이터가 없으면, 실행관리 데이터(도 9 내지 도 12)에서 "실행상황"이 "대기" 상태인 행 데이터를 검색한다(단계 S502). 해당하는 행 데이터가 없으면, "실행관리신호 수신" 수속(도 14)을 호출하고(단계 S503), 상기 단계 S500에 복귀해서 실행관리 데이터 재발행 플래그 판단으로부터 반복한다.In the "manufacturing apparatus execution" process, first, the row data whose "reissue flag" is ON is retrieved from the execution management data (FIGS. 9 to 12) (step S500). Then, the "reissue flag" of the retrieved row data is set to "OFF" (step S501). If there is no corresponding row data, the row data whose " execution status " is " standby " is retrieved from the execution management data (Figs. 9 to 12) (step S502). If there is no corresponding row data, the procedure " receive execution management signal " (FIG. 14) is called (step S503), and the process returns to step S500 to repeat from the execution management data reissue flag determination.

후속해서, 검색한 행 데이터의 "실행상황"을 "실행중"에 설정한다(단계 S504). 그리고, 검색한 행 데이터의 "처방 데이터 No."를 사용해서 처방전 파일(도 4)로부터 처방 데이터를 판독한다(단계 S505).Subsequently, the "execution status" of the retrieved row data is set to "executing" (step S504). The prescription data is read from the prescription file (FIG. 4) using the "prescription data No." of the retrieved row data (step S505).

여기서, 조제기기(2)의 상태를 수신해서 "동작 가능" 상태로 될 때까지 대기한 후(단계 S506), 처방 데이터에 따라서 작성한 동작명령을 조제기기(2)에 송신해서 동작시킨다(단계 S507).Here, after receiving the state of the preparation device 2 and waiting until it becomes "operable" state (step S506), the operation command created according to prescription data is transmitted to the preparation device 2, and it operates (step S507). ).

이후에, 조제기기(2)의 상태를 수신해서 "동작종료" 상태로 될 때까지 대기한다(단계 S508). 그리고, 검색한 행 데이터의 "실행상황"에 HHMMSS 형식의 종료시각을 설정한 후(단계 S509), 상기 단계 S500에 복귀해서 실행관리 데이터 재발행 플래그 판단으로부터 반복한다.Thereafter, the state of the preparation device 2 is received and waited until the state of the "operation ends" (step S508). After setting the end time of the HHMMSS format in the "execution status" of the retrieved row data (step S509), the process returns to the step S500 and repeats from the execution management data reissue flag determination.

이와 같이, 실행관리 데이터에서 "재발행 플래그"를 "ON" 또는 "OFF"에 설정하는 것만으로써, 재발행 동작을 집중관리할 수 있다. 또한, 최초에 "재발행 플래그"가 "ON"으로 되어 있는 행 데이터를 검색하고, 이어서 "실행상황"이 "대기" 상태인 행 데이터를 검색함으로써, 실행 우선 순위를 변경하므로, 환자의 대기시간 연장을 최소한으로 억제할 수 있다.In this way, the reissue operation can be centrally managed by simply setting the "reissue flag" to "ON" or "OFF" in the execution management data. In addition, the priority of execution of the patient is changed by retrieving the row data in which the "reissue flag" is set to "ON" and then retrieving the row data in which the "execution status" is "wait". Can be minimized.

이상의 설명으로부터 명백한 바와 같이, 본 발명에 관한 조제 제어장치에 의하면, 다종 다수의 조제기기를 동일 방법으로 관리해서 제어하는 것이 가능하게 된다. 이 때문에, 조제기기의 수 및 기종이 다양하게 상이한 시설이라도 개별 사양(仕樣)으로 설계ㆍ제작할 필요가 없고, 조제기기를 증설하는 경우에도 용이하게 대응할 수 있다. 게다가, 조제기기를 집중 감시해서 조작할 수 있으므로 운용이 간단하게 된다. 또한, 호스트 컴퓨터와의 연계, 및 처방 수신과 처방 감사 입력의 장비 상황이 상이한 시설에의 대응에 있어서도 마찬가지의 효과가 있다.As apparent from the above description, according to the preparation control device according to the present invention, it is possible to manage and control a large number of preparation devices in the same manner. For this reason, it is not necessary to design and manufacture to an individual specification even if the facility differs in the number and model of preparation equipment, and it can cope easily also when adding more preparation equipment. In addition, the operation can be simplified because the preparation equipment can be monitored and operated. In addition, the same effect can be obtained in connection with a host computer and in response to a facility where equipment conditions of prescription reception and prescription audit input are different.

그리고, 조제 실행관리대상 설정파일에서, "처방 수신"과 "처방 감사 입력"을 조제기기와 마찬가지로 데이터 관리할 수 있으므로, 더 한층 운용이 간단하게 된다.In the preparation execution management target setting file, data can be managed in the same manner as the preparation device by "prescription reception" and "prescription audit input", which further simplifies operation.

호스트 컴퓨터로부터의 처방 데이터 삭제지령 및 수정지령에 따라서, 자동적으로 또한 즉석으로 조제의 동작을 삭제/수정함으로써, 처방의 취소 및 내용변경이 발생한 경우에도 쓸데없는 조제에 의한 수고와 약제 손실을 최소한으로 억제할 수 있다.In accordance with the instructions for deleting prescription data and correction instructions from the host computer, automatically and immediately delete / modify the operation of the preparation, minimizing the effort and drug loss caused by useless preparation even in the event of cancellation or change of prescription. It can be suppressed.

감사 결과를 호스트 컴퓨터(12)에 송신하도록 함으로써, 호스트 컴퓨터측에서 의사회계처리를 개시하기도 하고, 의사에게 처방 변경을 요구하기도 하는 시스템을 구축하는 경우에도 용이하게 대응할 수 있다.By sending the audit result to the host computer 12, it is possible to easily cope with the case of constructing a system in which the host computer side starts a medical system process or requests a doctor to change the prescription.

처방 수신, 처방 감사 입력, 각 조제기기에서의 조제 실행상황을 모니터 화면에 표시하도록 함으로써, 전 조제기기를 동일 방법으로 집중 감시하고, 오류 발생 등으로 각 조제가 체류하는 것을 방지할 수 있다.By displaying the prescription reception, the prescription audit input, and the execution status of each preparation device on the monitor screen, the entire preparation device can be monitored in the same manner, and each preparation can be prevented from staying due to an error or the like.

처방 감사 입력, 각 조제기기에서의 실행시간을 감시해서, 소정 시간을 초과하면 통지함으로써, 환자의 대기시간이 극단으로 길게 되는 것을 방지할 수 있다.By monitoring the prescription audit input and the execution time of each preparation device and notifying when the predetermined time is exceeded, it is possible to prevent the patient's waiting time from becoming extremely long.

재발행을 집중해서 지령 가능하게 하므로, 조작의 수고를 경감할 수 있다.Since the reissue is concentrated and the instruction can be made, the trouble of operation can be reduced.

그리고, 재발행의 동작을 통상의 동작보다도 우선시켜서, 환자의 대기시간의 연장을 최소한으로 억제할 수 있다.Then, the reissue operation can be given priority over the normal operation, and the extension of the waiting time of the patient can be minimized.

처방 감사 입력, 각 조제기기에서의 동작을 간단한 조작으로 취소 가능하게 함으로써, 호스트 컴퓨터측의 원인에 의한 장해 및 조제기기의 장해가 발생하여 수작업 조제로 변경하는 등, 이상 사태에 유연하게 대처할 수 있다.By making it possible to cancel the prescription audit input and the operation of each preparation device with a simple operation, it is possible to flexibly cope with an abnormal situation such as a failure caused by the host computer's cause and a failure of the preparation device and changing to manual preparation. .

처방 수신, 처방 감사 입력, 각 조제기기에서의 동작을 간단한 조작으로 정지/기동할 수 있도록 함으로써, 약제 분포기가 분포지 부족으로 정지하는 경우 등, 처리할 수 없는 동작명령이 증가하여 체류하는 사태를 방지할 수 있다. 또한, 이상 사태에도 유연하게 대처할 수 있다.Receipt of prescriptions, input of prescription audits, and the operation of each dispensing device can be stopped / started with a simple operation to prevent an increase in the number of operation commands that cannot be processed, such as when the drug distributor stops due to insufficient distribution sites. can do. In addition, it is possible to flexibly cope with abnormal situations.

Claims (10)

처방 데이터에 따라서 그 처방을 조제하기 위해서 복수의 조제기기를 구동제어하는 조제 제어장치에 있어서,In the preparation control device for driving control of a plurality of preparation devices in order to prepare the prescription according to the prescription data, 상기 조제기기를 포함하는 관리대상을 설정한 조제 실행관리대상 설정파일을 기억하는 하드디스크장치와,A hard disk device for storing a preparation execution management object setting file which sets a management object including the preparation device; 상기 처방 데이터에 따라서 상기 하드디스크장치에 기억한 조제 실행관리대상 설정파일의 각각의 관리대상마다 실행관리 데이터와 실행 프로세스를 생성하고, 이 실행관리 데이터와 실행 프로세스에 따라서 해당하는 조제기기를 구동제어하는 중앙처리장치를 구비한 것을 특징으로 하는 조제 제어장치.According to the prescription data, execution management data and an execution process are generated for each management object of the preparation execution management object setting file stored in the hard disk device, and drive control of the corresponding preparation device is performed in accordance with the execution management data and the execution process. Formulation control device comprising a central processing unit. 제1항에 있어서, 상기 하드디스크장치는 조제 실행관리대상 설정파일에 기억하는 관리대상으로서, 호스트 컴퓨터로부터의 처방 데이터의 수신에 이용하는 "처방 수신"과, 처방 데이터의 감사에 이용하는 "처방 감사 입력"을 포함하는 것을 특징으로 하는 조제 제어장치.The prescription prescription according to claim 1, wherein said hard disk device is a management object stored in a preparation execution management object setting file, and includes "prescription reception" used for reception of prescription data from a host computer and a "prescription audit input" used for auditing prescription data. Pharmacy control device comprising a. 제1항 또는 제2항에 있어서, 상기 중앙처리장치는 호스트 컴퓨터로부터 호스트지령이 입력되면, 해당 호스트지령에 수정지령이 포함되어 있는 경우, 해당하는 수정 전의 처방 데이터를 검색해서 삭제함과 동시에 수정 후의 처방 데이터를 추가하고, 상기 호스트지령에 삭제지령이 포함되어 있는 경우, 해당하는 실행관리 데이터를 취소로 설정하는 것을 특징으로 하는 조제 제어장치.The processor according to claim 1 or 2, wherein when the host command is input from the host computer, the central processing unit searches for and deletes the prescription data prior to the correction and deletes the correction data when the host command includes the correction command. And adding the prescription data, and setting the corresponding execution management data to cancel when the delete command is included in the host command. 제1항 내지 제3항 중의 어느 한 항에 있어서, 상기 중앙처리장치는 호스트 컴퓨터로부터 수신한 처방 데이터의 감사 입력을 모니터 화면에 표시하고, 해당 모니터 화면에서 입력한 감사 결과를 호스트 컴퓨터에 송신하는 것을 특징으로 하는 조제 제어장치.The processor according to any one of claims 1 to 3, wherein the central processing unit displays the audit input of the prescription data received from the host computer on the monitor screen, and transmits the audit result input from the monitor screen to the host computer. Formulation control device, characterized in that. 제1항 내지 제4항 중의 어느 한 항에 있어서, 상기 중앙처리장치는 상기 조제 실행관리대상 설정파일에 기억한 각각의 관리대상에 대해서 실행상황을 모니터 화면에 표시하는 것을 특징으로 하는 조제 제어장치.5. The preparation control device according to any one of claims 1 to 4, wherein the central processing unit displays the execution status on a monitor screen for each management object stored in the preparation execution management object setting file. . 제1항 내지 제5항 중의 어느 한 항에 있어서, 상기 중앙처리장치는 상기 조제 실행관리대상 설정파일에 기억한 각각의 관리대상에 대해서 실행시간을 감시하고, 해당 실행시간이 감시시간을 초과하면 통지하는 것을 특징으로 하는 조제 제어장치.6. The CPU according to any one of claims 1 to 5, wherein the central processing unit monitors execution time for each management object stored in the preparation execution management object setting file, and if the execution time exceeds the monitoring time. The preparation control device characterized by the notification. 제1항 내지 제6항 중의 어느 한 항에 있어서, 상기 중앙처리장치는 입력장치로부터 재발행 입력되면, 상기 조제 실행관리대상 설정파일에 기억한 관리대상 중, 재발행 입력된 관리대상의 동작을 재개시키는 것을 특징으로 하는 조제 제어장치.The central processing unit according to any one of claims 1 to 6, wherein, when a reissue is input from an input device, the central processing unit resumes the operation of the reissued management object among the management objects stored in the preparation execution management object setting file. Formulation control device, characterized in that. 제7항에 있어서, 상기 중앙처리장치는 상기의 재발행 동작을 통상적인 동작보다도 우선시키는 것을 특징으로 하는 조제 제어장치.8. The preparation control device according to claim 7, wherein said central processing unit gives priority to said reissue operation over normal operation. 제1항 내지 제8항 중의 어느 한 항에 있어서, 상기 중앙처리장치는 입력장치로부터 취소 입력되면, 상기 조제 실행관리대상 설정파일에 기억한 관리대상에 대해서, 취소 입력된 처방 데이터의 실행상황이 "대기"인 경우에 한해서, 해당하는 관리대상의 동작을 취소하는 것을 특징으로 하는 조제 제어장치.The method according to any one of claims 1 to 8, wherein, when the central processing unit cancels input from the input device, the execution status of the canceled input prescription data for the management target stored in the preparation execution management target setting file is changed. Only in the case of "waiting", the preparation control device characterized in that the operation of the corresponding management object is canceled. 제1항 내지 제9항 중의 어느 한 항에 있어서, 상기 중앙처리장치는 입력장치로부터 정지 또는 기동 입력되면, 정지 또는 기동 입력에 따라서, 선택한 관리대상에 대응하는 실행 프로세스에 정지 또는 기동신호를 송신하는 것을 특징으로 하는 조제 제어장치.The stop or start signal according to any one of claims 1 to 9, wherein the central processing unit transmits a stop or start signal to an execution process corresponding to the selected management object according to the stop or start input when the stop or start input is performed from an input device. Formulation control device, characterized in that.
KR1020000080897A 1999-12-28 2000-12-22 Dispensing control device KR100696812B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP99-374205 1999-12-28
JP37420599A JP4330238B2 (en) 1999-12-28 1999-12-28 Dispensing control device and dispensing control method

Publications (2)

Publication Number Publication Date
KR20010062645A true KR20010062645A (en) 2001-07-07
KR100696812B1 KR100696812B1 (en) 2007-03-19

Family

ID=18503446

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000080897A KR100696812B1 (en) 1999-12-28 2000-12-22 Dispensing control device

Country Status (2)

Country Link
JP (1) JP4330238B2 (en)
KR (1) KR100696812B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014123147A1 (en) * 2013-02-07 2014-08-14 株式会社湯山製作所 Drug compounding management apparatus, drug compounding management program, and drug compounding management system
JP6123526B2 (en) * 2013-07-04 2017-05-10 株式会社湯山製作所 Dispensing management system, dispensing management method, dispensing management program
JP6432281B2 (en) * 2014-08-19 2018-12-05 株式会社湯山製作所 Ward drug business support system
JP6769089B2 (en) * 2016-04-28 2020-10-14 株式会社湯山製作所 Dispensing control system and dispensing control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5604692A (en) * 1994-07-19 1997-02-18 Yuyama; Shoji Method of controlling drug conveyor system

Also Published As

Publication number Publication date
JP4330238B2 (en) 2009-09-16
JP2001187114A (en) 2001-07-10
KR100696812B1 (en) 2007-03-19

Similar Documents

Publication Publication Date Title
JP6981499B2 (en) Ward drug business support system
KR101122501B1 (en) Preparation control system
KR100676630B1 (en) Pharmacy automation system
JP3599605B2 (en) Drug packaging device
US7155396B2 (en) Drug preparation instruction system
JP4953495B2 (en) Dispensing equipment controller
JP7307386B2 (en) Manual drug-dispensing device, support program for the manual drug-dispensing device, and recording medium recording the support program
JP2002282339A (en) Medicine deviding and wrapping system
JP2001282923A (en) Device for checking drug interaction
WO2019172173A1 (en) Medication dispensing device, control method, and control program
KR100696812B1 (en) Dispensing control device
JP2020160694A (en) Medication guidance support system and medication guidance support program
JP7469693B2 (en) Dispensing support system, dispensing support method, and dispensing support program
JP2004358266A (en) Medicament dividing apparatus
JP4759163B2 (en) Dispensing control system and dispensing control method
JP2001087352A (en) Method for controlling drug subdividing machine
JP7502631B2 (en) Dispensing support system, dispensing support program
JP7436780B2 (en) Packaging data generation device, packaging system, number of packages determining device, limit date determining device, and packaging data generation program
JP7372552B2 (en) Control device
JP4580456B2 (en) Dispensing equipment controller
JP2020177263A (en) Medicine delivery support system, and medicine delivery support program
JP2019041950A (en) Information processing device, control method for information processing device, and program
JPS62260603A (en) Operating device for medicine partial packer

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130304

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140228

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150227

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160311

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170303

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee