KR20240167143A - System for reading prescription images - Google Patents
System for reading prescription images Download PDFInfo
- Publication number
- KR20240167143A KR20240167143A KR1020230064797A KR20230064797A KR20240167143A KR 20240167143 A KR20240167143 A KR 20240167143A KR 1020230064797 A KR1020230064797 A KR 1020230064797A KR 20230064797 A KR20230064797 A KR 20230064797A KR 20240167143 A KR20240167143 A KR 20240167143A
- Authority
- KR
- South Korea
- Prior art keywords
- prescription
- pharmacy
- user
- data
- server
- Prior art date
Links
- 239000003814 drug Substances 0.000 claims abstract description 129
- 229940079593 drug Drugs 0.000 claims abstract description 100
- 238000002360 preparation method Methods 0.000 claims abstract description 43
- 238000000034 method Methods 0.000 claims description 19
- 201000010099 disease Diseases 0.000 claims description 15
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 claims description 15
- 239000000284 extract Substances 0.000 claims description 12
- 238000011156 evaluation Methods 0.000 claims 1
- 238000013523 data management Methods 0.000 description 22
- 238000004891 communication Methods 0.000 description 14
- 238000012795 verification Methods 0.000 description 12
- 238000013524 data verification Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000012015 optical character recognition Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000035945 sensitivity Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 239000004615 ingredient Substances 0.000 description 2
- 238000010200 validation analysis Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000002483 medication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000474 nursing effect Effects 0.000 description 1
- 230000000399 orthopedic effect Effects 0.000 description 1
- 238000009512 pharmaceutical packaging Methods 0.000 description 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H20/00—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
- G16H20/10—ICT 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/41—Analysis of document content
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H10/00—ICT specially adapted for the handling or processing of patient-related medical or healthcare data
- G16H10/60—ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Epidemiology (AREA)
- Primary Health Care (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Chemical & Material Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Medicinal Chemistry (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
본 발명의 실시 예에 따른 처방전 이미지 판독 시스템은 사용자의 처방전을 촬영하는 사용자 단말, 상기 사용자 단말로부터 사용자의 처방전 이미지를 수신하고, 수신된 상기 처방전 이미지로부터 처방 데이터를 추출하며, 사용자가 지정한 약국의 단말로 상기 처방 데이터를 전달하여 약의 조제를 요청하는 서버 및 상기 서버로부터 사용자의 처방 데이터를 획득하고, 획득된 처방 데이터에 대응하는 약을 조제하도록 안내하는 약국 단말을 포함하여 구성되는 것을 특징으로 한다. A prescription image reading system according to an embodiment of the present invention is characterized by including a user terminal for taking a picture of a user's prescription, a server for receiving the user's prescription image from the user terminal, extracting prescription data from the received prescription image, and transmitting the prescription data to a terminal of a pharmacy designated by the user to request preparation of a drug, and a pharmacy terminal for obtaining the user's prescription data from the server and guiding preparation of a drug corresponding to the obtained prescription data.
Description
본 발명은 약국에 원격으로 약의 조제를 요청하기 위해 요구되는 처방전 데이터를 추출하기 위해 사용자의 처방전 이미지를 판독하는 시스템에 관한 것이다. The present invention relates to a system for reading a user's prescription image to extract prescription data required to remotely request a pharmacy to dispense a medication.
최근 디지털 기술의 발전으로 인해 인터넷을 통한 비대면 서비스가 급속도로 확대되고 있다. 그에 따라 의료 분야에서도 이러한 비대면 상황을 통해 불필요한 대면 접촉을 최소화하고 현장 대기 상황을 줄여 효율적인 시간 관리를 하고자 하는 욕구가 증대되고 있다.Due to recent advancements in digital technology, non-face-to-face services via the Internet are rapidly expanding. Accordingly, in the medical field, there is an increasing desire to minimize unnecessary face-to-face contact and reduce on-site waiting times through these non-face-to-face situations, thereby achieving efficient time management.
이러한 사용자들의 욕구에 따라 의료 분야에서도 비대면 서비스를 위한 움직임이 이루어지고 있다. 특히, 약국에서 조제 및 판매하는 약을 비대면으로 구매하기 위한 방법에 대한 대중의 관심이 높다. 그러나 의약품의 수령에 대한 비대면 서비스의 경우 대중에게 제공될 편의성만큼이나, 약국에서 신규 서비스를 제공하는 과정에서 발생하게 될 혼란에 대한 우려와 악용 사례 등 부작용에 대한 우려가 큰 상황이다. In response to these users’ needs, a movement toward non-face-to-face services is also taking place in the medical field. In particular, there is a high level of public interest in methods for purchasing medicines prepared and sold at pharmacies without face-to-face contact. However, in the case of non-face-to-face services for receiving medicines, there are concerns about the confusion that will arise in the process of providing new services at pharmacies, as well as concerns about side effects such as abuse cases, as much as the convenience that will be provided to the public.
그리고 이러한 우려는 곧 해당 서비스의 상용화가 더뎌지게 만드는 주요 원인이 되고 있다. 따라서 이러한 비대면 서비스를 정착시키는 과정에서 발생될 혼란을 최소화시키고 부작용을 극복하기 위해, 원격으로 전달되는 처방전 이미지로부터 약품 등 처방 데이터를 판독하기 위한 기술, 판독된 처방 데이터를 관리하고 위변조를 방지하기 위한 기술 등 대비책 마련이 요구되고 있다. And these concerns are soon becoming the main cause of the delay in commercialization of the service. Therefore, in order to minimize the confusion that may arise during the process of establishing this non-face-to-face service and overcome the side effects, countermeasures such as technology for reading prescription data such as drugs from prescription images transmitted remotely, and technology for managing the read prescription data and preventing forgery are required.
본 발명은 약국에서 판매하는 약을 원격으로 요청하는 과정에서, 사용자가 촬영한 처방전 이미지로부터 자동으로 처방 관련 데이터를 추출하도록 하기 위해 고안되었다. The present invention is designed to automatically extract prescription-related data from a prescription image taken by a user during the process of remotely requesting a drug sold at a pharmacy.
또한 본 발명의 다양한 실시 예는 처방전에서 추출된 데이터를 기반으로 약국의 예상 판매 일정 등 다양한 통계 데이터를 산출하여 활용하도록 하기 위해 고안되었다. In addition, various embodiments of the present invention are designed to produce and utilize various statistical data, such as a pharmacy's expected sales schedule, based on data extracted from a prescription.
본 개시의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 개시의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있고, 본 개시의 실시 예에 의해 보다 분명하게 이해될 것이다. 또한, 본 개시의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The purposes of the present disclosure are not limited to the purposes mentioned above, and other purposes and advantages of the present disclosure which are not mentioned can be understood by the following description, and will be more clearly understood by the embodiments of the present disclosure. In addition, it will be easily understood that the purposes and advantages of the present disclosure can be realized by the means and combinations thereof indicated in the claims.
본 발명의 실시 예에 따른 처방전 이미지 판독 시스템은 사용자의 처방전을 촬영하는 사용자 단말, 상기 사용자 단말로부터 사용자의 처방전 이미지를 수신하고, 수신된 상기 처방전 이미지로부터 처방 데이터를 추출하며, 사용자가 지정한 약국의 단말로 상기 처방 데이터를 전달하여 약의 조제를 요청하는 서버 및 상기 서버로부터 사용자의 처방 데이터를 획득하고, 획득된 처방 데이터에 대응하는 약을 조제하도록 안내하는 약국 단말을 포함하여 구성될 수 있다. A prescription image reading system according to an embodiment of the present invention may include a user terminal for taking a picture of a user's prescription, a server for receiving the user's prescription image from the user terminal, extracting prescription data from the received prescription image, and transmitting the prescription data to a terminal of a pharmacy designated by the user to request preparation of a drug, and a pharmacy terminal for obtaining the user's prescription data from the server and guiding preparation of a drug corresponding to the obtained prescription data.
또한, 상기 서버는 상기 사용자 단말로부터 상기 수신된 처방전 이미지에 포함된 텍스트를 식별하고, 상기 식별된 텍스트에 기반하여 상기 처방 데이터를 추출할 수 있다. 이 때 상기 처방 데이터는 질병분류코드, 약코드, 투약량, 투여횟수, 투여일수, 중량 중 적어도 하나의 항목을 포함하여 구성될 수 있다.In addition, the server can identify text included in the prescription image received from the user terminal and extract the prescription data based on the identified text. At this time, the prescription data can be configured to include at least one item from among a disease classification code, a drug code, a dosage, a number of administrations, a number of administration days, and a weight.
그리고 상기 서버는 상기 식별된 텍스트에 기반하여 상기 수신된 처방전 이미지에 대한 약국용 처방전의 해당 여부 또는 유효기간의 경과 여부에 따른 유효성 판단을 수행하고, 유효하지 않은 처방전으로 판단되는 경우, 처방전 이미지를 재요청할 수 있다. And the server, based on the identified text, can perform a validity judgment on whether the received prescription image corresponds to a pharmacy prescription or whether the expiration date has expired, and if it is determined to be an invalid prescription, can re-request the prescription image.
또한 상기 서버는 상기 식별된 텍스트 중 기설정된 조건을 만족하는 숫자열을 추출하여 교부번호로 판단하고, 동일한 교부번호를 포함하며 처방 데이터가 상이한 이전 등록 처방전을 동일 처방전으로 분류하고, 동일 처방전으로 판단된 처방전 이미지들로부터 추출된 각각의 처방 데이터를 병합하여 저장할 수 있다. In addition, the server can extract a numeric string that satisfies a preset condition from the identified text and determine it as a issuance number, classify previously registered prescriptions that include the same issuance number but have different prescription data as the same prescription, and merge and store each prescription data extracted from prescription images determined to be the same prescription.
또한 상기 서버는 상기 식별된 텍스트의 기재 위치, 개수 및 배열 상태에 따라 처방 데이터를 항목별로 분류할 수 있다. 이 때, 상기 배열 상태는 숫자 배열, 문자 배열 및 숫자와 문자의 조합 배열 중 어느 하나로 선택될 수 있다. 즉, 상기 서버는 식별된 텍스트의 기재 위치와, 몇개의 숫자열인지 또는 몇 개로 이루어진 숫자 및 알파벳의 조합인지 등에 따라 처방 데이터의 항목을 질병분류코드, 약코드, 투약량, 투여횟수, 투여일수, 중량 등으로 분류하여 판단할 수 있다. In addition, the server can classify the prescription data into items according to the description position, number, and arrangement status of the identified text. At this time, the arrangement status can be selected as any one of a number arrangement, a character arrangement, and a combination arrangement of numbers and characters. That is, the server can classify and determine the items of the prescription data into disease classification codes, drug codes, dosage, number of administrations, number of administration days, weight, etc. according to the description position of the identified text, the number of number strings, or the combination of numbers and alphabets.
그리고 상기 서버는 촬영된 처방전 이미지에 처방전을 촬영한 시점 및 촬영 도구에 대한 정보를 함께 기록하며, 촬영 시점으로부터 기설정된 기간이 경과한 처방전 이미지 또는 기설정된 촬영 도구로 촬영되지 않은 처방전 이미지의 활용을 제한할 수 있다. 이러한 동작은 처방전을 미리 촬영한 이후 편집프로그램 등으로 처방전 이미지의 위변조를 수행하는 것을 방지하기 위해 수행될 수 있다. In addition, the server records information about the time and shooting tool used to shoot the prescription image together with the captured prescription image, and can restrict the use of prescription images that have passed a preset period of time from the shooting time or prescription images that were not shot with a preset shooting tool. This operation can be performed to prevent forgery of prescription images using an editing program, etc. after shooting the prescription in advance.
그리고 상기 서버는 상기 추출한 처방 데이터를 기록하고, 상기 처방 데이터에 기반하여 판매 약품에 대한 약국별 통계 데이터를 생성하되, 상기 약국 단말로부터 약국별 주요 약품의 재고 데이터를 획득하고, 상기 통계 데이터를 통해 확인된 주요 판매 약품의 예상 판매 속도를 상기 재고 데이터와 비교하여 약품별 예상 입고 일정을 산출할 수 있다. And the server records the extracted prescription data, and generates statistical data for each pharmacy on drugs sold based on the prescription data, and obtains inventory data for major drugs for each pharmacy from the pharmacy terminal, and compares the expected sales speed of major drugs sold confirmed through the statistical data with the inventory data to calculate the expected stocking schedule for each drug.
본 발명의 실시 예에 따른 처방전 이미지 판독 방법은 사용자 단말이, 사용자의 처방전을 촬영하는 단계, 서버가, 상기 사용자 단말로부터 사용자의 처방전 이미지를 수신하고, 수신된 상기 처방전 이미지로부터 처방 데이터를 추출하는 단계, 상기 서버가, 사용자가 지정한 약국의 단말로 상기 처방 데이터를 전달하여 약의 조제를 요청하는 단계 및 약국 단말이, 상기 서버로부터 사용자의 처방 데이터를 획득하고, 획득된 처방 데이터에 대응하는 약을 조제하도록 안내하는 단계를 포함하여 구성될 수 있다. A method for reading a prescription image according to an embodiment of the present invention may include a step of a user terminal taking a picture of a user's prescription, a step of a server receiving the user's prescription image from the user terminal and extracting prescription data from the received prescription image, a step of the server transmitting the prescription data to a terminal of a pharmacy designated by the user to request preparation of a drug, and a step of the pharmacy terminal obtaining the user's prescription data from the server and guiding the pharmacy terminal to prepare a drug corresponding to the obtained prescription data.
본 발명은 사용자가 구매할 약에 대한 조제 요청을 약국으로 간편하게 전달할 수 있고, 이 과정에서 요구되는 처방전 스캔 및 스캔된 처방전으로부터 처방 데이터를 추출하는 동작을 간편하게 수행할 수 있다. The present invention enables a user to easily transmit a prescription request for a drug to be purchased to a pharmacy, and easily perform the operations of scanning a prescription and extracting prescription data from the scanned prescription required in the process.
또한 본 발명은 처방전 이미지로부터 추출된 처방 데이터를 다양한 방법으로 활용하도록 도울 수 있다. Additionally, the present invention can help utilize prescription data extracted from prescription images in various ways.
도 1은 본 발명의 실시 예에 따른 처방전 이미지 판독 시스템의 구성을 도시한 도면이다.
도 2는 본 발명의 실시 예에 따른 서버의 구성을 도시한 도면이다.
도 3은 본 발명의 실시 예에 따른 접수 지원부의 구성을 도시한 도면이다.
도 4는 본 발명의 실시 예에 따른 처방전 등록부의 구성을 도시한 도면이다.
도 5는 본 발명의 실시 예에 따른 상황 안내부의 구성을 도시한 도면이다.
도 6은 본 발명의 실시 예에 따른 처방전 이미지 판독 동작의 순서를 도시한 순서도이다.FIG. 1 is a diagram illustrating the configuration of a prescription image reading system according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating the configuration of a server according to an embodiment of the present invention.
FIG. 3 is a drawing illustrating the configuration of a reception support unit according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating the configuration of a prescription registration book according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating the configuration of a situation guidance unit according to an embodiment of the present invention.
FIG. 6 is a flowchart illustrating the sequence of a prescription image reading operation according to an embodiment of the present invention.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나, 본 발명은 이하에서 개시되는 실시예들에 제한되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야의 통상의 기술자에게 본 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. The advantages and features of the present invention, and the methods for achieving them, will become clear with reference to the embodiments described in detail below together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in various different forms, and the present embodiments are provided only to make the disclosure of the present invention complete and to fully inform a person skilled in the art of the scope of the present invention, and the present invention is defined only by the scope of the claims.
본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다. 명세서 전체에 걸쳐 동일한 도면 부호는 동일한 구성 요소를 지칭하며, "및/또는"은 언급된 구성요소들의 각각 및 하나 이상의 모든 조합을 포함한다. 비록 "제1", "제2" 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있음은 물론이다.The terminology used herein is for the purpose of describing embodiments only and is not intended to limit the present invention. In this specification, the singular also includes the plural unless specifically stated otherwise in the phrase. The terms "comprises" and/or "comprising" as used in the specification do not exclude the presence or addition of one or more other components in addition to the mentioned components. Like reference numerals refer to like components throughout the specification, and "and/or" includes each and every combination of one or more of the mentioned components. Although "first", "second", etc. are used to describe various components, it is to be understood that these components are not limited by these terms. These terms are merely used to distinguish one component from another. Therefore, it should be understood that a first component mentioned below may also be a second component within the technical spirit of the present invention.
다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야의 통상의 기술자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또한, 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used in this specification may be used with the meaning commonly understood by those skilled in the art to which the present invention belongs. In addition, terms defined in commonly used dictionaries shall not be ideally or excessively interpreted unless explicitly specifically defined.
명세서에서 사용되는 "부" 또는 “모듈”이라는 용어는 소프트웨어, FPGA 또는 ASIC과 같은 하드웨어 구성요소를 의미하며, "부" 또는 “모듈”은 어떤 역할들을 수행한다. 그렇지만 "부" 또는 “모듈”은 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. "부" 또는 “모듈”은 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 "부" 또는 “모듈”은 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로 코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들 및 변수들을 포함한다. 구성요소들과 "부" 또는 “모듈”들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 "부" 또는 “모듈”들로 결합되거나 추가적인 구성요소들과 "부" 또는 “모듈”들로 더 분리될 수 있다.The term “part” or “module” as used in this specification means a software or hardware component such as an FPGA or ASIC, and the “part” or “module” performs certain functions. However, the “part” or “module” is not limited to software or hardware. The “part” or “module” may be configured to reside on an addressable storage medium and may be configured to execute one or more processors. Thus, by way of example, the “part” or “module” includes components such as software components, object-oriented software components, class components, and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables. The functionality provided in the components and “parts” or “modules” may be combined into a smaller number of components and “parts” or “modules” or further separated into additional components and “parts” or “modules.”
공간적으로 상대적인 용어인 "아래(below)", "아래(beneath)", "하부(lower)", "위(above)", "상부(upper)" 등은 도면에 도시되어 있는 바와 같이 하나의 구성요소와 다른 구성요소들과의 상관관계를 용이하게 기술하기 위해 사용될 수 있다. 공간적으로 상대적인 용어는 도면에 도시되어 있는 방향에 더하여 사용시 또는 동작시 구성요소들의 서로 다른 방향을 포함하는 용어로 이해되어야 한다. 예를 들어, 도면에 도시되어 있는 구성요소를 뒤집을 경우, 다른 구성요소의 "아래(below)"또는 "아래(beneath)"로 기술된 구성요소는 다른 구성요소의 "위(above)"에 놓여질 수 있다. 따라서, 예시적인 용어인 "아래"는 아래와 위의 방향을 모두 포함할 수 있다. 구성요소는 다른 방향으로도 배향될 수 있으며, 이에 따라 공간적으로 상대적인 용어들은 배향에 따라 해석될 수 있다.The spatially relative terms "below," "beneath," "lower," "above," "upper," and the like can be used to easily describe the relationship between one component and other components as depicted in the drawings. The spatially relative terms should be understood to include different orientations of the components when used or operated in addition to the orientations depicted in the drawings. For example, if a component depicted in the drawings is flipped over, a component described as "below" or "beneath" another component may be placed "above" the other component. Thus, the exemplary term "below" can include both the above and below orientations. The components may also be oriented in other directions, and the spatially relative terms may be interpreted accordingly.
이하 첨부된 도면을 참조하여, 본 발명의 실시 예를 설명하기로 한다. Hereinafter, an embodiment of the present invention will be described with reference to the attached drawings.
도 1은 본 발명의 실시 예에 따른 처방전 이미지 판독 시스템의 구성을 도시한 도면이다. FIG. 1 is a diagram illustrating the configuration of a prescription image reading system according to an embodiment of the present invention.
도 1에서 도시되는 바와 같이, 본 발명의 실시 예에 따른 처방전 이미지 판독 시스템(이하, 시스템)은 서버(100), 사용자 단말(200) 및 약국 단말(300)을 포함하여 구성될 수 있다 As illustrated in FIG. 1, a prescription image reading system (hereinafter, “system”) according to an embodiment of the present invention may be configured to include a server (100), a user terminal (200), and a pharmacy terminal (300).
상기 서버(100)는 사용자 단말(200)과 약국 단말(300) 간의 통신을 수행하며, 상기 사용자 단말(200)로부터 수신되는 처방전 및 약의 조제 요청 신호를 확인하고, 수신된 처방전 및 약 조제 요청 신호를 상기 약국 단말(300)로 전달할 수 있다. 그리고 상기 서버(100)는 상기 약국 단말(300)로부터 획득된 조제 상황에 대한 정보(예, 해당 약국에서의 조제 가능 여부, 대기 순번, 조제 비용, 예상 조제 완료 시간, 수령 완료 등)를 획득하고 이를 사용자 단말(200)에 전달할 수 있다. The server (100) performs communication between the user terminal (200) and the pharmacy terminal (300), confirms the prescription and medicine preparation request signal received from the user terminal (200), and transmits the received prescription and medicine preparation request signal to the pharmacy terminal (300). In addition, the server (100) can obtain information on the preparation status obtained from the pharmacy terminal (300) (e.g., whether preparation is possible at the pharmacy, waiting number, preparation cost, expected preparation completion time, receipt completion, etc.) and transmit this to the user terminal (200).
상기 사용자 단말(200)는 원격으로 약국에 약의 조제를 요청하기 위해 요구되는 처방전을 상기 서버(100)로 전송하기 위해, 사용자의 처방전을 촬영할 수 있다. 그리고 상기 사용자 단말(200)은 사용자의 처방전을 촬영함에 따라 생성된 처방전 이미지를 서버(100)로 제공할 수 있다. The user terminal (200) can take a picture of the user's prescription in order to transmit the prescription required to remotely request a pharmacy to prepare a medicine to the server (100). In addition, the user terminal (200) can provide the prescription image generated by taking a picture of the user's prescription to the server (100).
이 때 상기 서버(100)는 사용자 단말(200)에서 원격 조제 요청 및 처방전 판독을 위한 애플리케이션이 실행될 수 있도록 지원하며, 사용자 단말(200)에서 원격 조제 요청을 수행함에 대응하여 처방전을 촬영하기 위한 동작을 자동으로 수행하도록 제어할 수 있다. 즉, 상기 서버(100)는 사용자가 사용자 단말(200)을 통해서 미리 촬영한 처방전 이미지를 수신할 수도 있고, 사용자가 사용자 단말(200)에서 대상 애플리케이션을 실행한 이후 관련 동작을 요청함에 따라 처방전을 촬영하기 위한 카메라 동작을 제어할 수 있다. At this time, the server (100) can support the execution of an application for remote dispensing request and prescription reading on the user terminal (200), and can automatically control an operation for taking a picture of a prescription in response to the remote dispensing request being performed on the user terminal (200). That is, the server (100) can receive a prescription image that the user has previously taken through the user terminal (200), and can control a camera operation for taking a picture of a prescription when the user requests a related operation after executing the target application on the user terminal (200).
그리고 상기 서버(100)는 사용자 단말(200)로부터 수신한 처방전 이미지로부터 OCR판독 등을 기반으로 텍스트를 추출하고, 추출된 텍스트로부터 질병분류코드, 약물의 종류, 투약량, 투여횟수, 투여일수, 중량, 본인부담기호 등의 항목에 대한 값을 포함하는 처방 데이터를 식별할 수 있다. And the server (100) extracts text based on OCR reading, etc. from a prescription image received from a user terminal (200), and can identify prescription data including values for items such as disease classification code, type of drug, dosage, number of administrations, number of administration days, weight, and self-payment symbol from the extracted text.
또한 다양한 실시 예에 따라 상기 서버(100)는 처방전의 전체 이미지 대신, 처방전의 식별값을 저장하는 코드(예, QR코드)를 촬영하고, 이로부터 처방전에 포함된 데이터를 획득할 수도 있다. Additionally, according to various embodiments, the server (100) may capture a code (e.g., QR code) that stores an identification value of the prescription instead of the entire image of the prescription, and obtain data included in the prescription from this.
이 외에도 상기 사용자 단말(200)은 원격으로 약의 조제를 요청하는 데 요구되는 각종 정보(예, 사용자 개인 정보, 결제 수단 등 결제에 요구되는 정보 등) 들을 사용자로부터 입력받고, 서버(100)에 전송할 수 있다. In addition to this, the user terminal (200) can receive various types of information required to remotely request the preparation of medicine (e.g., user personal information, payment method, and other information required for payment) from the user and transmit them to the server (100).
바람직하게, 상기 사용자 단말(200)은 바람직하게 사용자의 개인화 기기(예, 스마트폰, 태블릿 등)를 의미할 수 있다. 그러나 본 발명의 다양한 실시 예에 따르면 상기 사용자 단말(200)은 이제 한정되지 않고, 촬영이 가능한 다양한 종류의 단말을 모두 포함할 수 있다. 예를 들어, 상기 사용자 단말(200)은 카메라를 구비한 장치로 이해될 수 있다. 이 경우 상기 사용자 단말(200)은 구체적으로 약국의 키오스크, 약국의 스캐너 등 약국에 구비되는 촬영 장치로 해석될 수 있다. 나아가 상기 사용자 단말(200)은 설치 위치에 제한되지 않으며, 병원, 요양원 등 다양한 장소에 설치되는 카메라를 구비한 촬영 장치로 해석될 수 있다. 그리고 이러한 상기 사용자 단말(200)은 사용자가 소지한 처방전을 촬영하여 처방전 이미지를 생성하고, 상기 생성된 이미지를 서버(100)로 전송할 수 있다. 그리고 상기 서버(100)는 수신된 처방전 이미지에 대하여 OCR판독을 기반으로 한 처방 데이터 생성을 위한 관련 동작을 수행할 수 있다. Preferably, the user terminal (200) may refer to a user's personalized device (e.g., a smartphone, a tablet, etc.). However, according to various embodiments of the present invention, the user terminal (200) is not limited thereto and may include various types of terminals capable of taking pictures. For example, the user terminal (200) may be understood as a device equipped with a camera. In this case, the user terminal (200) may be specifically interpreted as a photographing device equipped in a pharmacy, such as a pharmacy kiosk or a pharmacy scanner. Furthermore, the user terminal (200) is not limited to an installation location and may be interpreted as a photographing device equipped with a camera installed in various places, such as a hospital or a nursing home. In addition, the user terminal (200) may take a picture of a prescription held by the user to generate a prescription image and transmit the generated image to the server (100). In addition, the server (100) may perform a related operation for generating prescription data based on OCR reading for the received prescription image.
또한 상기 사용자 단말(200)은 상기 서버(100)로부터 제공되는 조제 상황 정보(예, 예상 완료 시간, 대기 번호 등), 조제된 약의 수령에 필요한 인증 정보 등을 수신하고 화면에 표시할 수 있다. In addition, the user terminal (200) can receive and display on the screen, the preparation status information (e.g., expected completion time, waiting number, etc.) provided from the server (100), authentication information required for receipt of the prepared medicine, etc.
상기 약국 단말(300)은 상기 서버(100)로부터 사용자의 처방 데이터 및 상기 처방 데이터에 해당하는 약의 조제 요청을 수신할 수 있다. 그리고 상기 약국 단말(300)은 상기 서버(100)로부터 처방 데이터를 기반으로 생성된 통계 데이터 및 상기 통계 데이터에 대응하여 생성된 다양한 일정 알림(예, 특정 약품의 예상 소진 시점 및 입고 일정 추천)을 수신할 수 있다. The above pharmacy terminal (300) can receive a user's prescription data and a request for preparation of a drug corresponding to the prescription data from the server (100). In addition, the pharmacy terminal (300) can receive statistical data generated based on the prescription data from the server (100) and various schedule notifications generated in response to the statistical data (e.g., expected depletion time of a specific drug and recommendation of a stocking schedule).
약국에서의 약의 조제가 완료되면, 상기 약국 단말(300)은 약국 측으로부터 약의 조제가 완료됨에 대한 정보(예, 완료 버튼 선택)를 입력받을 수 있고, 이를 서버(100)에 전송할 수 있다. When the preparation of a medicine at a pharmacy is completed, the pharmacy terminal (300) can receive information from the pharmacy regarding the completion of the preparation of the medicine (e.g., selection of a completion button) and transmit this to the server (100).
도 1에 따르면, 본 발명의 실시 예에 따른 사용자 단말(200)과 약국 단말(300)은 별도의 구성으로 이해될 수 있으나, 이에 한정되는 것은 아니다. According to FIG. 1, the user terminal (200) and the pharmacy terminal (300) according to the embodiment of the present invention can be understood as separate configurations, but are not limited thereto.
다양한 실시 예에 따라, 상기 사용자 단말(200)은 약국 단말(300)의 구성을 포함하는 형태로 구현될 수 있다. 예를 들어, 상기 사용자 단말(200)은 약국에 구비되는 키오스크로 구현될 수 있다. 이 경우 약국의 키오스크는 사용자로부터 약의 조제를 요청하는 데 요구되는 각종 정보(예, 처방전 이미지, 사용자 개인 정보, 결제에 요구되는 정보 등)를 입력 받는 동작을 수행하고, 입력된 상기 각종 정보를 서버(100)로 전달하는 사용자 단말(200)의 역할을 수행할 수 있다. 그리고 그와 동시에, 약국의 키오스크는 상기 서버(100)로부터 처방 데이터 및 처방 데이터에 대응하는 약의 조제 요청 신호를 수신하고, 연동된 출력(표시)장치(예, 모니터, 프린터 등)로 약국측 담당자(예, 약사)에게 제공할 처방 데이터를 출력(표시)할 수 있다. 이처럼 다양한 실시 예에 따른 상기 사용자 단말(200)은 약국 단말(300)과 일체형으로 형성될 수 있다. According to various embodiments, the user terminal (200) may be implemented in a form including a configuration of a pharmacy terminal (300). For example, the user terminal (200) may be implemented as a kiosk provided in a pharmacy. In this case, the pharmacy kiosk may perform an operation of receiving various information required to request a prescription from a user (e.g., a prescription image, user personal information, information required for payment, etc.) and may perform the role of a user terminal (200) that transmits the various input information to a server (100). At the same time, the pharmacy kiosk may receive prescription data and a prescription request signal corresponding to the prescription data from the server (100) and output (display) prescription data to be provided to a pharmacy staff member (e.g., a pharmacist) using a linked output (display) device (e.g., a monitor, a printer, etc.). In this way, the user terminal (200) according to various embodiments may be formed integrally with the pharmacy terminal (300).
이하에서는, 상기 서버(100)의 구성에 대하여 도면을 참조하여 보다 자세히 설명하기로 한다. Below, the configuration of the server (100) will be described in more detail with reference to the drawings.
도 2는 본 발명의 실시 예에 따른 서버의 구성을 도시한 도면이다. FIG. 2 is a diagram illustrating the configuration of a server according to an embodiment of the present invention.
도 2에서 도시되는 바와 같이, 상기 서버(100)는 프로세서(110), 메모리(120) 및 통신부(130)를 포함하여 구성될 수 있다. As illustrated in FIG. 2, the server (100) may be configured to include a processor (110), a memory (120), and a communication unit (130).
그리고 상기 프로세서(110)는 접수 지원부(140), 상황 안내부(150), 데이터 관리부(160)를 포함하여 구성될 수 있다. 상기 프로세서(110)에 대한 설명은 후술하기로 한다. And the processor (110) may be configured to include a reception support unit (140), a situation guidance unit (150), and a data management unit (160). A description of the processor (110) will be provided later.
상기 서버(100)의 구성 중 상기 메모리(120)는 본 발명의 실시 예에 따른 처방전 판독 동작에 요구되는 각종 정보를 저장할 수 있다. 예를 들어, 상기 메모리(120)는 사용자 단말(200)로부터 획득된 처방전 이미지, 사용자의 처방 이력 등을 저장할 수 있다. 또한 상기 메모리(120)는 상기 처방전 이미지로부터 텍스트를 추출하고, 추출된 텍스트로부터 각 항목별 처방 데이터를 식별하는 동작을 수행하기 위한 프로그램을 저장할 수 있다. Among the configurations of the server (100), the memory (120) can store various information required for a prescription reading operation according to an embodiment of the present invention. For example, the memory (120) can store a prescription image obtained from a user terminal (200), a user's prescription history, etc. In addition, the memory (120) can store a program for performing an operation of extracting text from the prescription image and identifying prescription data for each item from the extracted text.
또한 상기 메모리(120)는 사용자 계정 정보를 저장할 수 있다. 상기 메모리(120)는 처방 데이터를 기록 및 관리를 효율적으로 수행하기 위해 해당 처방 데이터의 대상이 되는 사용자 정보(예, 연령, 성별)를 연계하여 저장할 수 있다. 상기 저장된 사용자 정보는 처방 데이터를 기반으로 약국별 통계 데이터를 산출할 시 활용될 수 있다. In addition, the memory (120) can store user account information. The memory (120) can store user information (e.g., age, gender) that is the target of the prescription data in order to efficiently record and manage the prescription data. The stored user information can be utilized when producing statistical data for each pharmacy based on the prescription data.
그 밖에도 상기 메모리(120)는 약국 측으로부터 입력된 다양한 정보를 저장할 수 있다. 예를 들어, 상기 메모리(120)는 약국 단말(300)로부터 획득한 약국의 운영 시간, 약국의 위치 정보, 해당 약국 주변의 병원의 분야 정보(예, 피부과, 정형외과 등), 약국의 보유 약 현황 정보 등을 저장할 수 있다. In addition, the memory (120) can store various information input from the pharmacy. For example, the memory (120) can store the pharmacy's operating hours, pharmacy location information, hospital field information (e.g., dermatology, orthopedics, etc.) around the pharmacy, information on the pharmacy's stock of medicines, etc., obtained from the pharmacy terminal (300).
그 외에도 상기 메모리(120)는 처방전 이미지의 판독 동작 및 약국으로의 원격 약 조제 요청 동작에 필요한 다양한 정보들을 획득하여 저장할 수 있다. In addition, the above memory (120) can acquire and store various information required for reading a prescription image and requesting remote medication preparation from a pharmacy.
상기 서버(100)의 구성 중 상기 통신부(130)는 상기 사용자 단말(200) 및 상기 약국 단말(300)로부터 사용자가 약국으로 약 조제 요청을 전송하고, 조제된 약을 수령하는 과정에서 요구되는 각종 데이터 및 명령의 송수신 동작을 수행할 수 있다. Among the components of the server (100), the communication unit (130) can perform transmission and reception operations of various data and commands required in the process of a user sending a request for preparation of medicine to a pharmacy from the user terminal (200) and the pharmacy terminal (300) and receiving the prepared medicine.
상기 프로세서(110)는 상기 메모리(120)에 저장된 정보를 기반으로 약국을 사용자에게 추천하고, 사용자의 선택에 따라 지정된 약국으로 사용자의 약 조제 요청을 전달하며, 약 조제 요청을 수신한 약국으로부터 획득된 약 조제 상황에 대한 정보를 사용자 단말로 전달하는 동작 전반을 제어할 수 있다. The above processor (110) can control the overall operation of recommending a pharmacy to the user based on the information stored in the memory (120), transmitting the user's medication preparation request to a designated pharmacy according to the user's selection, and transmitting information on the medication preparation status obtained from the pharmacy that received the medication preparation request to the user terminal.
상기 프로세서(110)는 이러한 원격으로 약국에 사용자의 처방전을 전달하여 약의 조제를 요청하는 동작을 수행하기 위해 앞서 언급한 바와 같이, 접수 지원부(140), 상황 안내부(150), 데이터 관리부(160)를 포함할 수 있다. The above processor (110) may include a reception support unit (140), a situation guidance unit (150), and a data management unit (160) as mentioned above to perform an operation of remotely transmitting the user's prescription to a pharmacy and requesting the preparation of the medicine.
이하에서는 상기 프로세서(110)의 각 구성에 대하여 구체적으로 설명하기로 한다. Below, each component of the processor (110) will be described in detail.
먼저, 프로세서(110)의 구성 중 상기 접수 지원부(140)는 사용자 측(사용자 단말)에서 약국을 선택하는 동작, 선택된 약국으로 상기 사용자의 처방전을 원격으로 전달하는 동작 및 상기 처방전에 대한 약의 조제 비용을 결제하는 동작을 수행하기 위한 일련의 과정을 제어할 수 있다. First, among the configurations of the processor (110), the reception support unit (140) can control a series of processes for performing an operation of selecting a pharmacy on the user side (user terminal), an operation of remotely transmitting the user's prescription to the selected pharmacy, and an operation of paying the cost of dispensing the medicine for the prescription.
상기 접수 지원부(140)의 구성은 도 3을 참조하여 보다 자세히 기술하기로 한다. The configuration of the above reception support unit (140) will be described in more detail with reference to Fig. 3.
도 3은 본 발명의 실시 예에 따른 접수 지원부의 구성을 도시한 도면이다. FIG. 3 is a drawing illustrating the configuration of a reception support unit according to an embodiment of the present invention.
도 3에서 도시되는 바와 같이, 상기 접수 지원부(140)는 약국 지정부(141), 처방전 등록부(142) 및 결제 지원부(143)를 포함하여 구성될 수 있다. As illustrated in FIG. 3, the reception support unit (140) may be configured to include a pharmacy designation unit (141), a prescription registration unit (142), and a payment support unit (143).
상기 약국 지정부(141)는 상기 사용자 단말(200)로부터 사용자가 약의 조제를 요청할 약국을 선택하는 데 요구되는 동작을 지원할 수 있다. The above pharmacy designation unit (141) can support the actions required for a user to select a pharmacy from which to request preparation of a medication from the user terminal (200).
상기 약국 지정부(141)는 사용자 측으로부터 단골 약국 정보를 등록받고, 사용자가 단골 약국을 표시 요청함에 따라, 기등록된 사용자의 단골 약국의 리스트를 제공할 수 있다. The above pharmacy designation unit (141) receives regular pharmacy information from the user, and when the user requests display of a regular pharmacy, it can provide a list of the regular pharmacies of the registered user.
상기 약국 지정부(141)는 사용자의 검색어 입력에 따른 약국 검색 동작을 지원할 수 있다. 이 때 상기 약국 지정부(141)는 사용자가 입력하는 약국의 명칭, 약국의 주소, 약국의 주변 병원 종류, 특정 약물의 보유 여부 등에 따라 기저장된 리스트에서 사용자의 검색어에 대응하는 약국을 추출하여 사용자 단말(200)로 제공할 수 있다. The above pharmacy designation unit (141) can support a pharmacy search operation according to a user's search word input. At this time, the pharmacy designation unit (141) can extract a pharmacy corresponding to the user's search word from a pre-stored list based on the name of the pharmacy, the address of the pharmacy, the type of hospital around the pharmacy, whether or not a specific drug is in stock, etc. entered by the user, and provide the pharmacy to the user terminal (200).
그리고 상기 약국 검색부(141)는 이와 같이 다양한 방식에 따라 사용자에게 약국 정보를 제공할 수 있다. 사용자에게 추천되는 약국 정보 또는 사용자의 검색 동작 등에 대응하는 결과로 제공한 약국 정보에서 사용자가 선택한 약국을 사용자의 처방전을 전달할 약국으로 지정할 수 있다.And the above pharmacy search unit (141) can provide pharmacy information to the user in various ways. The pharmacy selected by the user from the pharmacy information recommended to the user or the pharmacy information provided as a result corresponding to the user's search action, etc., can be designated as the pharmacy to which the user's prescription will be delivered.
다음으로, 처방전 등록부(142)는 사용자가 선택한 지정 약국으로 처방전을 전달하기 위한 동작을 수행할 수 있다. 먼저, 처방전 등록부(142)는 사용자에게 처방전을 촬영하여 처방전의 이미지를 등록할 것을 요청할 수 있다. Next, the prescription register (142) can perform an action to deliver the prescription to a designated pharmacy selected by the user. First, the prescription register (142) can request the user to take a picture of the prescription and register an image of the prescription.
그리고 상기 처방전 등록부(142)는 사용자로부터 획득된 처방전 이미지를 등록하고, 해당 이미지의 식별 가능 정도를 판단할 수 있다. 예를 들어, 초점이 맞지 않거나, 조도 등에 따라 처방전 이미지에서 텍스트를 식별하기 어렵다고 판단되는 경우, 상기 처방전 등록부(142)는 사용자측에 처방전 이미지의 재촬영을 요구할 수 있다. And the prescription registration unit (142) can register a prescription image obtained from a user and determine the degree of identifiability of the image. For example, if it is determined that it is difficult to identify text in a prescription image due to out-of-focus or illuminance, the prescription registration unit (142) can request the user to retake the prescription image.
또한 상기 처방전 등록부(142)는 텍스트의 식별이 가능한 처방전 이미지가 입력된 것으로 판단하면, 해당 처방전 이미지를 등록할 수 있다. 상기 처방전 등록부(142)는 등록된 상기 처방전 이미지를 상기 지정된 약국의 단말(300)로 전송할 수 있다. In addition, if the prescription registration unit (142) determines that a prescription image with identifiable text has been entered, the prescription registration unit (142) can register the corresponding prescription image. The prescription registration unit (142) can transmit the registered prescription image to the terminal (300) of the designated pharmacy.
이 때, 상기 처방전 등록부(142)는 처방전 이미지에서 사용자의 이름, 나이에 대한 정보를 추출하고 해당 처방전이 조제약 픽업을 지원하는 애플리케이션의 사용자와 동일 인물인지 여부를 판단할 수 있다. 예를 들어, 상기 처방전 등록부(142)는 처방전에 기재된 연령 정보가 기준치 이하인 소아에 해당하는 경우, 상기 애플리케이션의 사용자가 처방 대상자의 보호자인지 여부를 확인하고, 추후 약국에 처방전 전달 시, 소아용 약을 조제할 것에 대한 안내를 추가로 제공할 수 있다. 그에 따라 약국 측에서는 사용자 계정에 근거한 사용자 정보가 성인이더라도, 처방전에 따라 소아용 약을 조제해야 하며, 소아용 약병을 포함하여 약을 포장해야 한다는 사실을 한번 더 확인할 수 있게 된다. At this time, the prescription registration unit (142) can extract information about the user's name and age from the prescription image and determine whether the user of the application that supports the prescription to pick up the prescription is the same person. For example, if the age information written on the prescription is for a child below the standard, the prescription registration unit (142) can confirm whether the user of the application is the guardian of the prescription subject, and can additionally provide guidance on preparing pediatric medicine when the prescription is delivered to the pharmacy later. Accordingly, the pharmacy can confirm once again that even if the user information based on the user account is an adult, the pediatric medicine must be prepared according to the prescription and the medicine must be packaged, including a pediatric medicine bottle.
상기 결제 수행부(143)는 처방전을 약국 단말(300)로 전달한 후, 약국 측에서 조제 비용을 전송함에 따라 사용자에게 약의 조제 비용을 안내하고, 해당 금액을 결제하도록 사용자 측에 요청할 수 있다.The above payment execution unit (143) can inform the user of the cost of dispensing the drug when the pharmacy transmits the dispensing cost after transmitting the prescription to the pharmacy terminal (300) and request the user to pay the corresponding amount.
또는, 상기 결제 수행부(143)는 미리 등록된 비용 판단 기준에 근거하여 자동으로 처방전에 기록된 약에 대한 조제 비용을 산출할 수 있다. 이 때, 상기 비용 판단 기준은 약국별로 등록되는 정보일 수 있으며, 등록 여부 또한 약국에 의해 선택될 수 있다. Alternatively, the payment execution unit (143) may automatically calculate the cost of preparation for the medicine recorded in the prescription based on the pre-registered cost judgment criteria. At this time, the cost judgment criteria may be information registered by each pharmacy, and whether or not to register may also be selected by the pharmacy.
그리고 상기 결제 수행부(143)는 사용자에게 안내된 비용이 애플리케이션을 통해 결제될 수 있도록 지원할 수 있다. 상기 결제 수행부(143)는 사용자 단말(200)에 조제 비용을 안내함과 함께 해당 비용이 결제될 수 있도록 지원하는 결제화면이 표시될 수 있도록 결제 정보를 전달할 수 있다. And the payment execution unit (143) can support the cost notified to the user to be paid through the application. The payment execution unit (143) can transmit payment information so that a payment screen that supports payment of the cost can be displayed while notifying the user terminal (200) of the preparation cost.
상기 결제 수행부(143)는 사용자 단말(200)에 의해 해당 처방전에 대응하는 조제 비용이 결제되면, 해당 처방전에 따라 약을 조제할 것에 대한 요청을 약국 단말(300)로 전달할 수 있다. 이 때 상기 결제 수행부(143)는 앞서 사용자 단말(200)측에서 선택한 사용자가 원하는 약의 수령 시간에 대한 정보를 함께 약국 단말(300)로 전달할 수 있다. 이에 따라 약국 단말(300)은 약의 조제 업무가 배정됨을 확인할 수 있으며, 해당 약의 조제를 완료해야 하는 시점에 대한 정보를 함께 확인할 수 있다. 프로세서(110)의 구성 중 상기 상황 안내부(150)는 약국 측의 약 보유 상황, 약의 조제 상황, 약의 수령 상황을 사용자 단말(200)로 안내하는 동작을 수행할 수 있다. The payment execution unit (143) above can transmit a request to the pharmacy terminal (300) to prepare medicine according to the prescription when the preparation cost corresponding to the prescription is paid by the user terminal (200). At this time, the payment execution unit (143) can transmit information about the time of receipt of the medicine desired by the user, previously selected by the user terminal (200), to the pharmacy terminal (300). Accordingly, the pharmacy terminal (300) can confirm that the medicine preparation task is assigned, and can also confirm information about the time when the preparation of the medicine must be completed. The situation guidance unit (150) among the components of the processor (110) can perform an operation of guiding the pharmacy's medicine possession status, medicine preparation status, and medicine receipt status to the user terminal (200).
이하에서는, 상기 처방전 등록부(142)에 대한 보다 구체적인 설명을 도 4를 참조하여 기술하기로 한다.Below, a more specific description of the above prescription registration book (142) will be described with reference to FIG. 4.
도 4는 본 발명의 실시 예에 따른 처방전 등록부의 구성을 도시한 도면이다.FIG. 4 is a diagram illustrating the configuration of a prescription registration book according to an embodiment of the present invention.
도 4에서 도시되는 바와 같이, 상기 처방전 등록부(142)는 문자열 판독부(142a), 유효성 확인부(142b) 및 처방 데이터 확인부(142c)를 포함하여 구성될 수 있다. As illustrated in FIG. 4, the prescription registration unit (142) may be configured to include a string reading unit (142a), a validity verification unit (142b), and a prescription data verification unit (142c).
상기 문자열 판독부(142a)는 획득한 처방전 이미지를 대상으로 텍스트를 추출하는 동작을 수행할 수 있다. 이 때 상기 텍스트는 문자열 및 숫자열을 포함할 수 있다. 이 때 상기 문자열 판독부(142a)는 처방전 이미지에서 텍스트를 추출하는 동작을 OCR(Optical Character Recognition)판독 기술을 활용하여 수행할 수 있다.The above string reading unit (142a) can perform an operation of extracting text from the acquired prescription image. At this time, the text can include a string and a number string. At this time, the above string reading unit (142a) can perform an operation of extracting text from the prescription image by utilizing OCR (Optical Character Recognition) reading technology.
상기 유효성 확인부(142b)는 상기 추출된 텍스트의 내용을 인식하고, 그에 기반하여 처방전의 유효성을 판단하기 위한 동작을 수행할 수 있다. The above validity verification unit (142b) can recognize the content of the extracted text and perform an operation to determine the validity of the prescription based on the content.
먼저, 상기 유효성 확인부(142b)는 상기 추출된 텍스트의 내용을 인식하고, 그에 기반하여 약국 제출용 처방전에 해당하는지 여부를 판단하는 방법으로 유효성을 식별할 수 있다. 상기 유효성 확인부(142b)는 획득된 처방전 이미지가 약국 제출용이 아닌 것으로 판단되는 경우, 유효하지 않은 처방전으로 식별하고, 약국 제출용에 해당하는 처방전을 다시 업로드할 것을 사용자 단말(200)측에 요청할 수 있다. First, the validity verification unit (142b) can identify validity by recognizing the content of the extracted text and determining whether it corresponds to a prescription for pharmacy submission based on the content. If the validity verification unit (142b) determines that the acquired prescription image is not for pharmacy submission, it can identify it as an invalid prescription and request the user terminal (200) to re-upload a prescription for pharmacy submission.
그리고 상기 유효성 확인부(142b)는 획득된 처방전 이미지로부터 추출된 텍스트에 기반하여 처방전의 유효기간을 식별하고, 식별된 유효기간이 경과한 것으로 판단된 경우에도 유효하지 않은 처방전으로 인식할 수 있다. 마찬가지로 상기 유효성 확인부(142b)는 획득된 처방전 이미지가 유효하지 않은 처방전으로 확인되는 경우, 사용자 단말(200)측에 처방전 이미지를 재요청할 수 있다. 이와 같이 상기 유효성 확인부(142b)는 처방전의 유효성을 확인하는 동작을 통해, 약국 제출용이 아닌 처방전으로 반복적으로 약물을 수령하는 불법 행위, 유효기간이 경과한 처방전으로 약물을 수령하는 위험 행위가 이루어지지 않도록 제한할 수 있다. And the validity verification unit (142b) can identify the validity period of the prescription based on the text extracted from the acquired prescription image, and can recognize it as an invalid prescription even if the identified validity period is determined to have expired. Likewise, the validity verification unit (142b) can request the prescription image again from the user terminal (200) if the acquired prescription image is determined to be an invalid prescription. In this way, the validity verification unit (142b) can prevent illegal acts of repeatedly receiving drugs with prescriptions that are not for pharmacy submission and dangerous acts of receiving drugs with a prescription whose validity period has expired through the operation of verifying the validity of the prescription.
또한 상기 유효성 확인부(142b)는 처방전의 촬영 단계에서도 처방전의 위변조를 제한하기 위한 동작을 수행할 수 있다. 예를 들어, 상기 유효성 확인부(142b)는 앱을 통해 사용자 단말(200)에서 촬영된 처방전 이미지를 저장할 경우, 촬영 도구(예, 촬영 기기 모델, 촬영에 사용된 앱 정보) 및 촬영 일시 정보를 메타데이터로 함께 저장할 수 있다. In addition, the validity verification unit (142b) can perform an operation to limit forgery of a prescription even at the stage of photographing the prescription. For example, when the validity verification unit (142b) stores a prescription image photographed at a user terminal (200) through an app, it can store the photographing tool (e.g., photographing device model, app information used for photographing) and photographing date and time information as metadata.
그리고 상기 유효성 확인부(142b)는 처방전 이미지에 함께 저장된 촬영 도구 및 촬영 일시 정보를 조회할 수 있고, 촬영 시점으로부터 기설정된 기간이 경과한 처방전 이미지 또는 기설정된 촬영 도구(예, 특정 카메라 앱)로 촬영되지 않은 처방전 이미지(예, 편집 앱으로 편집이 수행된 이미지)를 유효하지 않은 처방전으로 판단할 수 있다. In addition, the above validity verification unit (142b) can check the shooting tool and shooting date information stored together with the prescription image, and can determine a prescription image for which a preset period of time has passed from the shooting time or a prescription image that was not shot with a preset shooting tool (e.g., a specific camera app) (e.g., an image edited with an editing app) as an invalid prescription.
또한 상기 유효성 확인부(142b)는 상기 추출된 텍스트를 기반으로 연속 5~6자리의 숫자열로 확인되는 교부번호를 식별할 수 있다. 다양한 실시 예에 따라 상기 유효성 확인부(142b)는 유사한 기준 조건을 통해 교부번호 뿐 아니라, 면허번호를 식별할 수도 있다. In addition, the validation unit (142b) can identify the issuance number, which is confirmed as a sequence of 5 to 6 consecutive numbers, based on the extracted text. According to various embodiments, the validation unit (142b) can identify not only the issuance number but also the license number through similar criteria conditions.
상기 유효성 확인부(142b)는 처방전의 교부번호를 식별한 후, 해당 교부번호를 갖는 동일한 처방전이 이전에 등록된 이력이 있는지 여부를 판단할 수 있고, 교부번호 및 내용이 모두 동일한 처방전이 등록된 이력이 있는 경우 유효하지 않은 처방전으로 판단할 수 있다. 이 때, 상기 유효성 확인부(142b)는 예를 들어, 처방전 내 기재된 텍스트의 일치율이 기준치 이상인 경우, 해당 처방전이 이전에 등록된 처방전과 내용이 동일한 것으로 판단할 수 있다. The above validity verification unit (142b) can determine whether a prescription with the same issuance number has been previously registered after identifying the issuance number of the prescription, and if a prescription with the same issuance number and content has been registered, it can determine that the prescription is invalid. At this time, the validity verification unit (142b) can determine that the prescription has the same content as a previously registered prescription, for example, if the consistency rate of the text written in the prescription is above a standard value.
상기 처방 데이터 확인부(142c)는 상기 획득된 처방전 이미지에서 추출된 텍스트를 기반으로 처방 데이터를 추출하는 동작을 수행할 수 있다. 그리고 상기 처방 데이터 확인부(142c)는 획득된 처방 데이터를 사용자가 지정한 약국의 단말로 전달하는 동작을 수행할 수 있다. The above prescription data verification unit (142c) can perform an operation of extracting prescription data based on the text extracted from the acquired prescription image. In addition, the above prescription data verification unit (142c) can perform an operation of transmitting the acquired prescription data to a terminal of a pharmacy designated by the user.
보다 구체적으로, 상기 처방 데이터 확인부(142c)는 상기 추출된 텍스트로부터 복수의 항목에 대한 값을 포함하는 처방 데이터를 생성할 수 있다. 상기 처방 데이터에 포함되는 항목으로는 예컨대, 질병분류코드, 약 코드, 투약량, 투여횟수, 투여일수, (약물의)중량, 본임부담기호 중 적어도 하나를 포함하여 구성될 수 있다. 이 밖에도 상기 처방 데이터 확인부(142c)는 처방 데이터뿐 아니라, 처방전 이미지에 포함된 텍스트로부터 확인할 수 있는 다양한 종류의 데이터(예, 병원명, 처방일, 환자 정보 등)를 획득할 수 있다. More specifically, the prescription data verification unit (142c) can generate prescription data including values for multiple items from the extracted text. Items included in the prescription data may include, for example, at least one of a disease classification code, a drug code, a dosage, a number of administrations, a number of administration days, a (drug) weight, and a patient burden symbol. In addition, the prescription data verification unit (142c) can obtain various types of data (e.g., hospital name, prescription date, patient information, etc.) that can be verified from text included in a prescription image, as well as prescription data.
그리고 상기 처방 데이터 확인부(142c)는 OCR을 통해 추출된 텍스트에 대하여 텍스트의 기재 위치, 텍스트의 개수(자릿수), 배열 상태에 따라 처방 데이터를 항목별로 분류하는 동작을 수행할 수 있다. 예컨대, 상기 처방 데이터 확인부(142c)는 9자리의 숫자로 구성되는 데이터에 대하여 약 코드로 식별할 수 있고, 특정 알파벳과 특정 자릿수의 숫자 조합은 질병분류코드로 식별할 수 있다. And the above prescription data verification unit (142c) can perform an operation of classifying the prescription data by item based on the text description location, the number of texts (digits), and the arrangement status of the text extracted through OCR. For example, the above prescription data verification unit (142c) can identify data consisting of 9 numbers as a drug code, and can identify a combination of a specific alphabet and a specific number of digits as a disease classification code.
그러나 이에 한정되지 않고, 상기 처방 데이터 확인부(142c)는 상기 특성에 더하여 기재 위치 좌표 정보를 추가로 판단하여 처방 데이터의 항목(예, 투여횟수) 및 해당 항목에 대응하는 값(예, 3회)을 식별할 수 있다. However, without being limited thereto, the prescription data verification unit (142c) can additionally determine the description location coordinate information in addition to the above characteristics to identify the items of the prescription data (e.g., number of administrations) and the values corresponding to the items (e.g., 3 times).
그리고 상기 처방 데이터 확인부(142c)는 교부번호가 동일하며 처방 데이터가 상이한 이전 등록 처방전을 동일 처방전으로 분류하여 매핑하는 동작을 수행할 수 있다. 이에 따라 상기 처방 데이터 확인부(142c)는 동일 처방전으로 분류된 복수의 처방전 이미지들에서 추출된 각각의 처방 데이터를 병합하여 저장할 수 있다.In addition, the above prescription data verification unit (142c) can perform an operation of classifying and mapping previously registered prescriptions with the same issuance number and different prescription data as the same prescription. Accordingly, the above prescription data verification unit (142c) can merge and store each prescription data extracted from multiple prescription images classified as the same prescription.
상기 처방 데이터 확인부(142c)는 이러한 과정에 의해 처방전 이미지로부터 추출된 처방 데이터를 약국 단말(300)로 전송할 수 있다. The above prescription data verification unit (142c) can transmit prescription data extracted from the prescription image through this process to the pharmacy terminal (300).
다음은 상기 도 2의 프로세서(110)의 구성 중 상기 상황 안내부(150)의 구성에 대하여 설명하기로 한다. 상기 상황 안내부(150)에 대한 설명은 도 5를 참조하여 보다 자세히 기술하기로 한다. Next, the configuration of the situation guidance unit (150) among the configurations of the processor (110) of the above-described Fig. 2 will be described. The description of the situation guidance unit (150) will be described in more detail with reference to Fig. 5.
도 5는 본 발명의 실시 예에 따른 상황 안내부의 구성을 도시한 도면이다. FIG. 5 is a diagram illustrating the configuration of a situation guidance unit according to an embodiment of the present invention.
도 5에서 도시되는 바와 같이, 상기 상황 안내부(150)는 보유 상황 안내부(151), 조제 상황 안내부(152), 수령 확인부(153)를 포함하여 구성될 수 있다. As illustrated in Fig. 5, the situation guidance unit (150) may be configured to include a possession situation guidance unit (151), a preparation situation guidance unit (152), and a receipt confirmation unit (153).
상기 보유 상황 안내부(151), 조제 상황 안내부(152), 수령 확인부(153)를 포함하여 구성될 수 있다. It can be configured to include the above-mentioned possession status guidance section (151), preparation status guidance section (152), and receipt confirmation section (153).
상기 보유 상황 안내부(151)는 사용자가 전송 요청한 사용자의 처방전에 대응하는 약을 약국이 보유하고 있는지에 대한 정보를 약국 측으로부터 미리 등록된 보유 약물 정보에 기반하여 판단하고, 해당 약의 대체 약물로 어떤 약이 사용될 것인지 여부를 판단할 수 있다. The above-mentioned inventory status guidance unit (151) determines whether the pharmacy has the drug corresponding to the user's prescription requested for transmission based on the inventory information registered in advance by the pharmacy, and can determine which drug can be used as a substitute for the corresponding drug.
다양한 실시 예에 따라, 상기 보유 상황 안내부(151)는 사용자가 선택한 약국에서 사용자의 처방전에 대응하는 약물을 보유하지 않은 것으로 판단된 경우, 상기 약국에서 보유하지 않은 약물의 대체 약물이 존재하는지 여부 및 대체 약물에 대한 정보를 안내하는 제1 대응책과, 상기 약국에서 보유하지 않은 약물의 입고 일정에 따라 조제약의 수령 가능 일정을 설정하여 안내하는 제2 대응책 중 적어도 하나를 사용자 단말에 제공할 수 있다. According to various embodiments, the stock status guidance unit (151) may provide the user terminal with at least one of a first countermeasure for providing guidance on whether there is a substitute drug for the drug not in stock at the pharmacy and information on the substitute drug when it is determined that the pharmacy selected by the user does not have the drug corresponding to the user's prescription, and a second countermeasure for providing guidance by setting a schedule for receiving the compounded drug according to the schedule for receiving the drug not in stock at the pharmacy.
이 때, 상기 제2 대응책을 제공하는 데 있어서, 약국에서 보유하지 않은 약물의 입고 일정은 사용자의 처방전의 유효기간과 비교되어 수령 가능 일정이 산출될 수 있다. 예를 들어, 해당 약국에서 보유중이지 않은 처방전에 기재된 약물의 입고가 4일 뒤인 경우, 상기 보유 상황 안내부(151)는 해당 처방전의 유효기간(예, 3일)과 비교하여, 해당 약국에서의 조제약 수령이 불가능함을 판단하고, 조제약의 수령 가능 일정을 산출하지 않을 수 있다. 반면, 상기 보유 상황 안내부(151)는 처방전의 유효기간 내 약물의 입고가 가능한 것으로 확인되는 경우, 해당 약물의 입고 시점 이후로 조제약의 수령 가능 시점을 생성하여 사용자 단말(200)에 제공할 수 있다. At this time, in providing the second countermeasure, the stocking schedule of the drug not in stock at the pharmacy may be compared with the expiration date of the user's prescription to calculate the possible receipt schedule. For example, if the stocking of the drug written in the prescription not in stock at the pharmacy is 4 days later, the stocking status guidance unit (151) may determine that the compounded drug cannot be received at the pharmacy by comparing it with the expiration date of the prescription (e.g., 3 days) and may not calculate the possible receipt schedule for the compounded drug. On the other hand, if the stocking status guidance unit (151) confirms that the drug can be received within the expiration date of the prescription, it may generate a possible receipt time of the compounded drug after the time of the stocking of the drug and provide it to the user terminal (200).
또한, 대형병원에서 발급된 처방전의 유효기간은 7일가량으로 일반적인 처방전의 유효기간인 3일과 상이할 수 있음에 따라, 상기 보유 상황 안내부(151)는 처방전의 유효기간을 사용자로부터 입력받거나 또는 처방전에 표시된 유효기간을 체크하여 확보한 후 약국의 약물 입고 일정과 비교할 수 있다. In addition, since the validity period of a prescription issued by a large hospital may be about 7 days, which may be different from the validity period of a general prescription of 3 days, the possession status information section (151) may obtain the validity period of a prescription by inputting it from the user or checking the validity period indicated on the prescription and then compare it with the drug stocking schedule of the pharmacy.
상기 조제 상황 안내부(152)는 약국 단말(300)에서 입력된 사용자의 대기 순번, 예상되는 수령 가능 시간 등 조제 상황에 대한 정보를 획득하고, 이를 사용자 단말(200)에 전달할 수 있다. The above-mentioned preparation status guidance unit (152) can obtain information about the preparation status, such as the user's waiting number and expected time of receipt entered in the pharmacy terminal (300), and transmit this to the user terminal (200).
상기 수령 확인부(153)는 약국 단말에 대기중인 조제 업무와, 조제의 완료 및 사용자의 수령이 완료된 현황을 약국 단말(300)에 안내할 수 있다. 이에 따라 상기 약국 단말(300)을 활용하는 약국 측은 앞으로 약국을 방문하여 약을 수령할 사용자가 얼마나 남아있는지 쉽게 확인할 수 있다. The above receipt confirmation unit (153) can inform the pharmacy terminal (300) of the status of the preparation work waiting at the pharmacy terminal and the completion of the preparation and the completion of the user's receipt. Accordingly, the pharmacy using the pharmacy terminal (300) can easily check how many users are left to visit the pharmacy and receive the medicine in the future.
상기 프로세서(110)의 구성 중 상기 데이터 관리부(160) 획득된 처방전 이미지로부터 추출된 처방 데이터를 요건에 맞추어 기록하고, 기록된 복수의 처방 데이터들로부터 통계 데이터를 생성할 수 있다.Among the configurations of the above processor (110), the data management unit (160) can record prescription data extracted from the acquired prescription image according to requirements and generate statistical data from a plurality of recorded prescription data.
구체적으로, 상기 데이터 관리부(160)는 약국 단말(300)로부터 획득된 약국별 주요 약품의 재고 데이터와 연계하여, 약국별 주요 판매 약품의 예상 판매 속도를 판단할 수 있다. Specifically, the data management unit (160) can determine the expected sales speed of major sales drugs for each pharmacy by linking with the inventory data of major drugs for each pharmacy obtained from the pharmacy terminal (300).
먼저, 상기 데이터 관리부(160)는 약국별 주요 판매 약품의 리스트를 산출할 수 있다. First, the data management unit (160) can produce a list of major drugs sold by each pharmacy.
상기 데이터 관리부(160)는 전체 약국에 대하여 전송되는 처방 데이터들을 대상으로 확인된, 전체 약품별 판매 횟수 대비 특정 약국을 대상으로 확인된 약품별 판매 횟수를 비교하고, 이를 기반으로 주요 판매 약품의 리스트를 산출할 수 있다. 또는 상기 데이터 관리부(160)는 약국별 주요 판매 약품의 리스트를 산출하기 위해, 약국별 수신한 처방 데이터들을 대상으로 가장 많은 비중을 차지하는 약품의 리스트를 추출하여 주요 판매 약품 리스트로 판단할 수 있다. The above data management unit (160) can compare the number of sales of each drug confirmed for a specific pharmacy with the number of sales of each drug confirmed for all prescription data transmitted to all pharmacies, and can calculate a list of major sales drugs based on this. Alternatively, the data management unit (160) can extract a list of drugs with the largest proportion from the prescription data received for each pharmacy to determine it as a list of major sales drugs in order to calculate a list of major sales drugs for each pharmacy.
그리고 상기 데이터 관리부(160)는 일 약국의 주요 판매 약품의 판매 속도를 판단하기 위해, 약국별 판매량 증감 특성(유행 민감도)을 판단할 수 있다. And the above data management unit (160) can determine the sales volume increase/decrease characteristics (trend sensitivity) of each pharmacy in order to determine the sales speed of the main sales drugs of each pharmacy.
상기 데이터 관리부(160)는 연동된 전체 약국에 대하여 전송되는 처방 데이터들을 대상으로 약품별 처방 횟수 및 증감 수치를 산출하고, 개별 약국으로 전송된 처방 데이터들을 대상으로 약품별 처방 횟수 및 증감 수치를 산출하여 이들을 비교할 수 있다. 이 때 약품별 증감 수치는 기설정된 기간(예, 1주일)을 간격으로 산출될 수 있고, 개별 약품 대신 성분 종류별로 증감 수치가 산출될 수도 있다. The above data management unit (160) can calculate the number of prescriptions and the increase/decrease figures for each drug from the prescription data transmitted to all linked pharmacies, and compare them by calculating the number of prescriptions and the increase/decrease figures for each drug from the prescription data transmitted to each individual pharmacy. At this time, the increase/decrease figures for each drug can be calculated at intervals of a preset period (e.g., one week), and the increase/decrease figures can be calculated by ingredient type instead of individual drugs.
이에 따라 상기 데이터 관리부(160)는 전체 약국을 대상으로 확인된 증감 수치를 통해 특정 질환의 유행 여부 및 유행 강도를 판단할 수 있다. 그리고 상기 데이터 관리부(160)는 특정 약국을 대상으로 확인된 증감 수치와 전체를 대상으로 한 증감 수치의 비교를 통해, 대상 약국에서의 상기 특정 질환에 대한 유행 민감도를 판단할 수 있다. 예를 들어, 상기 데이터 관리부(160)는 전체 약국을 대상으로 확인된 약품의 판매 증감 수치에 비해, 특정 약국의 해당 약품의 판매 증감 수치가 클수록 해당 약품에 대응하는 질환에 대한 유행 민감도를 비례하여 큰 값으로 평가하고, 반대로 증감 수치가 평균에 비해 기준치 이상 작은 경우(꾸준하게 비슷한 판매량을 보이는 경우) 해당 질환에 대한 유행 민감도를 작은 값으로 평가할 수 있다. Accordingly, the data management unit (160) can determine whether a specific disease is prevalent and the intensity of the prevalentness through the increase/decrease figures confirmed for all pharmacies. In addition, the data management unit (160) can determine the prevalent sensitivity to the specific disease at the target pharmacy through a comparison of the increase/decrease figures confirmed for a specific pharmacy with the increase/decrease figures for all. For example, the data management unit (160) can evaluate the prevalent sensitivity to the disease corresponding to the drug as a proportionally larger value when the increase/decrease figures for the sales of the drug at a specific pharmacy are larger than the increase/decrease figures for the sales of the drug confirmed for all pharmacies, and conversely, when the increase/decrease figures are smaller than the average by a reference value (when similar sales volumes are consistently shown), the prevalent sensitivity to the disease can be evaluated as a smaller value.
그리고, 상기 데이터 관리부(160)는 일 약국의 주요 판매 약품의 판매 속도를 판단하기 위해, 약국의 기본 판매 특성(기본 판매량)을 판단할 수 있다. In addition, the data management unit (160) can determine the basic sales characteristics (basic sales volume) of a pharmacy in order to determine the sales speed of the pharmacy's main sales drugs.
상기 데이터 관리부(160)는 일 약국에 전달되는 기간별 조제 요청(처방전 전달)의 횟수를 측정하고, 이를 기반으로 해당 약국의 기본 판매량을 판단할 수 있다. The above data management unit (160) can measure the number of prescription requests (prescription delivery) per period delivered to a pharmacy and determine the basic sales volume of the pharmacy based on this.
그리고, 상기 데이터 관리부(160)는 일 약국에서의 '기본 판매량'과, '주요 판매 약품에 대한 유행 민감도'를 고려하여 해당 약국에서의 판매 속도를 산출할 수 있다. 상기 데이터 관리부(160)는 예를 들어, 일 약국에서 특정 약품에 대한 판매 속도를 '기본 판매량'에 비례하여 산출하되, 특정 약품에 대응하는 질병이 유행하는 기간에는 해당 약품에 대한 유행 민감도에 비례하는 가중치를 적용하여 예상 판매 속도(또는 예상 판매량)를 산출할 수 있다. 그리고 이 때 특정 약품에 대응하는 질병의 유행 기간은, 전체 약국에 대하여 전달되는 처방 데이터(예, 약 코드 등)에 기반하여 판단될 수 있다. And, the data management unit (160) can calculate the sales speed at a pharmacy by considering the 'basic sales volume' and the 'popular sensitivity for major sales drugs' at the pharmacy. For example, the data management unit (160) can calculate the sales speed for a specific drug at a pharmacy in proportion to the 'basic sales volume', and, during a period when a disease corresponding to a specific drug is prevalent, can calculate the expected sales speed (or expected sales volume) by applying a weight proportional to the popular sensitivity for the drug. And, at this time, the prevalent period of the disease corresponding to a specific drug can be determined based on prescription data (e.g., drug code, etc.) transmitted to all pharmacies.
나아가, 상기 데이터 관리부(160)는 상기 통계 데이터를 통해 확인된 약국별 주요 약품의 예상 판매 속도를 해당 약국의 재고 데이터와 비교하여, 해당 약품의 적정 입고 일정을 예측할 수 있다. 그리고 상기 데이터 관리부(160)는 예측된 적정 입고 일정에 따라 약국 단말(300)로 해당 약품의 입고할 시기가 도래하였음을 알리는 알림을 제공할 수 있다. In addition, the data management unit (160) can compare the expected sales speed of major drugs for each pharmacy confirmed through the statistical data with the inventory data of the pharmacy to predict the appropriate stocking schedule for the corresponding drug. In addition, the data management unit (160) can provide a notification to the pharmacy terminal (300) that the time for stocking the corresponding drug has arrived according to the predicted appropriate stocking schedule.
다양한 실시 예에 따라 상기 데이터 관리부(160)는 사용자별 처방 데이터에 대한 통계를 실시하고, 그에 따라 사용자별 복용 약물에 대한 정보를 관리할 수 있다. 따라서 상기 데이터 관리부(160)는 해당 애플리케이션을 통해 처방전 이미지를 전송하여 의약품(내지 약국 판매 물품)을 수령한 이력이 있는 사용자에 대하여, 기간별, 약품별 복용 내지 사용 비율을 산출하여 안내할 수 있다. 구체적으로, 상기 데이터 관리부(160)는 사용자에게 약품의 복용 내지 사용의 비율이 기준치 이상이 되는 기간 정보, 일정 기간(예, 1년)동안 기준치 이상 복용한 약물의 성분명 등을 산출하여 안내할 수 있다. According to various embodiments, the data management unit (160) may perform statistics on prescription data for each user and manage information on medications taken by each user accordingly. Accordingly, the data management unit (160) may calculate and provide guidance on the dosage or use ratio for each drug by period for users who have a history of receiving medicines (or pharmacy-sold items) by sending a prescription image through the application. Specifically, the data management unit (160) may calculate and provide guidance on the period during which the dosage or use ratio of drugs is higher than a reference value, the ingredient names of drugs taken for a certain period (e.g., 1 year) higher than a reference value, etc.
이하에서는, 도 6을 참조하여, 본 발명의 실시 예에 따른 처방전 이미지 판독 동작의 순서를 설명하기로 한다. Hereinafter, the sequence of a prescription image reading operation according to an embodiment of the present invention will be described with reference to FIG. 6.
도 6은 본 발명의 실시 예에 따른 처방전 이미지 판독 동작의 순서를 도시한 순서도이다.FIG. 6 is a flowchart illustrating the sequence of a prescription image reading operation according to an embodiment of the present invention.
도 6에서 도시되는 바와 같이, 본 발명의 실시 예에 따른 사용자 단말, 서버 및 약국 단말을 포함하는 시스템 상에서의 처방전 이미지 판독 동작이 수행될 수 있다. As illustrated in FIG. 6, a prescription image reading operation can be performed on a system including a user terminal, a server, and a pharmacy terminal according to an embodiment of the present invention.
먼저, 상기 서버(100)는 사용자 단말(200)로부터 사용자 처방전 이미지를 획득하는 605동작을 수행할 수 있다. 이 때 상기 서버(100)는 사용자 단말(200)이 사용자의 처방전 이미지를 촬영 동작을 제어할 수 있다. 다시 말하면, 이 때 사용자는 상기 서버(100)에서 지원하는 조제 요청용 애플리케이션에 접속하여, 약 조제를 요청하기 위한 처방전 촬영 기능을 이용할 수 있다. 그리고 이에 따라 상기 서버(100)는 사용자 단말(200)의 카메라 기능을 이용하여 촬영된 처방전 이미지를 상기 사용자 단말(200)로부터 획득할 수 있다.First, the server (100) can perform operation 605 of acquiring a user prescription image from the user terminal (200). At this time, the server (100) can control the user terminal (200) to take a picture of the user's prescription image. In other words, at this time, the user can access the prescription request application supported by the server (100) and use the prescription picture taking function for requesting the preparation of medicine. Accordingly, the server (100) can acquire a prescription image taken by using the camera function of the user terminal (200) from the user terminal (200).
또는 다양한 실시 예에 따라 상기 서버(100)는 사용자 단말(200)이 앱에 접속하기 전 촬영되어 사용자 단말(200)에 미리 저장된 처방전 이미지를 수신할 수도 있다. Alternatively, according to various embodiments, the server (100) may receive a prescription image that is captured before the user terminal (200) accesses the app and stored in advance in the user terminal (200).
상기 서버(100)는 획득한 처방전 이미지를 대상으로 텍스트를 추출하는 610동작을 수행할 수 있다. 이 때 상기 텍스트는 문자열 및 숫자열을 포함할 수 있다. 이 때 상기 처방전 이미지에서 텍스트를 추출하는 동작은 OCR(Optical Character Recognition)판독 기술을 활용하여 수행될 수 있다. The above server (100) can perform operation 610 of extracting text from the acquired prescription image. At this time, the text can include a character string and a number string. At this time, the operation of extracting text from the prescription image can be performed using OCR (Optical Character Recognition) reading technology.
그리고 상기 서버(100)는 상기 추출된 텍스트의 내용을 인식하고, 그에 기반하여 약국 제출용 처방전이 맞는지 여부를 판단하는 615동작을 수행할 수 있다. 이 때 약국 제출용 처방전이 아닌 것으로 판단되는 경우, 상기 서버(100)는 사용자 처방전 이미지를 획득하기 위한 605동작을 재수행할 수 있다. 예컨대, 상기 서버(100)는 사용자 단말(200)에 '약국 제출용 처방전을 촬영해주세요'와 같은 요청 문구를 표시하여, 사용자로 하여금 유효한 처방전을 촬영하도록 요청할 수 있다. 상기 615동작은 사용자가 촬영하여 서버(100)로 전송한 처방전이 유효한 처방전인지 여부를 판단하는 동작으로, 약국 제출용 처방전인지 여부를 확인하는 동작 외에도, 다양한 방식으로 처방전의 유효성 판단을 위한 동작을 수행할 수 있다. 예를 들어, 상기 서버(100)는 획득된 처방전 이미지로부터 추출된 텍스트에 기반하여 처방전의 유효기간을 식별하고, 식별된 유효기간이 경과한 것으로 판단된 경우에도 사용자의 처방전 이미지를 요청하는 605동작을 다시 수행할 수 있다. And the server (100) can recognize the content of the extracted text and perform operation 615 to determine whether the prescription is correct for pharmacy submission based on the content. In this case, if it is determined that it is not a prescription for pharmacy submission, the server (100) can re-perform operation 605 to obtain a user prescription image. For example, the server (100) can display a request phrase such as 'Please take a picture of the prescription for pharmacy submission' on the user terminal (200) to request the user to take a picture of a valid prescription. The operation 615 is an operation to determine whether the prescription that the user took a picture of and sent to the server (100) is a valid prescription. In addition to the operation to confirm whether it is a prescription for pharmacy submission, various operations for determining the validity of the prescription can be performed. For example, the server (100) may identify the expiration date of a prescription based on text extracted from the acquired prescription image, and may perform operation 605 again to request the user's prescription image even if the identified expiration date is determined to have expired.
이후 상기 서버(100)는 상기 추출된 텍스트에 기반하여 코드 관련 문자열을 판단하는 620동작을 수행할 수 있다. 예컨대 상기 코드는 병원에서 처방전을 발급할 때 생성하는 처방전 교부번호를 의미할 수 있다. 상기 서버(100)는 기설정된 특정 기준에 따라 추출된 텍스트들 중 코드 관련 문자열을 식별할 수 있다. 예를 들어 상기 서버(100)는 코드 관련 문자열을 판단하는 기준으로 텍스트의 개수, 텍스트의 종류(문자열, 숫자열), 텍스트의 기재 위치(예, 좌측 상단)등을 설정하고, 이를 기반으로 대상 코드(예, 교부번호)임을 판단할 수 있다. Thereafter, the server (100) may perform operation 620 of determining a code-related string based on the extracted text. For example, the code may refer to a prescription issuance number generated when a hospital issues a prescription. The server (100) may identify a code-related string among the extracted texts according to a preset specific criterion. For example, the server (100) may set the number of texts, the type of text (character string, number string), the description location of the text (e.g., upper left), etc. as criteria for determining a code-related string, and may determine that the target code (e.g., issuance number) is based on these.
코드 관련 문자열을 판단한 상기 서버(100)는 620동작을 통해 식별된 코드와 동일한 코드로 기등록된 처방전이 존재하는지 여부를 확인하는 625동작을 수행할 수 있다. 이 때 상기 서버(100)는 이전에 등록된 동일한 처방전이 존재하는 것으로 판단한 경우 동일 코드를 갖는 기등록 처방전을 매핑하고, 매핑된 복수의 처방전으로부터 처방 데이터를 판단하는 630동작을 수행할 수 있다. 예를 들어, 수신된 처방전 이미지가 2장이고, 이들에 대한 코드(교부번호)가 동일한 것으로 판단되면, 상기 서버(100)는 처방전 이미지가 2장이라 하더라도, 각 처방전 이미지를 통해 추출된 각각의 처방데이터를 병합하여 하나의 데이터로 생성할 수 있다. The server (100) that has determined the code-related string can perform operation 625 to check whether there is a previously registered prescription with the same code as the code identified through operation 620. At this time, if the server (100) determines that there is a previously registered identical prescription, it can perform operation 630 to map the previously registered prescription with the same code and determine prescription data from the mapped multiple prescriptions. For example, if there are two received prescription images and it is determined that the codes (issuance numbers) for them are the same, the server (100) can merge the respective prescription data extracted through each prescription image and create one data, even if there are two prescription images.
한편, 상기 서버(100)는 625동작에서, 상기 식별된 코드와 동일한 처방전이 기존에 등록되지 않은 것으로 판단되는 경우, 상기 획득된 처방전에 대응하는 처방 데이터를 판단하는 635동작을 수행할 수 있다. Meanwhile, if the server (100) determines in operation 625 that a prescription identical to the identified code has not been previously registered, it may perform operation 635 of determining prescription data corresponding to the acquired prescription.
구체적으로, 상기 서버(100)는 텍스트 추출 동작을 통해 획득된 텍스트 데이터들을 대상으로 미리 설정된 기준 조건을 만족하는 항목별 데이터를 식별하고 식별된 값들을 포함하는 처방 데이터를 생성할 수 있다. 예를 들어, 상기 서버(100)는 처방 데이터의 항목들로 질병분류코드, 약 코드, 투약량, 투여횟수, 투여일수, 중량 및 본인부담기호 중 적어도 하나를 포함하여 구성할 수 있다. Specifically, the server (100) can identify data for each item that satisfies preset criteria from text data acquired through a text extraction operation and generate prescription data including the identified values. For example, the server (100) can configure the prescription data to include at least one of a disease classification code, a drug code, a dosage, a number of administrations, a number of administration days, a weight, and a self-pay symbol.
그리고 상기 서버(100)는 이러한 항목 별 데이터 값을 식별할 시, 미리 설정된 기준 조건인 텍스트의 기재 위치, 텍스트의 개수(자릿수), 텍스트 조합 형태(예, 숫자로만 구성, 알파벳으로만 구성, 숫자 및 알파벳의 조합으로 구성 등) 등에 기반하여 식별할 수 있다. 예를 들어, 상기 서버(100)는 9자리의 숫자열로 구성된 텍스트에 대하여 약(의약품) 코드로 식별할 수 있다.And when identifying the data values for each item, the server (100) can identify based on preset criteria such as the location of text description, the number of texts (number of digits), the text combination form (e.g., composed of only numbers, composed of only alphabets, composed of a combination of numbers and alphabets, etc.). For example, the server (100) can identify text composed of a 9-digit number string as a drug (medicine) code.
상기 서버(100)는 상기 630동작 및 635동작 이후 처방전 이미지로부터 추출된 처방 데이터를 약국 단말로 전송하는 640동작을 수행할 수 있다. The above server (100) can perform operation 640 of transmitting prescription data extracted from a prescription image to a pharmacy terminal after operations 630 and 635.
요컨대, 본 발명의 실시 예에 따른 처방전 이미지 판독 시스템은 사용자의 처방전을 촬영하는 사용자 단말, 상기 사용자 단말로부터 사용자의 처방전 이미지를 수신하고, 수신된 상기 처방전 이미지로부터 처방 데이터를 추출하며, 사용자가 지정한 약국의 단말로 상기 처방 데이터를 전달하여 약의 조제를 요청하는 서버 및 상기 서버로부터 사용자의 처방 데이터를 획득하고, 획득된 처방 데이터에 대응하는 약을 조제하도록 안내하는 약국 단말을 포함하여 구성될 수 있다. In short, a prescription image reading system according to an embodiment of the present invention may include a user terminal for taking a picture of a user's prescription, a server for receiving the user's prescription image from the user terminal, extracting prescription data from the received prescription image, and transmitting the prescription data to a terminal of a pharmacy designated by the user to request preparation of a drug, and a pharmacy terminal for obtaining the user's prescription data from the server and guiding preparation of a drug corresponding to the obtained prescription data.
또한, 상기 서버는 상기 사용자 단말로부터 상기 수신된 처방전 이미지에 포함된 텍스트를 식별하고, 상기 식별된 텍스트에 기반하여 상기 처방 데이터를 추출할 수 있다. 이 때 상기 처방 데이터는 질병분류코드, 약코드, 투약량, 투여횟수, 투여일수, 중량 중 적어도 하나의 항목을 포함하여 구성될 수 있다.In addition, the server can identify text included in the prescription image received from the user terminal and extract the prescription data based on the identified text. At this time, the prescription data can be configured to include at least one item from among a disease classification code, a drug code, a dosage, a number of administrations, a number of administration days, and a weight.
그리고 상기 서버는 상기 식별된 텍스트에 기반하여 상기 수신된 처방전 이미지에 대한 약국용 처방전의 해당 여부 또는 유효기간의 경과 여부에 따른 유효성 판단을 수행하고, 유효하지 않은 처방전으로 판단되는 경우, 처방전 이미지를 재요청할 수 있다. And the server, based on the identified text, can perform a validity judgment on whether the received prescription image corresponds to a pharmacy prescription or whether the expiration date has expired, and if it is determined to be an invalid prescription, can re-request the prescription image.
또한 상기 서버는 상기 식별된 텍스트 중 기설정된 조건을 만족하는 숫자열을 추출하여 교부번호로 판단하고, 동일한 교부번호를 포함하며 처방 데이터가 상이한 이전 등록 처방전을 동일 처방전으로 분류하고, 동일 처방전으로 판단된 처방전 이미지들로부터 추출된 각각의 처방 데이터를 병합하여 저장할 수 있다. In addition, the server can extract a numeric string that satisfies a preset condition from the identified text and determine it as a issuance number, classify previously registered prescriptions that include the same issuance number but have different prescription data as the same prescription, and merge and store each prescription data extracted from prescription images determined to be the same prescription.
또한 상기 서버는 상기 식별된 텍스트의 기재 위치, 개수 및 배열 상태에 따라 처방 데이터를 항목별로 분류할 수 있다. 이 때, 상기 배열 상태는 숫자 배열, 문자 배열 및 숫자와 문자의 조합 배열 중 어느 하나로 선택될 수 있다. 즉, 상기 서버는 식별된 텍스트의 기재 위치와, 몇개의 숫자열인지 또는 몇 개로 이루어진 숫자 및 알파벳의 조합인지 등에 따라 처방 데이터의 항목을 질병분류코드, 약코드, 투약량, 투여횟수, 투여일수, 중량 등으로 분류하여 판단할 수 있다. In addition, the server can classify the prescription data into items according to the description position, number, and arrangement status of the identified text. At this time, the arrangement status can be selected as any one of a number arrangement, a character arrangement, and a combination arrangement of numbers and characters. That is, the server can classify and determine the items of the prescription data into disease classification codes, drug codes, dosage, number of administrations, number of administration days, weight, etc. according to the description position of the identified text, the number of number strings, or the combination of numbers and alphabets.
그리고 상기 서버는 촬영된 처방전 이미지에 처방전을 촬영한 시점 및 촬영 도구에 대한 정보를 함께 기록하며, 촬영 시점으로부터 기설정된 기간이 경과한 처방전 이미지 또는 기설정된 촬영 도구로 촬영되지 않은 처방전 이미지의 활용을 제한할 수 있다. 이러한 동작은 처방전을 미리 촬영한 이후 편집프로그램 등으로 처방전 이미지의 위변조를 수행하는 것을 방지하기 위해 수행될 수 있다. In addition, the server records information about the time and shooting tool used to shoot the prescription image together with the captured prescription image, and can restrict the use of prescription images that have passed a preset period of time from the shooting time or prescription images that were not shot with a preset shooting tool. This operation can be performed to prevent forgery of prescription images using an editing program, etc. after shooting the prescription in advance.
그리고 상기 서버는 상기 추출한 처방 데이터를 기록하고, 상기 처방 데이터에 기반하여 판매 약품에 대한 약국별 통계 데이터를 생성하되, 상기 약국 단말로부터 약국별 주요 약품의 재고 데이터를 획득하고, 상기 통계 데이터를 통해 확인된 주요 판매 약품의 예상 판매 속도를 상기 재고 데이터와 비교하여 약품별 예상 입고 일정을 산출할 수 있다. And the server records the extracted prescription data, and generates statistical data for each pharmacy on drugs sold based on the prescription data, and obtains inventory data for major drugs for each pharmacy from the pharmacy terminal, and compares the expected sales speed of major drugs sold confirmed through the statistical data with the inventory data to calculate the expected stocking schedule for each drug.
본 발명의 실시 예에 따른 처방전 이미지 판독 방법은 사용자 단말이, 사용자의 처방전을 촬영하는 단계, 서버가, 상기 사용자 단말로부터 사용자의 처방전 이미지를 수신하고, 수신된 상기 처방전 이미지로부터 처방 데이터를 추출하는 단계, 상기 서버가, 사용자가 지정한 약국의 단말로 상기 처방 데이터를 전달하여 약의 조제를 요청하는 단계 및 약국 단말이, 상기 서버로부터 사용자의 처방 데이터를 획득하고, 획득된 처방 데이터에 대응하는 약을 조제하도록 안내하는 단계를 포함하여 구성될 수 있다. A method for reading a prescription image according to an embodiment of the present invention may include a step of a user terminal taking a picture of a user's prescription, a step of a server receiving the user's prescription image from the user terminal and extracting prescription data from the received prescription image, a step of the server transmitting the prescription data to a terminal of a pharmacy designated by the user to request preparation of a drug, and a step of the pharmacy terminal obtaining the user's prescription data from the server and guiding the pharmacy terminal to prepare a drug corresponding to the obtained prescription data.
본 발명의 실시 예에 따른 서버(100)는 프로세서(110), 메모리(120), 통신부(130) 등을 포함할 수 있다. A server (100) according to an embodiment of the present invention may include a processor (110), a memory (120), a communication unit (130), etc.
메모리는 전자 장치의 동작에 필요한 각종 프로그램 및 데이터를 저장할 수 있다. 메모리는 비휘발성 메모리, 휘발성 메모리, 플래시메모리(flash-memory), 하드디스크 드라이브(HDD) 또는 솔리드 스테이트 드라이브(SSD) 등으로 구현될 수 있다.Memory can store various programs and data required for the operation of electronic devices. Memory can be implemented as nonvolatile memory, volatile memory, flash memory, hard disk drive (HDD), or solid state drive (SSD).
통신부는 외부 장치와 통신을 수행할 수 있다. 특히, 통신부는 와이파이 칩, 블루투스 칩, 무선 통신 칩, NFC칩, 저전력 블루투스 침(BLE 칩) 등과 같은 다양한 통신 칩을 포함할 수 있다. 이때, 와이파이 칩, 블루투스 칩, NFC 칩은 각각 LAN 방식, WiFi 방식, 블루투스 방식, NFC 방식으로 통신을 수행한다. 와이파이 칩이나 블루투스칩을 이용하는 경우에는 SSID 및 세션 키 등과 같은 각종 연결 정보를 먼저 송수신 하여, 이를 이용하여 통신 연결한 후 각종 정보들을 송수신할 수 있다. 무선 통신칩은 IEEE, 지그비, 3G(3rd Generation), 3GPP(3rd Generation Partnership Project), LTE(Long Term Evolution) 등과 같은 다양한 통신 규격에 따라 통신을 수행하는 칩을 의미한다.The communication unit can perform communication with an external device. In particular, the communication unit can include various communication chips such as a WiFi chip, a Bluetooth chip, a wireless communication chip, an NFC chip, a low-power Bluetooth chip (BLE chip), etc. At this time, the WiFi chip, the Bluetooth chip, and the NFC chip perform communication in the LAN mode, the WiFi mode, the Bluetooth mode, and the NFC mode, respectively. In the case of using a WiFi chip or a Bluetooth chip, various connection information such as an SSID and a session key are first transmitted and received, and then communication is connected using this, and then various information can be transmitted and received. The wireless communication chip refers to a chip that performs communication according to various communication standards such as IEEE, Zigbee, 3G (3rd Generation), 3GPP (3rd Generation Partnership Project), and LTE (Long Term Evolution).
프로세서는 메모리에 저장된 각종 프로그램을 이용하여 사용자 기기의 전반적인 동작을 제어할 수 있다. 프로세서는 RAM, ROM, 그래픽 처리부, 메인 CPU, 제1 내지 n 인터페이스 및 버스로 구성될 수 있다. 이때, RAM, ROM, 그래픽 처리부, 메인 CPU, 제1 내지 n 인터페이스 등은 버스를 통해 서로 연결될 수 있다.The processor can control the overall operation of the user device using various programs stored in the memory. The processor can be composed of RAM, ROM, a graphics processing unit, a main CPU, first to n interfaces, and a bus. At this time, the RAM, ROM, graphics processing unit, main CPU, first to n interfaces, etc. can be connected to each other via a bus.
RAM은 O/S 및 어플리케이션 프로그램을 저장한다. 구체적으로, 전자 장치가 부팅되면 O/S가 RAM에 저장되고, 사용자가 선택한 각종 어플리케이션 데이터가 RAM에 저장될 수 있다.RAM stores the O/S and application programs. Specifically, when an electronic device boots up, the O/S is stored in RAM, and various application data selected by the user can be stored in RAM.
ROM에는 시스템 부팅을 위한 명령어 세트 등이 저장된다. 턴 온 명령이 입력되어 전원이 공급되면, 메인 CPU는 ROM에 저장된 명령어에 따라 메모리(200)에 저장된 O/S를 RAM에 복사하고, O/S를 실행시켜 시스템을 부팅시킨다. 부팅이 완료되면, 메인 CPU는 메모리에 저장된 각종 어플리케이션 프로그램을 RAM에 복사하고, RAM에 복사된 어플리케이션 프로그램을 실행시켜 각종 동작을 수행한다.The ROM stores a set of commands for system booting, etc. When a turn-on command is input and power is supplied, the main CPU copies the O/S stored in the memory (200) to the RAM according to the commands stored in the ROM, and executes the O/S to boot the system. When booting is complete, the main CPU copies various application programs stored in the memory to the RAM, and executes the application programs copied to the RAM to perform various operations.
메인 CPU는 메모리에 액세스하여, 메모리에 저장된 OS를 이용하여 부팅 및 실행을 포함한 동작들을 수행한다. 그리고, 메인 CPU는 메모리에 저장된 각종 프로그램, 컨텐츠, 데이터 등을 이용하여 다양한 동작을 수행한다.The main CPU accesses the memory and performs operations including booting and execution using the OS stored in the memory. In addition, the main CPU performs various operations using various programs, contents, and data stored in the memory.
제1 내지 n 인터페이스는 상술한 각종 구성요소들과 연결된다. 제1 내지 n 인터페이스 중 하나는 네트워크를 통해 외부 장치와 연결되는 네트워크 인터페이스가 될 수도 있다.The first to n interfaces are connected to the various components described above. One of the first to n interfaces may be a network interface that connects to an external device via a network.
한편, 나아가, 프로세서는 인공지능 모델을 제어할 수 있다. 이 경우, 제어부는 인공지능 모델을 제어하기 위한 그래픽 전용 프로세서(예: GPU)를 포함할 수 있음은 물론이다.Meanwhile, furthermore, the processor can control the artificial intelligence model. In this case, the control unit can of course include a graphics-only processor (e.g., GPU) for controlling the artificial intelligence model.
프로세서는 하나 이상의 코어(core, 미도시) 및 그래픽 처리부(미도시) 및/또는 다른 구성 요소와 신호를 송수신하는 연결 통로(예를 들어, 버스(bus) 등)를 포함할 수 있다.A processor may include one or more cores (not shown) and a graphics processing unit (not shown) and/or a connection path (e.g., a bus) for transmitting and receiving signals with other components.
일 실시예에 따른 프로세서는 메모리에 저장된 하나 이상의 인스트럭션을 실행함으로써, 본 발명과 관련하여 설명된 방법을 수행한다.A processor according to one embodiment performs a method described in connection with the present invention by executing one or more instructions stored in memory.
한편, 프로세서는 프로세서 내부에서 처리되는 신호(또는, 데이터)를 일시적 및/또는 영구적으로 저장하는 램(RAM: Random Access Memory, 미도시) 및 롬(ROM: Read-Only Memory, 미도시)을 더 포함할 수 있다. 또한, 프로세서(130)는 그래픽 처리부, 램 및 롬 중 적어도 하나를 포함하는 시스템온칩(SoC: system on chip) 형태로 구현될 수 있다.Meanwhile, the processor may further include a RAM (Random Access Memory, not shown) and a ROM (Read-Only Memory, not shown) that temporarily and/or permanently store signals (or data) processed within the processor. In addition, the processor (130) may be implemented in the form of a system on chip (SoC) that includes at least one of a graphics processing unit, a RAM, and a ROM.
메모리에는 프로세서의 처리 및 제어를 위한 프로그램들(하나 이상의 인스트럭션들)을 저장할 수 있다. 저장부에 저장된 프로그램들은 기능에 따라 복수 개의 모듈들로 구분될 수 있다.The memory can store programs (one or more instructions) for processing and controlling the processor. The programs stored in the storage unit can be divided into multiple modules according to their functions.
본 발명의 실시예와 관련하여 설명된 방법 또는 알고리즘의 단계들은 하드웨어로 직접 구현되거나, 하드웨어에 의해 실행되는 소프트웨어 모듈로 구현되거나, 또는 이들의 결합에 의해 구현될 수 있다. 소프트웨어 모듈은 RAM(Random Access Memory), ROM(Read Only Memory), EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM), 플래시 메모리(Flash Memory), 하드 디스크, 착탈형 디스크, CD-ROM, 또는 본 발명이 속하는 기술 분야에서 잘 알려진 임의의 형태의 컴퓨터 판독가능 기록매체에 상주할 수도 있다.The steps of a method or algorithm described in connection with the embodiments of the present invention may be implemented directly in hardware, implemented in a software module executed by hardware, or implemented by a combination of these. The software module may reside in a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable ROM (EPROM), an Electrically Erasable Programmable ROM (EEPROM), a Flash Memory, a hard disk, a removable disk, a CD-ROM, or any other form of computer-readable recording medium well known in the art to which the present invention pertains.
본 발명의 구성 요소들은 하드웨어인 컴퓨터와 결합되어 실행되기 위해 프로그램(또는 애플리케이션)으로 구현되어 매체에 저장될 수 있다. 본 발명의 구성 요소들은 소프트웨어 프로그래밍 또는 소프트웨어 요소들로 실행될 수 있으며, 이와 유사하게, 실시 예는 데이터 구조, 프로세스들, 루틴들 또는 다른 프로그래밍 구성들의 조합으로 구현되는 다양한 알고리즘을 포함하여, C, C++, 자바(Java), 어셈블러(assembler) 등과 같은 프로그래밍 또는 스크립팅 언어로 구현될 수 있다. 기능적인 측면들은 하나 이상의 프로세서들에서 실행되는 알고리즘으로 구현될 수 있다.The components of the present invention may be implemented as a program (or application) to be executed by combining with a computer as hardware and stored on a medium. The components of the present invention may be executed as software programming or software elements, and similarly, the embodiments may be implemented in a programming or scripting language such as C, C++, Java, assembler, etc., including various algorithms implemented as a combination of data structures, processes, routines, or other programming elements. Functional aspects may be implemented as algorithms that are executed on one or more processors.
상술한 예를 참조하여 본 발명을 상세하게 설명하였지만, 당업자라면 본 발명의 범위를 벗어나지 않으면서도 본 예들에 대한 개조, 변경 및 변형을 가할 수 있다. 요컨대 본 발명이 의도하는 효과를 달성하기 위해 도면에 도시된 모든 기능 블록을 별도로 포함하거나 도면에 도시된 모든 순서를 도시된 순서 그대로 따라야만 하는 것은 아니며, 그렇지 않더라도 얼마든지 청구항에 기재된 본 발명의 기술적 범위에 속할 수 있음에 주의한다.Although the present invention has been described in detail with reference to the above examples, those skilled in the art can make modifications, changes, and variations to the examples without departing from the scope of the present invention. In short, it should be noted that in order to achieve the intended effect of the present invention, it is not necessary to include all the functional blocks depicted in the drawings separately or to follow all the orders depicted in the drawings in the exact order depicted, and even if not, it can fall within the technical scope of the present invention described in the claims.
100 : 서버
140: 접수 지원부
141 : 약국 지정부
142 : 처방전 등록부
143 : 결제 지원부
150 : 상황 안내부
160 : 데이터 관리부
200 : 사용자 단말
300 : 약국 단말100 : Server
140: Reception Support Department
141 : Pharmacy Designation Department
142 : Prescription Register
143 : Payment Support Department
150 : Situational Information Department
160 : Data Management Department
200 : User terminal
300 : Pharmacy terminal
Claims (8)
사용자의 처방전을 촬영하는 사용자 단말;
상기 사용자 단말로부터 사용자의 처방전 이미지를 수신하고, 수신된 상기 처방전 이미지로부터 처방 데이터를 추출하며, 사용자가 지정한 약국의 단말로 상기 처방 데이터를 전달하여 약의 조제를 요청하는 서버; 및
상기 서버로부터 사용자의 처방 데이터를 획득하고, 획득된 처방 데이터에 대응하는 약을 조제하도록 안내하는 약국 단말;을 포함하는, 시스템.In the prescription image interpretation system,
A user terminal that takes a picture of the user's prescription;
A server that receives a user's prescription image from the user terminal, extracts prescription data from the received prescription image, and transmits the prescription data to a terminal of a pharmacy designated by the user to request preparation of a drug; and
A system including a pharmacy terminal that obtains a user's prescription data from the server and guides the preparation of a medicine corresponding to the obtained prescription data.
상기 서버는
상기 사용자 단말로부터 상기 수신된 처방전 이미지에 포함된 텍스트를 식별하고, 상기 식별된 텍스트에 기반하여 상기 처방 데이터를 추출하며,
상기 처방 데이터는 질병분류코드, 약코드, 투약량, 투여횟수, 투여일수, 중량 중 적어도 하나를 포함하여 구성되는, 시스템. In the first paragraph
The above server is
Identifying text included in the prescription image received from the user terminal and extracting the prescription data based on the identified text;
A system in which the above prescription data comprises at least one of a disease classification code, a drug code, a dosage, a number of administrations, a number of days of administration, and a weight.
상기 서버는
상기 식별된 텍스트에 기반하여 상기 수신된 처방전 이미지에 대한 약국용 처방전의 해당 여부 또는 유효기간의 경과 여부에 따른 유효성을 평가하고, 상기 평가 결과 유효하지 않은 것으로 판단되는 경우, 처방전 이미지를 재요청하는, 시스템. In the second paragraph
The above server is
A system for evaluating the validity of the received prescription image based on the identified text, whether the prescription is a pharmacy prescription or has expired, and if the evaluation result determines that the prescription image is invalid, re-requesting the prescription image.
상기 서버는
상기 식별된 텍스트 중 기설정된 조건을 만족하는 숫자열을 추출하여 교부번호로 판단하고, 동일한 교부번호를 포함하며 처방 데이터가 상이한 이전 등록 처방전을 동일 처방전으로 분류하고, 동일 처방전으로 판단된 처방전 이미지들로부터 추출된 각각의 처방 데이터를 병합하여 저장하는, 시스템. In the second paragraph,
The above server is
A system that extracts a numeric string satisfying a preset condition from the identified text and determines it as a issuance number, classifies previously registered prescriptions that include the same issuance number but have different prescription data as the same prescription, and merges and stores each prescription data extracted from prescription images determined to be the same prescription.
상기 서버는
상기 식별된 텍스트의 기재 위치, 개수 및 배열 상태에 따라 처방 데이터를 항목별로 분류하고,
상기 배열 상태는 숫자 배열, 문자 배열 및 숫자와 문자의 조합 배열 중 어느 하나로 선택되는 것을 특징으로 하는, 시스템.In the second paragraph,
The above server is
Classify prescription data by item based on the description location, number, and arrangement status of the identified text above,
A system, characterized in that the above array state is selected as one of a number array, a character array, and a combination array of numbers and characters.
상기 서버는
촬영된 처방전 이미지에 처방전을 촬영한 시점 및 촬영 도구에 대한 정보를 함께 기록하며, 촬영 시점으로부터 기설정된 기간이 경과한 처방전 이미지 또는 기설정된 촬영 도구로 촬영되지 않은 처방전 이미지의 활용을 제한하는, 시스템.In the first paragraph,
The above server is
A system that records information about the time and shooting tool used to shoot a prescription image together with the captured prescription image, and restricts the use of prescription images that have passed a preset period of time from the shooting time or prescription images that were not shot with a preset shooting tool.
상기 서버는
상기 추출한 처방 데이터를 기록하고, 상기 처방 데이터에 기반하여 판매 약품에 대한 약국별 통계 데이터를 생성하되,
상기 약국 단말로부터 약국별 주요 약품의 재고 데이터를 획득하고, 상기 통계 데이터를 통해 확인된 주요 판매 약품의 예상 판매 속도를 상기 재고 데이터와 비교하여 예상 입고 일정을 산출하는, 시스템. In the first paragraph
The above server is
Record the above extracted prescription data and create statistical data for each pharmacy on the drugs sold based on the above prescription data.
A system that obtains inventory data of major drugs for each pharmacy from the above-mentioned pharmacy terminal, compares the expected sales speed of major sales drugs confirmed through the above-mentioned statistical data with the above-mentioned inventory data, and calculates the expected stocking schedule.
사용자 단말이, 사용자의 처방전을 촬영하는 단계;
서버가, 상기 사용자 단말로부터 사용자의 처방전 이미지를 수신하고, 수신된 상기 처방전 이미지로부터 처방 데이터를 추출하는 단계;
상기 서버가, 사용자가 지정한 약국의 단말로 상기 처방 데이터를 전달하여 약의 조제를 요청하는 단계; 및
약국 단말이, 상기 서버로부터 사용자의 처방 데이터를 획득하고, 획득된 처방 데이터에 대응하는 약을 조제하도록 안내하는 단계;를 포함하는, 방법.In the method of reading prescription images,
A step in which the user terminal takes a picture of the user's prescription;
A step in which the server receives a user's prescription image from the user terminal and extracts prescription data from the received prescription image;
The step of the above server transmitting the prescription data to the terminal of the pharmacy designated by the user to request preparation of the medicine; and
A method comprising: a step of allowing a pharmacy terminal to obtain a user's prescription data from the server and to guide the preparation of a medicine corresponding to the obtained prescription data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020230064797A KR20240167143A (en) | 2023-05-19 | 2023-05-19 | System for reading prescription images |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020230064797A KR20240167143A (en) | 2023-05-19 | 2023-05-19 | System for reading prescription images |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20240167143A true KR20240167143A (en) | 2024-11-26 |
Family
ID=93703735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020230064797A KR20240167143A (en) | 2023-05-19 | 2023-05-19 | System for reading prescription images |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20240167143A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100875093B1 (en) | 2007-02-07 | 2008-12-22 | (주)제이브이엠 | automatic medicine packing machine with prescription recognition function and prescription managing system, and method thereof |
-
2023
- 2023-05-19 KR KR1020230064797A patent/KR20240167143A/en unknown
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100875093B1 (en) | 2007-02-07 | 2008-12-22 | (주)제이브이엠 | automatic medicine packing machine with prescription recognition function and prescription managing system, and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10897461B2 (en) | Pharmacy database access methods and systems | |
US20160063188A1 (en) | Animal data management system and methods of managing animal data | |
KR101261042B1 (en) | A service providing method for customized medical information sales | |
US20120011565A1 (en) | System and method for storing and providing access to secured information | |
KR20190006755A (en) | Medication counseling system and method | |
KR101920466B1 (en) | Method, system and portable device able to analyze the prescription drug | |
JP6440569B2 (en) | Server device, display control method, and display control program | |
KR20200063761A (en) | Drug Information Retrieval and Medication Counseling System | |
US20230260667A1 (en) | Remote healthcare communication systems and methods | |
US20160371459A1 (en) | Medicine prescription support method, medicine prescription supporting computer program, and medicine prescription support apparatus | |
KR20180041925A (en) | System and method for managing taking medicine | |
KR20160062664A (en) | Medication guide apparatus, medication monitoring support system using the same, and medication guide method | |
US20210313031A1 (en) | System, methods, and apparatus for remote verification of pharmacy prescription preparation | |
JP2019207522A (en) | Data structure for prescription audit processing terminal | |
CN114743667A (en) | Online consultation system and equipment | |
US20210398633A1 (en) | Systems and methods for transacting prescriptions using a mobile device | |
KR20200114239A (en) | Electronic prescription transmitting system | |
KR20240167143A (en) | System for reading prescription images | |
CN112216367A (en) | Drug safety distribution management method, device, computer equipment and storage medium | |
KR102230254B1 (en) | My Prescription Service Terminal, System and Method | |
JP7088441B1 (en) | Medication management device, medication management method, and program | |
US20190139639A1 (en) | System and method for the verification of medication | |
KR102360234B1 (en) | Method and computer program managing prescriptions electronically | |
US11176617B1 (en) | Mobile submission of pharmacy insurance information | |
KR102727613B1 (en) | Pick-up support system for pharmaceuticals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20230519 |
|
PA0201 | Request for examination |
Patent event code: PA02011R01I Patent event date: 20230519 Comment text: Patent Application |
|
PG1501 | Laying open of application |