Drug Code Determination Using Inverted Index Screening
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current systems face challenges in accurately determining the anatomical therapeutic chemical (ATC) classification system code for drugs, particularly when dealing with complex drug compositions and multiple ingredients, leading to inefficiencies in medical information management.
Innovation Solution
A method and apparatus that acquire and process drug description texts to extract key information, utilize a pre-created code inverted index to obtain relevant codes, and apply prioritized rules to screen for the ATC code, incorporating natural language processing and disease classification models to ensure accurate ATC code determination.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual ATC code determination methods are used, then accuracy can be maintained through expert judgment, but productivity is reduced due to time-consuming manual processing
Solution Approach 1:
The system enables automatic ATC code determination through self-service mechanisms where the computer automatically extracts drug ingredients from description text, queries the inverted index, and determines the ATC code without requiring manual pharmacist intervention for each code assignment
Solution Approach 2:
The patent replaces the manual mechanical process of ATC code determination with an automated computer-based system that uses natural language processing, inverted index querying, and rule-based screening to automatically assign codes, thereby improving efficiency while maintaining accuracy through systematic processing
2Measurement precision
If simple keyword matching is used for code determination, then processing speed is improved, but measurement precision deteriorates due to inability to handle complex drug compositions
Solution Approach 1:
The system performs preliminary actions by pre-creating an inverted index that maps drug ingredients to their corresponding ATC codes before the actual code determination process. This pre-processing step enables efficient and accurate querying during runtime without adding complexity to the core determination logic
Solution Approach 2:
The patent introduces an inverted index as an intermediary data structure between the drug description text and the ATC code database. This intermediary enables precise matching by translating natural language drug descriptions into structured code queries, handling complex drug compositions without requiring complex processing algorithms
3Measurement precision
If comprehensive ingredient analysis is performed for all drugs, then measurement precision is improved, but loss of time increases due to extensive processing requirements
Solution Approach 1:
The system segments the ATC code determination process into distinct modular steps: extracting drug ingredients from description text, querying the inverted index with extracted ingredients, and screening candidate codes based on matching results. This segmentation enables efficient processing by handling each step independently with optimized algorithms for that specific task
Data Source
AI summary
A method and apparatus for determining a drug code. The method may include: obtaining a specification text of a drug (201); extracting drug key information in the specification text (202); obtaining, on the basis of a pre-created code inverted index, at least one code related to the drug key information and an ingredient corresponding to each code (203); and screening the at least one code on the basis of the drug key information and the ingredient corresponding to each code to obtain an anatomical therapeutic chemical classification system code of the drug (204).


