System for automated verification of dispensed medications using ai-based imaging

The medication verification system addresses inefficiencies in pharmacy environments by employing multi-angle imaging and machine learning for automated medication identification, weight validation, and behavioral monitoring, ensuring accurate and compliant dispensing.

US20260378199A1Pending Publication Date: 2026-11-26MED CHECK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/686788
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-08-09
Filing Date
2026-05-24
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing medication verification systems in pharmacy environments suffer from inefficiencies and inaccuracies due to reliance on manual processes, barcode scanning limitations, and challenges in verifying liquid medications, sterile compounding, and hazardous waste classification, which can lead to errors and regulatory compliance issues.

Method used

A medication verification system utilizing multi-angle imaging, machine learning models, and integrated modules for automated identification, weight validation, and behavioral monitoring, combined with an audit trail module to ensure accurate and compliant dispensing.

Benefits of technology

The system enhances medication verification accuracy, reduces human error, supports regulatory compliance, and integrates seamlessly with existing pharmacy infrastructure, providing comprehensive audit trails and real-time alerts for improved workflow efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260378199A1-D00000_ABST
    Figure US20260378199A1-D00000_ABST
Patent Text Reader

Abstract

A medication verification system is provided. The medication verification system comprises a scanning platform configured to receive a medication container. The medication verification system comprises an imaging system comprising one or more cameras positioned to capture images of the medication container from multiple angles. The medication verification system comprises a processor configured to analyze the captured images using a machine learning model to identify at least one of a shape, a color, a size, or an imprint of a medication within the medication container. The processor is configured to compare the identified medication characteristics against a formulary database. The processor is configured to generate a verification result based on the comparison. The medication verification system comprises an audit trail module configured to log the verification result, the captured images, a timestamp, and a user identifier in a data storage system.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority from U.S. Provisional Application Serial No. 63 / 810,838 filed on May 23, 2025, U.S. Provisional Application Serial No. 63 / 819,796, filed on Jun. 8, 2025, U.S. Provisional Application Serial No. 63 / 827,287, filed on Jun. 20, 2025, U.S. Provisional Application Serial No. 63 / 840,812, filed on Jul. 9, 2025 and U.S. Provisional Application Serial No. 63 / 860,804 filed on Aug. 9, 2025, all of which are incorporated herein by reference in their entirety.STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT

[0002] Not Applicable.INTRODUCTION

[0003] Pharmacy dispensing workflows involve multiple steps where medications are selected, counted, packaged, and verified before being provided to patients. Verification of dispensed medications serves to confirm that the correct medication, in the correct quantity, has been prepared for the correct patient. Errors in medication dispensing may result in adverse patient outcomes, regulatory compliance issues, and liability concerns for pharmacy operators.

[0004] Existing approaches to medication verification in pharmacy environments often rely on manual inspection by pharmacy personnel. Pharmacists or pharmacy technicians may visually examine medications, compare prescription labels against dispensing records, and confirm that the correct medication has been prepared. Manual verification processes may be time-consuming and subject to human error, particularly in high-volume pharmacy environments where personnel may process hundreds or thousands of prescriptions per day.

[0005] Some pharmacy environments have adopted barcode scanning systems to assist with medication verification. Barcode-based systems may confirm that a medication container bears a barcode matching the expected National Drug Code for a prescription. However, barcode-based verification may not confirm the actual contents of a medication container, and barcode data may be unavailable, damaged, or unreadable in some circumstances. Additionally, barcode scanning typically requires manual handling of a handheld scanner, which may slow verification workflows.

[0006] Imaging technologies have been applied in various contexts to identify objects based on visual characteristics. Machine learning models, including convolutional neural networks, have demonstrated capabilities in image classification tasks across multiple domains. The application of such technologies to pharmacy environments presents challenges related to the diversity of medication forms, packaging types, and environmental conditions encountered in pharmacy settings.

[0007] Liquid medication dispensing presents additional verification challenges compared to solid dosage forms. Liquid medications are often transferred from manufacturer containers into prescription containers, and verification of the dispensed volume may involve manual measurement using graduated cylinders or other volumetric tools. Gravimetric approaches to liquid measurement may offer alternatives to volumetric measurement, though integration of weight-based verification into pharmacy workflows may involve coordination of multiple system components.

[0008] Sterile compounding environments, such as cleanrooms and laminar airflow hoods, involve preparation of medications under aseptic conditions. Verification in sterile compounding workflows may involve confirmation of medication identity, concentration, and adherence to sterile technique protocols. Monitoring of technician behavior during sterile compounding may support compliance with standards such as USP 797 and USP 800.

[0009] Pharmaceutical waste disposal is subject to regulatory requirements that classify certain medications as hazardous waste. Proper classification and segregation of pharmaceutical waste may involve identification of medications and determination of applicable disposal categories based on Environmental Protection Agency and Department of Transportation standards. Identification of loose or dropped medications without associated packaging or barcode data may present challenges for waste classification workflows.

[0010] Pharmacy operations may benefit from systems that maintain records of verification activities for regulatory compliance and quality assurance purposes. Audit trail documentation may support compliance inspections, internal investigations, and defense against liability claims. The integrity and completeness of audit trail records may be relevant to regulatory requirements governing electronic records in pharmacy environments.

[0011] Ongoing development in pharmacy automation and verification technologies continues to address the challenges associated with medication dispensing accuracy, workflow efficiency, and regulatory compliance.SUMMARY

[0012] According to an aspect of the present disclosure, a medication verification system is provided. The medication verification system comprises a scanning platform configured to receive a medication container. The medication verification system comprises an imaging system comprising one or more cameras positioned to capture images of the medication container from multiple angles. The medication verification system comprises a processor configured to analyze the captured images using a machine learning model to identify at least one of a shape, a color, a size, or an imprint of a medication within the medication container. The processor is configured to compare the identified medication characteristics against a formulary database. The processor is configured to generate a verification result based on the comparison. The medication verification system comprises an audit trail module configured to log the verification result, the captured images, a timestamp, and a user identifier in a data storage system. The system operates by capturing multi-angle images of medication containers, applying machine learning-based visual analysis to identify medication characteristics, validating those characteristics against known formulary data, and maintaining comprehensive audit records of each verification transaction.

[0013] According to other aspects of the present disclosure, the medication verification system may provide technical effects beyond medication identification and verification. The system may enable automated compliance documentation, reduce human error in medication dispensing workflows, support regulatory audit requirements, and facilitate integration with existing pharmacy infrastructure.

[0014] According to other aspects of the present disclosure, the medication verification system may include one or more of the following features. The imaging system may comprise a three-dimensional optical imaging module configured to capture depth data of the medication using at least one of stereo vision, LIDAR, or structured light sensors. The imaging system may comprise a first camera positioned above the scanning platform, a second camera positioned below a transparent surface of the scanning platform, and a third camera positioned at an angle relative to the scanning platform. The medication verification system may further comprise a weight validation module comprising a load cell or precision weight sensor integrated into the scanning platform, wherein the processor is configured to measure a total weight of the medication container, subtract a known container weight from the total weight to calculate a net medication weight, and compare the net medication weight against an expected weight stored in the formulary database.

[0015] The medication verification system may further comprise an optical character recognition module configured to extract prescription label information from the medication container, wherein the prescription label information comprises at least one of a patient name, a medication name, a National Drug Code, a prescription number, a dosage, a quantity, an expiration date, or a lot number. The medication verification system may further comprise a barcode recognition module configured to capture barcode data from the medication container without use of a handheld scanner. The medication verification system may further comprise a user interface configured to display the verification result using at least one of a visual indicator or an audible alert, wherein the visual indicator comprises a green indicator for a successful verification and a red indicator for a failed verification. The medication verification system may further comprise a sticker seal applicator configured to apply a tamper-resistant serialized holographic sticker seal to the medication container upon successful verification, wherein the sticker seal comprises a serialized code linked to a corresponding transaction record in the audit trail module.

[0016] The machine learning model may comprise a convolutional neural network trained to classify medications based on visual features. The processor may be further configured to count individual pills within a blister card using the captured images, including blister cards containing multiple medications per cavity. The medication verification system may further comprise a behavioral monitoring module comprising an overhead camera and an artificial intelligence model configured to monitor technician behavior during the verification process, detect indicators of inattentiveness, distraction, or procedural deviation, and generate an alert to a supervising pharmacist upon detection of the indicators. The artificial intelligence model may be configured to analyze at least one of gaze patterns, hand movements, or workflow consistency of the technician. The processor may be configured to halt the verification process upon detection of the indicators and log behavioral data in the audit trail module.

[0017] The audit trail module may be configured to store at least one of high-resolution images, video footage, weight data, spectral analysis data, or serialized sticker seal identifiers for each verification transaction. The audit trail module may utilize at least one of cryptographic signatures or blockchain-backed timestamps to ensure data integrity. The processor may be configured to perform narcotics validation by measuring a remaining weight of a stock bottle after dispensing, comparing the remaining weight to an expected inventory level, and generating a discrepancy alert when the remaining weight deviates from the expected inventory level by more than a threshold amount.

[0018] The medication verification system may further comprise a conveyor system integration module configured to receive medication containers from an automated dispensing system, route verified medication containers to a downstream processing station, and divert failed medication containers to a troubleshooting lane. The medication verification system may further comprise a robotic component configured to at least one of seal, sort, or route medication containers based on the verification result. The medication verification system may further comprise a blister card stacker configured to feed blister cards one at a time onto the scanning platform for automated verification. The imaging system may be configured to perform visual classification at a rate of at least three medication units per second. The imaging system may be configured to perform visual classification at a rate of up to twenty frames per second in high-throughput environments.

[0019] The medication verification system may further comprise an interactive guidance interface configured to analyze real-time camera input to detect at least one of reflective glare, obstructions, or incomplete image angles, and provide on-screen prompts instructing a user to rotate, tilt, or reposition the medication container. The processor may be configured to estimate internal pill geometry based on a known diameter of a container opening and observed distortion patterns. The imaging system may be configured to reconstruct pill geometry inside transparent or semi-transparent containers and support count, shape, and imprint classification without opening the container. The medication verification system may further comprise an autonomous container rotation mechanism configured to incrementally adjust an orientation of the medication container during image capture. The machine learning model may be configured to detect anomalies or defects in at least one of pill shape, imprint, or packaging.

[0020] The processor may be configured to receive machine learning model updates from a centralized cloud platform. The medication verification system may further comprise a local inference engine configured to perform verification operations during cloud service interruptions. The processor may be configured to interface with at least one of a pharmacy dispensing system, an electronic health record system, or an inventory database. The processor may be configured to auto-complete verification entries in a pharmacy dispensing system upon successful verification.

[0021] According to another aspect of the present disclosure, a medication verification system for sterile compounding environments is provided. The medication verification system comprises an imaging system configured to capture images of medication vials or ampules. The medication verification system comprises a processor configured to identify a medication and concentration from the captured images using an artificial intelligence model, compare the identified medication against prescription data, and generate a verification result. The medication verification system comprises a behavioral monitoring module configured to monitor technician aseptic behavior and detect violations of sterile compounding protocols. The medication verification system comprises an audit trail module configured to generate time-stamped records of each step in a compounding workflow. The system operates by combining visual medication identification with behavioral monitoring to ensure both medication accuracy and adherence to sterile compounding protocols throughout the preparation process.

[0022] According to other aspects of the present disclosure, the medication verification system for sterile compounding environments may include one or more of the following features. The behavioral monitoring module may be configured to detect at least one of improper personal protective equipment use, reach-over violations, or sanitization violations. The processor may be configured to notify a supervising pharmacist via at least one of secure email, text message, or system alert upon detection of a protocol violation. The medication verification system may further comprise a load-assist prompting interface configured to scan drug containers, compare contents to prescribed formulations, and display prompts for correct diluent, draw volume, and sequencing. The audit trail module may be configured to store records supporting compliance with USP 797 and USP 800 requirements. The medication verification system may further comprise a spectral analysis module configured to verify drug composition or concentration using at least one of Raman spectroscopy, near-infrared spectroscopy, or mid-infrared spectroscopy. The system may be configured for deployment in at least one of a cleanroom, a laminar airflow hood, or a hazardous drug area.

[0023] According to another aspect of the present disclosure, a liquid medication verification system is provided. The liquid medication verification system comprises an imaging system configured to identify a manufacturer-labeled source container. The liquid medication verification system comprises a weight validation platform configured to record a tare weight of a destination container, monitor weight changes during pouring, and calculate a dispensed volume based on a net weight increase and a known liquid density. The liquid medication verification system comprises a user interface configured to display a real-time fill percentage and a completion indicator when a prescribed dose is reached. The liquid medication verification system comprises an audit trail module configured to log medication identity, fill weight, timestamp, and technician identifier. The system operates by combining visual identification of source medications with gravimetric monitoring to verify accurate liquid medication dispensing in real time.

[0024] According to other aspects of the present disclosure, the liquid medication verification system may include one or more of the following features. The processor may be configured to halt verification if the dispensed volume does not match a prescribed dose range. The liquid medication verification system may further comprise a sticker seal applicator configured to apply a tamper-resistant serialized sticker seal to the destination container upon successful verification. The imaging system may be configured to extract National Drug Code, drug name, concentration, lot number, and expiration date from the source container using optical character recognition.

[0025] According to another aspect of the present disclosure, a pediatric medication verification system is provided. The pediatric medication verification system comprises an imaging system configured to capture images of a medication container. The pediatric medication verification system comprises a weight validation module configured to record pre-fill and post-fill weights of a liquid medication container. The pediatric medication verification system comprises a processor configured to retrieve weight-based dosing requirements from at least one of an electronic health record, a prescribing interface, or a technician input, calculate an expected dosage range based on the weight-based dosing requirements, compare a dispensed dose with the expected dosage range, and generate a verification result. The pediatric medication verification system comprises an audit trail module configured to log pediatric-specific verification data. The system operates by applying weight-based dosing calculations to verify that dispensed medications fall within appropriate dosage ranges for pediatric patients.

[0026] According to other aspects of the present disclosure, the pediatric medication verification system may include one or more of the following features. The processor may be further configured to detect pediatric packaging formats and trigger elevated verification standards. The processor may be configured to compare pill volume and configuration against expected values based on a prescribed dose and patient body weight.

[0027] According to another aspect of the present disclosure, a hazardous waste classification system for pharmaceutical disposal is provided. The hazardous waste classification system comprises an imaging system configured to capture images of a medication. The hazardous waste classification system comprises a processor configured to identify the medication using visual recognition without reliance on a National Drug Code, cross-reference the identified medication with a hazardous waste characterization database, and determine a disposal classification based on Environmental Protection Agency and Department of Transportation standards. The hazardous waste classification system comprises a user interface configured to display bin placement instructions for compliant waste segregation. The system operates by visually identifying medications and automatically determining appropriate hazardous waste disposal classifications to ensure regulatory compliance.

[0028] According to other aspects of the present disclosure, the hazardous waste classification system may include one or more of the following features. The disposal classification may comprise at least one of P-list, U-list, D-list, incompatible reactive, corrosive, ignitable, or aerosolized medication categories. The imaging system may be configured to capture images of a medication placed in a user's palm for identification of dropped or loose pills. The hazardous waste classification system may further comprise an audit trail module configured to log classification data, technician identifier, and timestamp for regulatory auditing. The hazardous waste classification system may further comprise a spectral analysis module configured to verify chemical composition of medications when visual identification is insufficient.

[0029] According to another aspect of the present disclosure, a medication verification system with prescription anomaly detection is provided. The medication verification system comprises an interface configured to receive prescription data from an electronic prescribing platform. The medication verification system comprises a processor configured to analyze the prescription data using an artificial intelligence model, detect anomalies comprising at least one of incorrect dosage, off-formulary medications, therapeutic duplications, contraindications, or improper administration routes, and halt verification upon detection of an anomaly. The medication verification system comprises an alert module configured to notify a supervising pharmacist of the detected anomaly. The medication verification system comprises an audit trail module configured to log anomaly metadata comprising prescription number, prescriber identifier, anomaly classification, and confidence score. The system operates by applying artificial intelligence analysis to prescription data to identify potential errors or safety concerns before medication dispensing proceeds.

[0030] According to other aspects of the present disclosure, the medication verification system with prescription anomaly detection may include one or more of the following features. The artificial intelligence model may be configured to cross-reference formulary standards, patient demographic norms, and historical dispensing patterns. The alert module may be configured to provide supporting information comprising a system-generated rationale for the detected anomaly.

[0031] According to another aspect of the present disclosure, a remote pharmacist verification system is provided. The remote pharmacist verification system comprises a medication verification platform configured to capture imaging data and verification data. The remote pharmacist verification system comprises a streaming interface configured to transmit the imaging data and verification data to a remote pharmacist interface. The remote pharmacist verification system comprises a pharmacist override module configured to receive approval or rejection input from a remote pharmacist. The remote pharmacist verification system comprises an audit trail module configured to log remote access events, override actions, and associated timestamps. The system operates by enabling remote pharmacist oversight of medication verification processes through real-time data streaming and interactive approval workflows.

[0032] According to other aspects of the present disclosure, the remote pharmacist verification system may include one or more of the following features. The remote pharmacist interface may be configured to provide access to behavioral video, prescription metadata, and verification outputs. The remote pharmacist verification system may further comprise a sticker seal applicator configured to apply a verification sticker upon approval from the remote pharmacist.

[0033] According to another aspect of the present disclosure, a medication verification system with distributed architecture is provided. The medication verification system comprises a scanning platform comprising an imaging system and a weight validation module. The medication verification system comprises a local processing unit configured to capture imaging data and weight data. The medication verification system comprises a remote processing server configured to perform artificial intelligence inference and medication classification. The medication verification system comprises a communication module configured to facilitate data transfer between the local processing unit and the remote processing server. The system operates by distributing processing tasks between local and remote components to balance computational efficiency with system responsiveness.

[0034] According to other aspects of the present disclosure, the medication verification system with distributed architecture may include one or more of the following features. The medication verification system may further comprise a local fallback inference engine configured to perform verification operations when connectivity to the remote processing server is interrupted. The imaging system and the weight validation module may be located in separate physical locations within a facility. Audit trail storage may be hosted on at least one of a local server, a customer-designated internal server, or a cloud-based infrastructure.

[0035] According to another aspect of the present disclosure, a method for automated verification of dispensed medications is provided. The method comprises capturing multi-angle images of a medication container using an imaging system. The method comprises analyzing the captured images using a machine learning model to identify at least one of a shape, a color, a size, or an imprint of a medication. The method comprises comparing the identified medication characteristics against a formulary database. The method comprises generating a verification result based on the comparison. The method comprises logging the verification result, the captured images, a timestamp, and a user identifier in an audit trail. The method operates by systematically capturing, analyzing, and validating medication characteristics to ensure dispensing accuracy while maintaining comprehensive verification records.

[0036] According to other aspects of the present disclosure, the method for automated verification of dispensed medications may include one or more of the following features. The method may further comprise capturing three-dimensional depth data of the medication using at least one of stereo vision, LIDAR, or structured light sensors, and reconstructing pill geometry in three dimensions for classification. The method may further comprise measuring a total weight of the medication container, subtracting a known container weight from the total weight to calculate a net medication weight, and comparing the net medication weight against an expected weight stored in the formulary database. The method may further comprise extracting prescription label information from the medication container using optical character recognition, and cross-validating the prescription label information against pharmacy dispensing records. The method may further comprise applying a tamper-resistant serialized holographic sticker seal to the medication container upon successful verification.

[0037] The method may further comprise monitoring technician behavior during the verification process using an overhead camera, detecting indicators of inattentiveness or procedural deviation using an artificial intelligence model, and generating an alert to a supervising pharmacist upon detection of the indicators. The method may further comprise halting the verification process upon detection of a verification failure, and diverting the medication container to a troubleshooting lane. The method may further comprise providing on-screen prompts instructing a user to rotate, tilt, or reposition the medication container based on real-time analysis of image quality. The method may further comprise counting individual pills within a blister card using the captured images. The method may further comprise receiving machine learning model updates from a centralized cloud platform, and applying the updates to improve classification accuracy.

[0038] According to another aspect of the present disclosure, a method for verifying liquid medication dispensing is provided. The method comprises identifying a manufacturer-labeled source container using an imaging system. The method comprises cross-verifying the identified source medication with a corresponding prescription. The method comprises recording a tare weight of a destination container. The method comprises monitoring weight changes during pouring. The method comprises calculating a dispensed volume based on a net weight increase and a known liquid density. The method comprises displaying a real-time fill percentage on a user interface. The method comprises displaying a completion indicator when a prescribed dose is reached. The method comprises logging medication identity, fill weight, timestamp, and technician identifier in an audit trail. The method operates by combining visual source identification with gravimetric monitoring to verify accurate liquid medication dispensing.

[0039] According to other aspects of the present disclosure, the method for verifying liquid medication dispensing may include one or more of the following features. The method may further comprise halting verification if the dispensed volume exceeds an allowable threshold. The method may further comprise applying a tamper-resistant serialized sticker seal to the destination container upon successful verification.

[0040] According to another aspect of the present disclosure, a method for monitoring technician behavior during medication verification is provided. The method comprises capturing continuous video of a technician during a verification process. The method comprises analyzing the video using an artificial intelligence model to detect at least one of inattentiveness, distraction, or deviation from an expected workflow. The method comprises identifying threshold violations. The method comprises halting verification upon detection of the threshold violations. The method comprises generating a real-time alert to a supervising pharmacist. The method comprises logging behavioral data and alert outcome in an audit trail. The method operates by applying artificial intelligence analysis to technician behavior to identify potential procedural deviations that may compromise verification accuracy.

[0041] According to other aspects of the present disclosure, the method for monitoring technician behavior during medication verification may include one or more of the following features. Analyzing the video may comprise evaluating at least one of gaze patterns, posture, or ambient context. The method may further comprise detecting environmental risk factors comprising at least one of excessive ambient noise, staff crowding, or low lighting conditions, and issuing a soft pause prompting the technician to confirm readiness before resuming verification.

[0042] According to another aspect of the present disclosure, a method for classifying hazardous pharmaceutical waste is provided. The method comprises capturing images of a medication using a visual recognition system. The method comprises identifying the medication without reliance on a National Drug Code. The method comprises cross-referencing the identified medication with a hazardous waste classification database. The method comprises determining a disposal classification based on Environmental Protection Agency standards. The method comprises displaying bin placement guidance aligned with hazardous waste categories. The method comprises logging the classification event in an audit trail with technician identifier and timestamp. The method operates by visually identifying medications and automatically determining appropriate disposal classifications to ensure compliant hazardous waste segregation.

[0043] According to other aspects of the present disclosure, the method for classifying hazardous pharmaceutical waste may include one or more of the following features. The hazardous waste categories may comprise at least one of non-hazardous, P-list, U-list, D-list, incompatible oxidizers, aerosols, or combustible categories. Capturing images may comprise capturing images of a medication placed in a user's palm.

[0044] According to another aspect of the present disclosure, a method for sterile compounding verification is provided. The method comprises capturing images of medication vials or ampules prior to preparation. The method comprises identifying a medication and concentration using an artificial intelligence model. The method comprises comparing the identified medication against prescription data. The method comprises monitoring technician aseptic behavior using an overhead camera. The method comprises detecting violations of sterile compounding protocols. The method comprises generating alerts upon detection of protocol violations. The method comprises logging time-stamped records of each step in a compounding workflow. The method operates by combining visual medication verification with behavioral monitoring to ensure both medication accuracy and sterile technique compliance.

[0045] According to other aspects of the present disclosure, the method for sterile compounding verification may include one or more of the following features. The method may further comprise displaying load-assist prompts guiding a technician through compounding steps comprising correct diluent selection, draw volume, and sequencing. The method may further comprise verifying drug composition using spectral analysis.

[0046] According to another aspect of the present disclosure, a method for pediatric medication verification is provided. The method comprises capturing images of a medication container. The method comprises recording pre-fill and post-fill weights of a liquid medication container. The method comprises retrieving weight-based dosing requirements from at least one of an electronic health record or a technician input. The method comprises calculating an expected dosage range based on the weight-based dosing requirements. The method comprises comparing a dispensed dose with the expected dosage range. The method comprises generating a verification result. The method comprises logging pediatric-specific verification data in an audit trail. The method operates by applying weight-based dosing calculations to verify appropriate medication quantities for pediatric patients.

[0047] According to other aspects of the present disclosure, the method for pediatric medication verification may include one or more of the following features. The method may further comprise detecting pediatric packaging formats, and triggering elevated verification standards upon detection.

[0048] According to another aspect of the present disclosure, a method for prescription anomaly detection is provided. The method comprises receiving prescription data from an electronic prescribing platform. The method comprises analyzing the prescription data using an artificial intelligence model. The method comprises detecting anomalies comprising at least one of incorrect dosage, off-formulary medications, therapeutic duplications, or contraindications. The method comprises halting verification upon detection of an anomaly. The method comprises notifying a supervising pharmacist of the detected anomaly. The method comprises logging anomaly metadata in an audit trail. The method operates by applying artificial intelligence analysis to identify prescription errors or safety concerns before medication dispensing proceeds.

[0049] According to other aspects of the present disclosure, the method for prescription anomaly detection may include one or more of the following features. Detecting anomalies may comprise cross-referencing formulary standards, patient demographic norms, and historical dispensing patterns.

[0050] According to another aspect of the present disclosure, a method for remote pharmacist verification is provided. The method comprises capturing imaging data and verification data at a medication verification platform. The method comprises streaming the imaging data and verification data to a remote pharmacist interface. The method comprises receiving approval or rejection input from a remote pharmacist. The method comprises applying a verification sticker upon approval. The method comprises logging remote access events and override actions in an audit trail. The method operates by enabling remote pharmacist oversight through real-time data streaming and interactive approval workflows.

[0051] According to another aspect of the present disclosure, an automated dispensing system integration module is provided. The automated dispensing system integration module comprises an interface configured to receive medication containers from an automated dispensing machine. The automated dispensing system integration module comprises an imaging system configured to capture multi-angle images of the medication containers. The automated dispensing system integration module comprises a processor configured to analyze the captured images using a machine learning model, compare identified medication characteristics against a formulary database, and generate a verification result. The automated dispensing system integration module comprises a sticker seal applicator configured to autonomously apply a serialized holographic sticker seal upon successful verification. The automated dispensing system integration module comprises a routing mechanism configured to divert failed medication containers to a rejection path. The module operates by integrating verification capabilities directly with automated dispensing workflows to enable seamless medication validation.

[0052] According to other aspects of the present disclosure, the automated dispensing system integration module may include one or more of the following features. The imaging system may be embedded within the automated dispensing machine. The imaging system may be deployed externally adjacent to the automated dispensing machine. The automated dispensing system integration module may further comprise a weight validation module configured to verify medication quantity.

[0053] According to another aspect of the present disclosure, a conveyor-based medication verification system is provided. The conveyor-based medication verification system comprises a conveyor system configured to transport medication containers through a verification zone. The conveyor-based medication verification system comprises an imaging system comprising cameras positioned to capture multi-angle images of medication containers as they pass through the verification zone. The conveyor-based medication verification system comprises a processor configured to analyze the captured images using an artificial intelligence inference engine, perform classification matching against a formulary database, and determine a pass or fail status. The conveyor-based medication verification system comprises a sticker seal applicator configured to apply a serialized holographic sticker seal to verified medication containers. The conveyor-based medication verification system comprises a mechanical diverter configured to route failed medication containers to a troubleshooting lane. The system operates by performing continuous verification of medication containers as they move through a conveyor-based workflow.

[0054] According to other aspects of the present disclosure, the conveyor-based medication verification system may include one or more of the following features. The conveyor-based medication verification system may further comprise integrated LED lighting arrays configured to provide visibility during image capture. The conveyor-based medication verification system may further comprise a weight check station positioned along the conveyor system. The imaging system may be configured to operate at throughput rates of five to ten verifications per second. The conveyor-based medication verification system may further comprise an audit trail camera configured to capture continuous footage of the conveyor process.

[0055] According to another aspect of the present disclosure, a medication verification system configured for regulatory compliance is provided. The medication verification system comprises an imaging system configured to capture images of medication containers. The medication verification system comprises a processor configured to perform verification using a machine learning model. The medication verification system comprises an audit trail module configured to log verification data in a format compliant with at least one of FDA 21 CFR Part 11 or EMA Annex 11 requirements. The medication verification system comprises a data integrity module configured to maintain verification records using at least one of cryptographic signatures or tamper-evident storage. The system operates by combining verification capabilities with compliance-oriented data management to support regulatory requirements.

[0056] According to other aspects of the present disclosure, the medication verification system configured for regulatory compliance may include one or more of the following features. Machine learning model updates may be managed under a Predetermined Change Control Plan permitting predefined model refinements without additional regulatory submission. The audit trail module may be configured to store records supporting compliance with Board of Pharmacy requirements for final review logging. The system may be configured for deployment in at least one of retail pharmacy, institutional pharmacy, mail-order pharmacy, long-term care facility, correctional institution, or military medical unit environments. The processor may be configured to function as at least one of a decision-support tool or a pharmacist-substitution verification endpoint based on pharmacy policy configuration.

[0057] According to another aspect of the present disclosure, a medication verification system is provided. The medication verification system comprises a scanning platform configured to receive a medication container. The medication verification system comprises an imaging system comprising a plurality of cameras configured to capture images of the medication container from multiple angles. The medication verification system comprises a weight validation module configured to measure a weight of the medication container. The medication verification system comprises a processor configured to analyze the captured images using a machine learning model to identify medication characteristics, compare the identified medication characteristics against a formulary database, validate the weight of the medication container against an expected weight, and generate a verification result. The medication verification system comprises a user interface configured to display the verification result. The medication verification system comprises a behavioral monitoring module configured to monitor technician behavior during the verification process and generate an alert upon detection of procedural deviation. The medication verification system comprises an audit trail module configured to log verification data in a data storage system. The system operates by integrating multi-angle imaging, weight validation, and behavioral monitoring to provide comprehensive medication verification with procedural oversight.

[0058] These and other features, aspects and advantages of the present teachings will become better understood with reference to the following description, examples and appended claims.DRAWINGS

[0059] Those of skill in the art will understand that the drawings, described below, are for illustrative purposes only. The drawings are not intended to limit the scope of the present teachings in any way.

[0060] FIG. 1 illustrates a flowchart of a method for automated medication verification.

[0061] FIG. 2 illustrates a flowchart of a method for verifying liquid medication dispensing.

[0062] FIG. 3 illustrates a flowchart of a method for monitoring technician behavior during medication verification.

[0063] FIG. 4 illustrates a flowchart of a method for sterile compounding verification.

[0064] FIG. 5 illustrates a flowchart of a method for prescription anomaly detection.

[0065] FIG. 6 illustrates a flowchart of a method for classifying hazardous pharmaceutical waste.

[0066] FIG. 7 illustrates a flowchart of a unified end-to-end method for medication verification.DETAILED DESCRIPTION

[0067] All patents, applications, published applications and other publications cited herein are incorporated by reference in their entirety. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the invention belongs.

[0068] Any methods, devices and materials similar or equivalent to those described herein can be used in the practice of this invention. The following definitions are provided to facilitate understanding of certain terms used frequently herein and are not meant to limit the scope of the present disclosure. In the event that there is a plurality of definitions for a term herein, those in this section prevail unless stated otherwise. Headings used herein are for organizational purposes only and in no way limit the invention described herein.Abbreviations and Definitions

[0069] To facilitate understanding of the invention, a number of terms and abbreviations as used herein are defined below as follows:

[0070] Artificial intelligence model: As used herein, the term "artificial intelligence model" or "AI model" is broadly defined to include any computational model or algorithm configured to perform tasks that simulate human cognitive functions, including but not limited to pattern recognition, classification, anomaly detection, decision-making, and behavioral analysis. The term encompasses machine learning models, deep learning models, neural networks, rules-based inference engines, and combinations thereof. Artificial intelligence models may be implemented using commercially available frameworks and platforms, including but not limited to TensorFlow (available from Google LLC, Mountain View, California), PyTorch (available from Meta Platforms, Inc., Menlo Park, California), ONNX Runtime (available from Microsoft Corporation, Redmond, Washington), NVIDIA TensorRT and NVIDIA CUDA (available from NVIDIA Corporation, Santa Clara, California), Intel OpenVINO (available from Intel Corporation, Santa Clara, California), Amazon SageMaker (available from Amazon Web Services, Inc., Seattle, Washington), Google Cloud AI Platform (available from Google LLC, Mountain View, California), and Microsoft Azure Machine Learning (available from Microsoft Corporation, Redmond, Washington). Artificial intelligence models may be deployed on commercially available hardware platforms, including but not limited to NVIDIA Jetson edge computing modules (available from NVIDIA Corporation, Santa Clara, California), Intel Movidius vision processing units (available from Intel Corporation, Santa Clara, California), Google Coral edge TPU modules (available from Google LLC, Mountain View, California), and Qualcomm AI Engine platforms (available from Qualcomm Incorporated, San Diego, California).

[0071] Audit trail: As used herein, the term "audit trail" refers to a chronological record of system activities, verification events, and user actions stored in a data storage system. The audit trail may include, but is not limited to, captured images, video footage, weight data, spectral analysis data, timestamps, user identifiers, technician identifiers, verification results, serialized sticker seal identifiers, behavioral data, alert outcomes, and anomaly metadata. The audit trail may be stored locally, on a customer-designated server, or on cloud-based infrastructure, and may utilize cryptographic signatures, blockchain-backed timestamps, or tamper-evident storage to ensure data integrity.

[0072] Behavioral monitoring module: As used herein, the term "behavioral monitoring module" refers to a system component configured to observe and analyze technician conduct during a verification process. The behavioral monitoring module may comprise one or more cameras, including overhead cameras, and one or more artificial intelligence models configured to evaluate at least one of gaze patterns, hand movements, posture, workflow consistency, or ambient context. The behavioral monitoring module may detect indicators of inattentiveness, distraction, procedural deviation, or violations of sterile compounding protocols.

[0073] Blister card: As used herein, the term "blister card" refers to a packaging format comprising one or more cavities containing medication units, including configurations where a single cavity may contain multiple medications. The term encompasses blister packs, multi-dose blister packs, and similar unit-dose or multi-dose packaging formats.

[0074] Convolutional neural network: As used herein, the term "convolutional neural network" or "CNN" refers to a class of deep learning models configured to process visual data through convolutional layers that extract hierarchical features for classification, detection, or recognition tasks. The term encompasses any neural network architecture employing convolutional operations for image analysis.

[0075] Formulary database: As used herein, the term "formulary database" refers to a data repository containing medication information used for verification and classification purposes. The formulary database may include, but is not limited to, medication identifiers, visual characteristics such as shape, color, size, and imprint data, expected weights, three-dimensional representations, National Drug Codes, concentration data, and hazardous waste classifications. The formulary database may be stored locally, hosted on a cloud-based platform, or accessed via application programming interface queries.

[0076] Hazardous waste classification database: As used herein, the term "hazardous waste classification database" refers to a data repository containing information for categorizing pharmaceutical waste according to regulatory standards. The database may include classifications such as P-list, U-list, D-list, incompatible reactive, corrosive, ignitable, aerosolized, combustible, and non-hazardous categories, and may be mapped to Environmental Protection Agency and Department of Transportation standards.

[0077] Imaging system: As used herein, the term "imaging system" refers to one or more image capture devices configured to acquire visual data of medication containers, medications, or technician activities. The imaging system may comprise cameras positioned at multiple angles, including above, below, and at angles relative to a scanning platform. The imaging system may include high-resolution cameras, three-dimensional depth-sensing cameras, infrared cameras, monochrome cameras, or combinations thereof. The imaging system may further comprise a three-dimensional optical imaging module configured to capture depth data using at least one of stereo vision, LIDAR, or structured light sensors.

[0078] Load cell: As used herein, the term "load cell" refers to a transducer configured to convert mechanical force into an electrical signal for weight measurement. The term encompasses precision weight sensors, strain gauge load cells, and other force-sensing devices suitable for measuring medication weight with sufficient accuracy for verification purposes.

[0079] Machine learning model: As used herein, the term "machine learning model" refers to a computational model configured to improve performance on a task through exposure to training data. The term encompasses supervised learning models, unsupervised learning models, reinforcement learning models, convolutional neural networks, transformer-based models, and combinations thereof. Machine learning models may be trained on pharmaceutical datasets and may be updated via cloud-based training programs or centralized platforms. Machine learning models may be implemented using commercially available frameworks and platforms, including but not limited to TensorFlow (available from Google LLC, Mountain View, California), PyTorch (available from Meta Platforms, Inc., Menlo Park, California), scikit-learn (available as open-source software maintained by the scikit-learn community), Keras (available from Google LLC, Mountain View, California), XGBoost (available as open-source software maintained by the Distributed Machine Learning Community), Apache MXNet (available from The Apache Software Foundation, Wilmington, Delaware), Hugging Face Transformers (available from Hugging Face, Inc., New York, New York), ONNX Runtime (available from Microsoft Corporation, Redmond, Washington), NVIDIA TensorRT (available from NVIDIA Corporation, Santa Clara, California), and Amazon SageMaker (available from Amazon Web Services, Inc., Seattle, Washington). Machine learning models may be deployed on commercially available hardware platforms, including but not limited to NVIDIA A100 and H100 GPU accelerators (available from NVIDIA Corporation, Santa Clara, California), NVIDIA Jetson edge computing modules (available from NVIDIA Corporation, Santa Clara, California), Intel Xeon Scalable processors (available from Intel Corporation, Santa Clara, California), Google Cloud TPU accelerators (available from Google LLC, Mountain View, California), and AMD Instinct accelerators (available from Advanced Micro Devices, Inc., Santa Clara, California).

[0080] Medication characteristics: As used herein, the term "medication characteristics" is broadly defined to include any observable or measurable property of a medication that may be used for identification or verification purposes. Medication characteristics may include, but are not limited to, shape, color, size, geometry, imprint, symbol, weight, spectral signature, and packaging attributes.

[0081] Medication container: As used herein, the term "medication container" refers to any receptacle or packaging configured to hold medication. The term encompasses pill bottles, amber prescription bottles, blister cards, vials, ampules, syringes, manufacturer packaging, transparent containers, semi-transparent containers, opaque containers, and any other packaging format used in pharmacy dispensing workflows.

[0082] Module: As used herein, the term "module" refers to a functional unit that may be implemented in hardware, software, firmware, or any combination thereof. The term may be used interchangeably with "component," "unit," "subsystem," or "engine." A module may be a single integral component or a distributed set of components configured to perform one or more functions.

[0083] National Drug Code: As used herein, the term "National Drug Code" or "NDC" refers to a unique identifier assigned to medications for identification and tracking purposes. The term encompasses any standardized medication identification code used in pharmacy systems.

[0084] Optical character recognition: As used herein, the term "optical character recognition" or "OCR" refers to technology configured to detect, extract, and interpret printed or displayed text from images. The term encompasses computer vision techniques and natural language processing methods capable of identifying text on curved surfaces, partially obscured labels, or distorted print.

[0085] Pharmacist: As used herein, the term "pharmacist" refers to a licensed professional authorized to oversee medication dispensing and verification activities. The term encompasses supervising pharmacists, pharmacists in charge, lead pharmacists, and remote pharmacists accessing the system via a remote interface.

[0086] Prescription data: As used herein, the term "prescription data" refers to information associated with a medication order. Prescription data may include, but is not limited to, patient name, medication name, dosage, quantity, administration route, prescriber identifier, prescription number, and any clinical parameters retrieved from electronic prescribing platforms, electronic health records, or pharmacy dispensing systems.

[0087] Processor: As used herein, the term "processor" refers to one or more computing devices configured to execute instructions for data processing, analysis, and system control. The term encompasses central processing units, graphics processing units, edge processors, cloud-hosted processors, local processing units, remote processing servers, and combinations thereof. The processor may perform functions locally, remotely, or in a distributed architecture. Processors may be implemented using commercially available hardware, including but not limited to Intel Xeon Scalable processors and Intel Core processors (available from Intel Corporation, Santa Clara, California), AMD EPYC processors and AMD Ryzen processors (available from Advanced Micro Devices, Inc., Santa Clara, California), NVIDIA A100, H100, and L40 GPU accelerators (available from NVIDIA Corporation, Santa Clara, California), NVIDIA Jetson edge computing modules (available from NVIDIA Corporation, Santa Clara, California), ARM Cortex processors (available from Arm Ltd., Cambridge, United Kingdom), Qualcomm Snapdragon processors (available from Qualcomm Incorporated, San Diego, California), Apple M-series processors (available from Apple Inc., Cupertino, California), Google Cloud TPU accelerators (available from Google LLC, Mountain View, California), and Amazon Web Services Graviton processors (available from Amazon Web Services, Inc., Seattle, Washington). Cloud-hosted processing may be performed using commercially available cloud computing platforms, including but not limited to Amazon Web Services EC2 instances (available from Amazon Web Services, Inc., Seattle, Washington), Google Cloud Compute Engine (available from Google LLC, Mountain View, California), Microsoft Azure Virtual Machines (available from Microsoft Corporation, Redmond, Washington), and Oracle Cloud Infrastructure (available from Oracle Corporation, Austin, Texas).

[0088] Scanning platform: As used herein, the term "scanning platform" refers to a surface or station configured to receive and support medication containers during verification. The scanning platform may comprise a transparent surface for optical analysis, an integrated load cell or precision weight sensor, and may be configured for tabletop, conveyor-based, or automated dispensing system deployment.

[0089] Spectral analysis: As used herein, the term "spectral analysis" refers to techniques for identifying or verifying chemical composition based on electromagnetic radiation interaction with a substance. The term encompasses Raman spectroscopy, near-infrared spectroscopy, mid-infrared spectroscopy, and other spectroscopic methods capable of comparing spectral signatures against reference databases.

[0090] Sterile compounding: As used herein, the term "sterile compounding" refers to the preparation of medications under aseptic conditions, including but not limited to the preparation of intravenous medications, ophthalmic medications, and other formulations requiring sterile technique. Sterile compounding environments may include cleanrooms, laminar airflow hoods, and hazardous drug areas.

[0091] Sticker seal: As used herein, the term "sticker seal" refers to a physical marker applied to a medication container to indicate verification status. The sticker seal may be tamper-resistant, serialized, holographic, or any combination thereof. The sticker seal may comprise a serialized code linked to a corresponding transaction record in an audit trail.

[0092] Tare weight: As used herein, the term "tare weight" refers to the weight of an empty container or packaging material, which may be subtracted from a total weight measurement to calculate a net medication weight or dispensed volume.

[0093] Technician: As used herein, the term "technician" refers to pharmacy personnel involved in medication dispensing, verification, or compounding activities. The term encompasses pharmacy technicians, compounding technicians, and other staff members whose activities may be monitored by the system.

[0094] Verification result: As used herein, the term "verification result" refers to an outcome generated by the system based on comparison, validation, or analysis operations. The verification result may indicate a pass status, a fail status, or an intermediate status requiring further review. The verification result may be displayed via visual indicators, audible alerts, or user interface elements.

[0095] Weight validation module: As used herein, the term "weight validation module" refers to a system component configured to measure and verify medication weight. The weight validation module may comprise a load cell or precision weight sensor integrated into a scanning platform, and may be configured to measure total weight, calculate net medication weight by subtracting container weight, monitor weight changes during dispensing, and compare measured weights against expected values stored in a formulary database.System For Automated Medication Verification Using Ai-Based Imaging

[0096] The present disclosure relates to systems and methods for automated verification of dispensed medications. Medication verification systems described herein may automate final verification of dispensed medications using a combination of imaging, machine learning, weight validation, and behavioral monitoring. Such systems may be configured to identify medications based on visual characteristics, validate medication quantities, monitor technician conduct during verification processes, and generate verification results that indicate whether dispensed medications match expected parameters.

[0097] Medication verification systems may capture images of medication containers from multiple angles using one or more cameras. A processor may analyze the captured images using machine learning models to identify medication characteristics such as shape, color, size, and imprint. The processor may compare the identified medication characteristics against a formulary database containing medication information. Based on the comparison, the processor may generate a verification result indicating whether the medication matches expected parameters.

[0098] In some cases, medication verification systems may include weight validation modules configured to measure medication weight and compare measured weights against expected values. Weight validation may provide an additional verification factor beyond visual identification. For liquid medications, weight validation may be used to calculate dispensed volumes based on net weight increases and known liquid densities.

[0099] Medication verification systems may include behavioral monitoring modules configured to observe technician conduct during verification processes. Behavioral monitoring modules may use artificial intelligence models to analyze technician behavior and detect indicators of inattentiveness, distraction, or procedural deviation. Upon detection of such indicators, the system may halt the verification process and generate alerts to supervising pharmacists.

[0100] Medication verification systems may include audit trail modules configured to log verification data in data storage systems. Audit trail modules may record captured images, verification results, timestamps, user identifiers, weight data, and other verification-related information. Audit trail data may support regulatory compliance requirements and provide documentation for post-incident review. In some cases, audit trail modules may utilize cryptographic signatures or tamper-evident storage to maintain data integrity.

[0101] Medication verification systems described herein may be deployed in various pharmacy environments, including retail pharmacies, institutional pharmacies, mail-order pharmacies, long-term care facilities, and sterile compounding environments. The systems may be configured for tabletop deployment, conveyor-based workflows, or integration with automated dispensing systems. In some cases, medication verification systems may be configured to support compliance with regulatory requirements such as FDA 21 CFR Part 11 or state board of pharmacy standards.

[0102] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Method for Automated Medication Verification

[0103] FIG. 1 illustrates a method 100 for automated verification of dispensed medications. The method 100 may be performed by a medication verification system comprising an imaging system, a processor, and an audit trail module. The method 100 includes a step 102, a step 104, a step 106, a step 108, and a step 110.

[0104] At step 102, the method 100 includes capturing multi-angle images of a medication container using an imaging system. The imaging system may comprise one or more cameras positioned to capture images of the medication container from multiple angles. In some cases, the imaging system may include cameras positioned above a scanning platform, cameras positioned below a transparent surface of the scanning platform, and cameras positioned at angles relative to the scanning platform. The multi-angle image capture enables full-surface feature capture of the medication container and medications contained therein.

[0105] In some cases, step 102 may include capturing three-dimensional depth data of the medication using at least one of stereo vision, LIDAR, or structured light sensors. The imaging system may reconstruct pill geometry in three dimensions for classification. The three-dimensional depth data may be used to generate depth maps suitable for medication identification and verification. The imaging system may reconstruct pill geometry inside transparent or semi-transparent containers and support count, shape, and imprint classification without opening the container.

[0106] In some cases, the method 100 may include providing on-screen prompts instructing a user to rotate, tilt, or reposition the medication container based on real-time analysis of image quality. The imaging system may detect suboptimal image coverage and prompt a technician to rotate or tilt the container until all relevant surfaces and interior contents are visible. This feedback loop may be modeled after biometric systems such as mobile facial recognition enrollment, which guide users to achieve full three-dimensional mapping through rotation and camera cues. The interactive guidance may be useful for verifying medications in transparent or complex packaging where label-based checks may be insufficient.

[0107] At step 104, the method 100 includes analyzing the captured images using a machine learning model to identify at least one of a shape, a color, a size, or an imprint of a medication. The machine learning model may comprise a convolutional neural network trained to classify medications based on visual features. The processor may cross-reference observed features against a formulary database containing medication information including visual characteristics, expected weights, and three-dimensional representations.

[0108] In some cases, step 104 may include extracting prescription label information from the medication container using optical character recognition. The optical character recognition module may extract information including at least one of a patient name, a medication name, a National Drug Code, a prescription number, a dosage, a quantity, an expiration date, or a lot number. The optical character recognition module may be configured to identify distorted or partially obscured text on curved surfaces such as pill bottles or ampules. The extracted prescription label information may be cross-validated against pharmacy dispensing records.

[0109] In some cases, the method 100 may include counting individual pills within a blister card using the captured images. The imaging system may support multi-dose blister packs where more than one medication may be placed in a single cavity.

[0110] In some cases, the method 100 may include using multimodal fusion strategies integrating both image-based features and spectral fingerprint data for enhanced compound verification and anomaly detection. The multimodal inference may improve classification robustness by cross-validating independent data streams.

[0111] At step 106, the method 100 includes comparing the identified medication characteristics against a formulary database. The formulary database may contain medication identifiers, visual characteristics such as shape, color, size, and imprint data, expected weights, three-dimensional representations, National Drug Codes, and concentration data. The processor may perform classification matching against the formulary database to determine whether the medication matches expected parameters.

[0112] In some cases, step 106 may include measuring a total weight of the medication container, subtracting a known container weight from the total weight to calculate a net medication weight, and comparing the net medication weight against an expected weight stored in the formulary database. Weight validation may provide an additional verification factor beyond visual identification. For liquid medications, weight validation may be used to calculate dispensed volumes based on net weight increases and known liquid densities. The method 100 may include verifying liquid medications during filling or packaging using pre-fill and post-fill weight comparison and visual optical character recognition of source bottle labels.

[0113] In some cases, the method 100 may generate composite confidence scores to support pharmacist substitution decisions when combining visual, spectral, and weight data. The composite confidence scores may integrate multiple verification modalities into a unified decision model.

[0114] At step 108, the method 100 includes generating a verification result based on the comparison. The verification result may indicate a pass status, a fail status, or an intermediate status requiring further review. The verification result may be displayed via visual indicators, audible alerts, or user interface elements. In some cases, a green indicator may be displayed for a successful verification and a red indicator may be displayed for a failed verification.

[0115] In some cases, step 108 may include applying a tamper-resistant serialized holographic sticker seal to the medication container upon successful verification. In manual workflows where a user passes through item verification, a technician may apply the serialized sticker seal. The sticker seal may comprise a serialized code linked to a corresponding transaction record in the audit trail.

[0116] At step 110, the method 100 includes logging the verification result, the captured images, a timestamp, and a user identifier in an audit trail. The audit trail may store high-resolution images, video footage, weight data, spectral analysis data, and serialized sticker seal identifiers for each verification transaction. The audit trail may utilize cryptographic signatures or tamper-evident storage to maintain data integrity.

[0117] In some cases, the method 100 may include using optical character recognition results to auto-complete verification entries in a pharmacy dispensing system, reducing duplicative data entry and human error. The processor may interface with at least one of a pharmacy dispensing system, an electronic health record system, or an inventory database.

[0118] In some cases, the method 100 may include using automated pill counting systems or dispensing modules as front-end systems that prepare or portion medication before final review. The method 100 may include providing user guidance for scraping and directing excess pills back into a manufacturer bottle during the dispensing process. The method 100 may include directing counted medication into a prescription container while capturing high-resolution imaging of a label as a secondary optical character recognition input.

[0119] In some cases, the method 100 may include receiving machine learning model updates from a centralized cloud platform and applying the updates to improve classification accuracy. Pharmacies may opt into a cloud-based training program that allows verified images to be used to reinforce machine learning models. This process may enhance classification accuracy over time and enable the system to adapt to changes in formulary data, lighting environments, and packaging types across different pharmacy locations.

[0120] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Method for Verifying Liquid Medication Dispensing

[0121] FIG. 2 illustrates a method 200 for verifying liquid medication dispensing. The method 200 may be performed by a liquid medication verification system comprising an imaging system, a weight validation platform, a user interface, and an audit trail module. The method 200 includes a step 202, a step 204, a step 206, a step 208, a step 210, and a step 212.

[0122] At step 202, the method 200 includes identifying a manufacturer-labeled source container using an imaging system. The imaging system may capture label information from the manufacturer-labeled source container, including at least one of a National Drug Code, a drug name, a concentration, a lot number, or an expiration date. The imaging system may use optical character recognition to extract text from the source container label. In some cases, the method 200 may include cross-verifying the identified source medication with a corresponding prescription. The processor may compare the identified source medication against prescription data retrieved from a pharmacy dispensing system to confirm that the source container matches the medication assigned to a destination container.

[0123] In some cases, the method 200 may be used to verify non-sterile liquid medications dispensed into amber bottles in outpatient or retail pharmacy workflows. The method 200 may include observing and recording the transfer of liquid medications from manufacturer-labeled containers into amber prescription bottles during the dispense process.

[0124] At step 204, the method 200 includes recording a tare weight of a destination container. The destination container may comprise an amber prescription bottle or other container configured to receive the liquid medication. A weight validation platform comprising a load cell or precision weight sensor may record the empty tare weight of the destination container prior to pouring. The tare weight may be stored for subsequent volume calculations.

[0125] At step 206, the method 200 includes monitoring weight changes during pouring. The weight validation platform may continuously monitor weight changes as liquid medication is transferred from the source container into the destination container. The load cell or precision weight sensor may capture weight measurements in real time during the pouring process.

[0126] At step 208, the method 200 includes calculating a dispensed volume based on a net weight increase and a known liquid density. The processor may determine the net weight increase by subtracting the tare weight from the current total weight of the destination container. The processor may calculate the dispensed volume using the net weight increase and the known density of the liquid medication. The method 200 may eliminate the need for manual measuring tools such as graduated cylinders through precision-guided pour verification.

[0127] At step 210, the method 200 includes displaying a real-time fill percentage on a user interface. The user interface may display an on-screen progress indicator showing the current fill percentage as liquid medication is poured into the destination container. The method 200 includes displaying a completion indicator when a prescribed dose is reached. In some cases, the user interface may display a green checkmark to signal the technician to stop pouring once the target volume is reached. In some cases, the method 200 may include providing an audio signal in addition to the green checkmark to indicate pouring should stop when the target volume is reached.

[0128] In some cases, the method 200 may include halting verification if the dispensed volume exceeds an allowable threshold. The processor may compare the dispensed volume against a prescribed dose range and halt further progression or issue a warning if the poured amount exceeds allowable thresholds. The method 200 may halt verification if the dispensed volume does not match the prescribed dose range.

[0129] At step 212, the method 200 includes logging medication identity, fill weight, timestamp, and technician identifier in an audit trail. The audit trail module may store verification data including the source medication identity, the fill weight, the timestamp, the technician identifier, and visual images of the completed dispense. The audit trail may support compliance documentation for controlled substance handling protocols.

[0130] In some cases, the method 200 may include applying a tamper-resistant serialized sticker seal to the destination container upon successful verification. The sticker seal may comprise a serialized code linked to a corresponding transaction record in the audit trail. The tamper-resistant serialized sticker seal may certify that the fill passed final verification and compliance standards.

[0131] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Method for Monitoring Technician Behavior During Medication Verification

[0132] FIG. 3 illustrates a method 300 for monitoring technician behavior during medication verification. The method 300 may be performed by a medication verification system comprising an overhead camera, an artificial intelligence model, an alert module, and an audit trail module. The method 300 includes a step 302, a step 304, a step 306, a step 308, a step 310, and a step 312.

[0133] At step 302, the method 300 includes capturing continuous video of a technician during a verification process. An overhead camera or other imaging device may record video footage of the technician throughout the medication verification workflow. The continuous video capture enables observation of technician conduct, movements, and attention during the verification process.

[0134] At step 304, the method 300 includes analyzing the video using an artificial intelligence model to detect at least one of inattentiveness, distraction, or deviation from an expected workflow. The artificial intelligence model may be trained to recognize behavioral patterns associated with procedural adherence and to identify deviations from expected verification sequences. In some cases, analyzing the video comprises evaluating at least one of gaze patterns, posture, or ambient context. The artificial intelligence model may analyze technician hand movements, gaze direction, and workflow consistency to assess whether the technician is following expected procedures. The artificial intelligence model may detect indicators such as repeated glances away from a screen, side conversations, rapid scanning, or abnormal movement patterns.

[0135] At step 306, the method 300 includes detecting inattentiveness, distraction, or procedural deviation. The artificial intelligence model may compare observed technician behavior against expected behavioral patterns and identify deviations that exceed predefined thresholds. The method 300 includes identifying threshold violations when detected behavioral deviations exceed acceptable limits. A behavioral threshold engine may determine when inattention or procedural deviation exceeds a pre-set duration or severity level.

[0136] In some cases, the method 300 may include detecting environmental risk factors comprising at least one of excessive ambient noise, staff crowding, or low lighting conditions. The artificial intelligence model may analyze ambient context captured by the overhead camera or other sensors to identify environmental conditions that correlate with elevated risk of verification errors.

[0137] At step 308, the method 300 includes halting verification upon detection of the threshold violations. When the artificial intelligence model detects behavioral deviations or environmental risk factors that exceed acceptable thresholds, the system may halt the verification process to prevent progression until the issue is addressed. In some cases, the method 300 may include issuing a soft pause prompting the technician to confirm readiness before resuming verification. The soft pause may display on-screen prompts requesting the technician to acknowledge readiness before the verification process continues.

[0138] At step 310, the method 300 includes generating a real-time alert to a supervising pharmacist. The alert may include the technician identifier, a timestamp, behavioral footage, and a system-generated anomaly summary describing the detected behavior. In some cases, the method 300 may include sending automated text or email alerts to supervising personnel with video clips of activity for any detected potential diversion anomalies. Notifications may be sent via secure email, text message, or system alert.

[0139] In some cases, the method 300 may include using a tiered escalation engine that prioritizes intervention by pharmacist availability and alert criticality when routing verification exceptions. The tiered escalation engine may evaluate error likelihood or technician distraction severity and route verification exceptions to designated pharmacist tiers based on risk level and availability. The tiered escalation approach may ensure continuous oversight during high-volume or after-hours operations when direct supervision may be limited.

[0140] At step 312, the method 300 includes logging behavioral data and alert outcome in an audit trail. The audit trail module may store the continuous video footage, detected behavioral deviations, alert notifications, pharmacist responses, and associated timestamps. The behavioral data and alert outcomes may be retained for compliance documentation, post-event review, and training analysis.

[0141] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Method for Sterile Compounding Verification

[0142] FIG. 4 illustrates a method 400 for sterile compounding verification. The method 400 may be performed by a medication verification system comprising an imaging system, an artificial intelligence model, an overhead camera, an alert module, and an audit trail module. The method 400 includes a step 402, a step 404, a step 406, a step 408, a step 410, and a step 412.

[0143] At step 402, the method 400 includes capturing images of medication vials or ampules prior to preparation. The imaging system may capture high-resolution images of medication vials, ampules, or syringes before the compounding process begins. The image capture prior to preparation enables visual confirmation of drug components before volume errors can occur. In some cases, the method 400 may include capturing spectral analysis data of the medication vials or ampules in addition to visual images.

[0144] In some cases, the method 400 may be used in pharmacy environments without the infrastructure or space for full gravimetric setups. The method 400 may enable the system to serve as a standalone verification workstation in sterile compounding environments. The ability to visually confirm correct components before preparation may provide earlier error detection compared to systems that detect errors after volume dispensing has occurred.

[0145] At step 404, the method 400 includes identifying a medication and concentration using an artificial intelligence model. The artificial intelligence model may use image recognition, National Drug Code identification, and other medication identification methods to confirm that the correct medication and concentration were selected for the compound. The artificial intelligence model may compare observed visual features against a formulary database containing medication identifiers, visual characteristics, and concentration data.

[0146] In some cases, the method 400 may address risks from incorrect diluent selection, improper drug concentration, or incorrect sequencing during preparation. Sterile compounding errors may result from such procedural deviations, and the method 400 may detect these errors before preparation proceeds.

[0147] In some cases, the method 400 may include verifying drug composition using spectral analysis. A spectral analysis module may confirm compound identity or concentration through comparison with reference spectra. The spectral analysis may use at least one of Raman spectroscopy, near-infrared spectroscopy, or mid-infrared spectroscopy to verify chemical composition.

[0148] At step 406, the method 400 includes comparing the identified medication against prescription data. The processor may compare the identified medication and concentration against prescription data retrieved from a pharmacy dispensing system or electronic health record. The comparison may confirm that the medication vial or ampule matches the medication assigned to the compounding order.

[0149] In some cases, the method 400 may include displaying load-assist prompts guiding a technician through compounding steps comprising correct diluent selection, draw volume, and sequencing. A load-assist prompting interface may scan drug containers, compare contents to prescribed formulations, and display prompts for correct diluent, draw volume, and sequencing. The load-assist prompting may guide technicians through each compounding step, helping to prevent procedural errors in real time. Each technician action and prompt confirmation may be stored with a timestamp and user identifier in the audit trail.

[0150] At step 408, the method 400 includes monitoring technician aseptic behavior using an overhead camera. The overhead camera may record video footage of the technician throughout the sterile compounding workflow. The artificial intelligence model may be trained on aseptic best practices to evaluate technician conduct during the compounding process.

[0151] At step 410, the method 400 includes detecting violations of sterile compounding protocols. The artificial intelligence model may detect violations such as improper glove, gown, or personal protective equipment use, reach-over violations, ungloved contact, or sanitization violations. The method 400 includes generating alerts upon detection of protocol violations. The alerts may be sent to a supervising pharmacist via secure email, text message, or system alert. The alerts may include a summary of the detected behavior, a timestamp, and a technician identifier.

[0152] In some cases, when a protocol violation or exception is detected, the method 400 may include halting the workflow and escalating the incident to a remote supervising pharmacist. The method 400 may include providing a real-time link that provides access to a video log, technician identifier, and system alerts, allowing the pharmacist to approve or intervene without being physically present. Pharmacists may access detailed incident footage through a system portal or remotely log into the system for direct review.

[0153] At step 412, the method 400 includes logging time-stamped records of each step in a compounding workflow. The audit trail module may generate time-stamped photo and video records of each step in the compounding workflow. The audit trail may include verification of technician identifier, medication ingredients, volume dispensed, lot number, preparation steps, high-definition images of medications, and serial sticker seal identifiers. The time-stamped records may be used to satisfy USP 797 and USP 800 audit requirements and internal quality control. The audit trail may create an auditable record of the compounding workflow, supporting regulatory compliance and reducing risk.

[0154] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Method for Prescription Anomaly Detection

[0155] FIG. 5 illustrates a method 500 for prescription anomaly detection. The method 500 may be performed by a medication verification system comprising an interface configured to receive prescription data, an artificial intelligence model, an alert module, and an audit trail module. The method 500 includes a step 502, a step 504, a step 506, a step 508, a step 510, and a step 512.

[0156] At step 502, the method 500 includes receiving prescription data from an electronic prescribing platform. The interface may receive prescription data including patient identifiers, medication names, dosages, quantities, administration routes, prescriber identifiers, and prescription numbers. The electronic prescribing platform may comprise an electronic health record system, a pharmacy dispensing system, or other prescribing interface configured to transmit prescription data to the medication verification system. In some cases, the method 500 may include using an artificial intelligence-powered anomaly detection engine that interfaces with electronic prescribing systems to identify atypical dosages, off-formulary medications, and high-risk combinations in real time prior to final dispensing.

[0157] At step 504, the method 500 includes analyzing the prescription data using an artificial intelligence model. The artificial intelligence model may evaluate the prescription data to identify patterns, deviations, or combinations that indicate potential errors or safety concerns. In some cases, the method 500 may include dynamically cross-referencing prescription data with patient-specific variables such as age, weight, allergies, comorbidities, or historical prescription trends without relying solely on predefined rule sets. The artificial intelligence model may perform contextual interpretation of prescribing behavior to identify non-obvious risks.

[0158] In some cases, the method 500 may include incorporating Artificial General Intelligence models capable of autonomous clinical reasoning and contextual interpretation of prescribing behavior. Artificial General Intelligence engines may provide deeper insight into non-obvious risks and greater adaptability to evolving clinical protocols. In some cases, detecting anomalies comprises cross-referencing formulary standards, patient demographic norms, and historical dispensing patterns. The artificial intelligence model may compare the prescription data against formulary databases, patient demographic information, and historical dispensing records to identify deviations from expected prescribing patterns.

[0159] At step 506, the method 500 includes detecting anomalies comprising at least one of incorrect dosage, off-formulary medications, therapeutic duplications, or contraindications. The artificial intelligence model may identify anomalies including dosages that fall outside expected ranges for a given patient population, medications not included in an approved formulary, duplicate therapeutic agents prescribed concurrently, drug-drug interactions, drug-allergy conflicts, or improper administration routes. The method 500 may detect anomalies based on comparison of the prescription data against clinical guidelines, formulary standards, and patient-specific parameters.

[0160] In some cases, the method 500 may include learning from pharmacist feedback and historical resolution patterns to improve future anomaly detection accuracy over time. In Artificial General Intelligence-enabled configurations, the artificial intelligence model may adapt detection thresholds and classification criteria based on outcomes of previous anomaly detections and pharmacist interventions. The learning process may enable the method 500 to reduce false positive rates and improve detection of clinically relevant anomalies.

[0161] At step 508, the method 500 includes halting verification upon detection of an anomaly. When the artificial intelligence model detects an anomaly in the prescription data, the system may halt the verification process to prevent dispensing of the medication until the anomaly is resolved. The halt may prevent progression of the medication through the dispensing workflow until a supervising pharmacist reviews the detected anomaly.

[0162] At step 510, the method 500 includes notifying a supervising pharmacist of the detected anomaly. The alert module may transmit a notification to a supervising pharmacist via secure email, text message, or system alert. The notification may include a summary of the detected anomaly, the prescription number, the prescriber identifier, the anomaly classification, and a confidence score indicating the likelihood that the detected anomaly represents a genuine error or safety concern. In some cases, the notification may include a system-generated rationale for the detected anomaly, providing supporting information to assist the pharmacist in evaluating the anomaly.

[0163] At step 512, the method 500 includes logging anomaly metadata in an audit trail. The audit trail module may store anomaly metadata comprising the prescription number, the prescriber identifier, the anomaly classification, the confidence score, the timestamp, the pharmacist response, and the resolution outcome. The audit trail may retain records of detected anomalies, pharmacist interventions, and disposition decisions for compliance documentation and post-event analysis.

[0164] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Method for Classifying Hazardous Pharmaceutical Waste

[0165] FIG. 6 illustrates a method 600 for classifying hazardous pharmaceutical waste. The method 600 may be performed by a hazardous waste classification system comprising a visual recognition system, a processor, a user interface, and an audit trail module. The method 600 includes a step 602, a step 604, a step 606, a step 608, a step 610, and a step 612.

[0166] At step 602, the method 600 includes capturing images of a medication using a visual recognition system. The visual recognition system may comprise one or more cameras configured to capture images of medications for identification and classification purposes. In some cases, capturing images comprises capturing images of a medication placed in a user's palm. The method 600 may be used for dropped pills or loose pills found in a pharmacy, such as pills found on the floor during cleaning, where no National Drug Code is available. Employees may place a pill in their hand and hold the pill in the palm over a scanning platform for analysis. The visual recognition system may capture images of the medication in the user's palm and analyze the medication based on visual characteristics.

[0167] At step 604, the method 600 includes identifying the medication without reliance on a National Drug Code. The processor may use visual recognition to identify the medication based on observed characteristics such as shape, color, size, and imprint. The visual recognition system may match the observed medication characteristics against a formulary database containing medication identifiers and visual characteristics. The method 600 enables medication identification when barcode data is missing, damaged, or otherwise unavailable. In some cases, the processor may use machine learning models trained to classify medications based on visual features.

[0168] At step 606, the method 600 includes cross-referencing the identified medication with a hazardous waste classification database. The hazardous waste classification database may contain information for categorizing pharmaceutical waste according to regulatory standards. The processor may cross-reference the identified medication with a waste characterization formulary mapped to Environmental Protection Agency and Department of Transportation standards. In some cases, the hazardous waste classification database may comprise a pharmacy's local waste characterization formulary. In some cases, the hazardous waste classification database may comprise a cloud-based waste characterization formulary. The method 600 may include updating the waste characterization formulary via cloud-based distribution to ensure pharmacies maintain alignment with evolving Environmental Protection Agency classifications and vendor-specific sorting policies.

[0169] At step 608, the method 600 includes determining a disposal classification based on Environmental Protection Agency standards. The processor may determine the disposal classification by comparing the identified medication against hazardous waste categories stored in the hazardous waste classification database. The hazardous waste categories may comprise at least one of non-hazardous, P-list, U-list, D-list, incompatible oxidizers, aerosols, or combustible categories. In some cases, the disposal classification may further comprise categories such as corrosive, ignitable, or reactive classifications based on the chemical properties of the medication. The processor may determine whether the medication is classified as hazardous and, if so, which specific hazardous waste category applies.

[0170] At step 610, the method 600 includes displaying bin placement guidance aligned with hazardous waste categories. A user interface may display real-time instructions indicating which waste receptacle to use for the identified medication. The bin placement guidance may indicate whether the medication should be placed in a non-hazardous bin, a hazardous bin corresponding to a specific classification such as P-list, U-list, or D-list, an aerosol-specific bin, or another designated receptacle. The bin placement guidance may support compliant waste segregation in accordance with Environmental Protection Agency and Department of Transportation standards.

[0171] At step 612, the method 600 includes logging the classification event in an audit trail with technician identifier and timestamp. The audit trail module may store classification data including the identified medication, the disposal classification, the technician identifier, and the timestamp. The audit trail may generate compliance logs for regulatory audits. The classification data and associated records may support documentation for Environmental Protection Agency and Department of Transportation compliance inspections.

[0172] In some cases, the method 600 may include using a hazardous waste segregation module for dropped pills or loose pills found in the pharmacy where no National Drug Code is available. The method 600 may enable technicians to identify medications visually and determine appropriate disposal classifications without relying on barcode scanning or National Drug Code lookup.

[0173] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Unified End-to-End Medication Verification Method

[0174] FIG. 7 illustrates a method 700 for unified end-to-end medication verification. The method 700 may be performed by a medication verification system comprising a scanning platform, an imaging system, a weight validation module, an artificial intelligence model, a machine learning model, a behavioral monitoring module, a sticker seal applicator, and an audit trail module. The method 700 includes a step 702, a step 704, a step 706, a step 708, a step 710, a decision 712, a step 714A, and a step 714B.

[0175] At step 702, the method 700 includes receiving a medication container at a scanning platform. The scanning platform may comprise a surface configured to support the medication container during verification. The scanning platform may include a transparent surface for optical analysis and an integrated load cell or precision weight sensor for weight measurement. The medication container may comprise a pill bottle, an amber prescription bottle, a blister card, a vial, or other packaging format used in pharmacy dispensing workflows.

[0176] At step 704, the method 700 includes capturing multi-angle images and weight data of the medication container. An imaging system comprising one or more cameras may capture images of the medication container from multiple angles. In some cases, the imaging system may include cameras positioned above the scanning platform, cameras positioned below a transparent surface of the scanning platform, and cameras positioned at angles relative to the scanning platform. A weight validation module may measure a total weight of the medication container. The weight validation module may subtract a known container weight from the total weight to calculate a net medication weight.

[0177] At step 706, the method 700 includes identifying the medication via an artificial intelligence model and a machine learning model. The artificial intelligence model and the machine learning model may analyze the captured images to identify medication characteristics such as shape, color, size, and imprint. In some cases, the machine learning model may comprise a convolutional neural network trained to classify medications based on visual features. The artificial intelligence model may extract prescription label information from the medication container using optical character recognition.

[0178] At step 708, the method 700 includes validating the medication against formulary data, weight data, and prescription data. A processor may compare the identified medication characteristics against a formulary database containing medication identifiers, visual characteristics, and expected weights. The processor may compare the net medication weight against an expected weight stored in the formulary database. The processor may cross-validate the identified medication against prescription data retrieved from a pharmacy dispensing system or electronic health record.

[0179] At step 710, the method 700 includes monitoring technician behavior during the verification process using an overhead camera. A behavioral monitoring module comprising the overhead camera and an artificial intelligence model may observe technician conduct during the verification process. The artificial intelligence model may analyze at least one of gaze patterns, hand movements, posture, or workflow consistency of the technician. The method 700 includes detecting indicators of inattentiveness or procedural deviation using the artificial intelligence model. The artificial intelligence model may detect indicators such as repeated glances away from a screen, side conversations, rapid scanning, or abnormal movement patterns. The method 700 includes generating an alert to a supervising pharmacist upon detection of the indicators. The alert may include a technician identifier, a timestamp, behavioral footage, and a system-generated anomaly summary describing the detected behavior.

[0180] At decision 712, the method 700 includes evaluating whether all checks pass. The processor may evaluate the results of the medication identification, the formulary validation, the weight validation, the prescription data comparison, and the behavioral monitoring. The decision 712 determines whether the medication container proceeds to step 714A upon a positive determination or to step 714B upon a negative determination.

[0181] Upon a positive determination at decision 712, the method 700 proceeds to step 714A. At step 714A, the method 700 includes applying a tamper-resistant sticker seal to the medication container and logging the verification in an audit trail. A sticker seal applicator may apply a tamper-resistant serialized holographic sticker seal to the medication container upon successful verification. The sticker seal may comprise a serialized code linked to a corresponding transaction record in the audit trail. In some cases, the sticker seal adhesive may be designed to damage or lift the prescription label or packaging if forcibly removed, serving as a clear visual warning to a patient or caregiver. In some cases, the medication label and pharmacy instructions may include a warning advising patients not to take the medication if the serialized sticker seal is missing, broken, or altered. The audit trail module may capture and archive a high-resolution image of the final dispensed medication with the applied sticker seal for regulatory and investigative purposes. The audit trail module may log the verification result, the captured images, a timestamp, a user identifier, weight data, and the serialized sticker seal identifier.

[0182] Upon a negative determination at decision 712, the method 700 proceeds to step 714B. At step 714B, the method 700 includes halting the verification process upon detection of a verification failure and alerting a supervising pharmacist. The method 700 may include diverting the medication container to a troubleshooting lane. The system may prevent the workflow from continuing until the issue is resolved and the medication container is reprocessed when errors are detected. The alert module may transmit a notification to the supervising pharmacist via secure email, text message, or system alert. The notification may include a summary of the verification failure, the medication container identifier, and a timestamp. The audit trail module may log the verification failure, the alert outcome, and associated timestamps.

[0183] In some cases, the audit trail system may function similarly to a black box in aviation, capturing the full context of each medication verification event to support post-incident analysis and regulatory defense. The audit trail may store high-resolution images, video footage, weight data, behavioral data, and serialized sticker seal identifiers for each verification transaction. The audit trail may utilize cryptographic signatures or tamper-evident storage to maintain data integrity.

[0184] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Method for Remote Pharmacist Verification

[0185] A method for remote pharmacist verification may be performed by a remote pharmacist verification system comprising a medication verification platform, a streaming interface, a pharmacist override module, a sticker seal applicator, and an audit trail module.

[0186] The method for remote pharmacist verification includes capturing imaging data and verification data at a medication verification platform. The medication verification platform may comprise an imaging system configured to capture multi-angle images of medication containers. The imaging system may capture high-resolution images of medications, prescription labels, and packaging. The medication verification platform may further capture verification data comprising at least one of medication identification results, formulary comparison outcomes, weight validation measurements, prescription data comparisons, or behavioral monitoring observations. In some cases, the medication verification platform may capture video footage of the verification process in addition to still images. The imaging data and verification data may be captured in real time as the verification process proceeds.

[0187] The method includes streaming the imaging data and verification data to a remote pharmacist interface. A streaming interface may transmit the imaging data and verification data from the medication verification platform to a remote pharmacist interface located at a separate location from the medication verification platform. The streaming interface may transmit data in real time to enable the remote pharmacist to observe the verification process as the verification process occurs. In some cases, the remote pharmacist interface may provide access to behavioral video, prescription metadata, and verification outputs. The remote pharmacist interface may display the imaging data, verification data, technician identifier, and system alerts to enable the remote pharmacist to review the verification transaction. In some cases, the streaming interface may provide a real-time link that allows the remote pharmacist to access video logs, technician identifiers, and system alerts without being physically present at the medication verification platform.

[0188] The method includes receiving approval or rejection input from a remote pharmacist. A pharmacist override module may receive approval or rejection input from the remote pharmacist via the remote pharmacist interface. The remote pharmacist may review the imaging data and verification data and provide input indicating whether the medication dispense should proceed or be rejected. In some cases, the pharmacist override module may permit the remote pharmacist to approve a dispense task that would otherwise be halted due to a verification exception. In some cases, the pharmacist override module may permit the remote pharmacist to reject a dispense task that would otherwise proceed. The pharmacist override module may receive the approval or rejection input via user interface elements displayed on the remote pharmacist interface.

[0189] The method includes applying a verification sticker upon approval. Upon receiving approval input from the remote pharmacist, a sticker seal applicator may apply a verification sticker to the medication container. The verification sticker may comprise a tamper-resistant serialized sticker seal. In some cases, the verification sticker may comprise a serialized holographic sticker seal. The sticker seal may comprise a serialized code linked to a corresponding transaction record in the audit trail. The application of the verification sticker may indicate that the medication container has passed remote pharmacist review and is approved for dispensing.

[0190] The method includes logging remote access events and override actions in an audit trail. An audit trail module may log remote access events comprising timestamps indicating when the remote pharmacist accessed the imaging data and verification data. The audit trail module may log override actions comprising the approval or rejection input received from the remote pharmacist. In some cases, the audit trail module may log the remote pharmacist identifier, the timestamp of the approval or rejection input, the medication container identifier, and the verification sticker serial number. The audit trail may store records of remote pharmacist sessions, including session duration, data accessed, and decisions rendered. In some cases, the audit trail may utilize cryptographic signatures or tamper-evident storage to maintain data integrity of the remote access and override records.

[0191] In some cases, the method may include halting the verification process upon detection of a verification failure and transmitting a notification to the remote pharmacist. The notification may include a summary of the verification failure, imaging data, behavioral video, and verification outputs to enable the remote pharmacist to evaluate the failure and provide approval or rejection input.

[0192] In some cases, the method may include providing full transaction playback to the remote pharmacist, including imaging, audit log data, and technician behavior trace for review prior to approval or intervention. The transaction playback may enable the remote pharmacist to review the complete verification event before rendering a decision.

[0193] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Method for Pediatric Medication Verification

[0194] A method for pediatric medication verification may be performed by a pediatric medication verification system comprising an imaging system, a weight validation module, a processor, and an audit trail module.

[0195] The method for pediatric medication verification includes capturing images of a medication container. The imaging system may capture high-resolution images of the medication container, including prescription labels, packaging, and medications contained therein. The imaging system may comprise one or more cameras positioned to capture images from multiple angles. In some cases, the imaging system may capture images of liquid medication containers such as amber prescription bottles or oral syringes used in pediatric dispensing workflows.

[0196] The method includes recording pre-fill and post-fill weights of a liquid medication container. A weight validation module comprising a load cell or precision weight sensor may record a pre-fill weight of the liquid medication container prior to dispensing. The weight validation module may record a post-fill weight of the liquid medication container after dispensing is complete. The difference between the post-fill weight and the pre-fill weight may be used to determine the dispensed dose. In some cases, the weight validation module may continuously monitor weight changes during the dispensing process to provide real-time feedback to a technician.

[0197] The method includes retrieving weight-based dosing requirements from at least one of an electronic health record or a technician input. The processor may interface with electronic health record systems or prescribing application programming interfaces to retrieve weight-based dosing requirements without requiring changes to existing pharmacy workflows. In some cases, the processor may retrieve patient weight data, age data, and prescribed dosing parameters from the electronic health record. In some cases, the method may include providing a manual input field during technician login or prescription scanning to input weight-based dosing requirements. The manual input field may allow a technician to enter patient weight or dosing parameters when electronic health record data is unavailable or when manual entry is preferred.

[0198] The method includes calculating an expected dosage range based on the weight-based dosing requirements. The processor may calculate the expected dosage range by applying weight-based dosing calculations to the retrieved patient weight and prescribed medication parameters. The expected dosage range may define minimum and maximum acceptable doses for the pediatric patient based on the patient's body weight and the prescribed medication.

[0199] The method includes comparing a dispensed dose with the expected dosage range. The processor may compare the dispensed dose, as determined from the pre-fill and post-fill weight measurements, against the calculated expected dosage range. The comparison may determine whether the dispensed dose falls within acceptable limits for the pediatric patient. In some cases, the processor may compare pill volume and configuration against expected values based on a prescribed dose and patient body weight. Discrepancies between the dispensed dose and the expected dosage range may trigger pharmacist review.

[0200] The method includes generating a verification result. The verification result may indicate a pass status when the dispensed dose falls within the expected dosage range, or a fail status when the dispensed dose falls outside the expected dosage range. In some cases, the verification result may indicate an intermediate status requiring pharmacist review when the dispensed dose approaches the boundaries of the expected dosage range. The verification result may be displayed via visual indicators, audible alerts, or user interface elements.

[0201] The method includes logging pediatric-specific verification data in an audit trail. An audit trail module may log pediatric-specific verification data comprising captured images, pre-fill and post-fill weight measurements, weight-based dosing requirements, calculated expected dosage ranges, dispensed doses, verification results, technician identifiers, and timestamps. The pediatric-specific verification data may support pharmacist oversight and regulatory compliance documentation. In some cases, the audit trail may store records of all pediatric-related verification steps to provide a complete record of the pediatric dispensing workflow.

[0202] In some cases, the method may include detecting pediatric packaging formats. The processor may use a visual packaging classifier to identify packaging commonly used for pediatric medications. Pediatric packaging formats may include childproof containers, oral syringes, and other packaging configurations associated with pediatric dispensing. The imaging system may capture images of the medication container, and the processor may analyze the captured images to detect visual characteristics associated with pediatric packaging formats.

[0203] In some cases, the method may include triggering elevated verification standards upon detection of pediatric packaging formats. When the processor detects a pediatric packaging format, the method may activate enhanced verification protocols. The elevated verification standards may include escalated anomaly detection thresholds, additional weight validation steps, or additional pharmacist review requirements. The elevated verification standards may reduce error rates in pediatric medication dispensing by applying additional verification measures to medications identified as pediatric prescriptions.

[0204] In some cases, the method may be used for verification of high-risk or pediatric prescriptions in environments without gravimetric systems. The imaging system may capture images of the medication container and perform visual verification of pill volume and configuration against expected values. The visual verification may provide an alternative verification pathway when weight validation equipment is unavailable.

[0205] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Core Medication Verification System Components

[0206] A medication verification system may comprise a scanning platform, an imaging system, a processor, and an audit trail module. The scanning platform may be configured to receive a medication container. The medication container may comprise a pill bottle, an amber prescription bottle, a blister card, a vial, an ampule, or other packaging format used in pharmacy dispensing workflows. The scanning platform may comprise a surface configured to support the medication container during verification operations. In some cases, the scanning platform may include a transparent surface for optical analysis. The transparent surface may enable cameras positioned below the scanning platform to capture images of the medication container from beneath.

[0207] The medication verification system may comprise an imaging system comprising one or more cameras positioned to capture images of the medication container from multiple angles. The multi-angle image capture enables full-surface feature capture of the medication container and medications contained therein. In some cases, the imaging system may comprise a first camera positioned above the scanning platform. The first camera may capture images of the medication container from an overhead perspective. In some cases, the imaging system may comprise a second camera positioned below a transparent surface of the scanning platform. The second camera may capture images of the medication container from beneath, enabling observation of medications through the transparent surface. In some cases, the imaging system may comprise a third camera positioned at an angle relative to the scanning platform. The third camera may capture angled views of dispensed medications to provide additional visual perspectives for classification. The combination of cameras positioned above, below, and at angles relative to the scanning platform may enable comprehensive visual coverage of the medication container and medications contained therein.

[0208] In some cases, the imaging system may comprise a three-dimensional optical imaging module configured to capture depth data of the medication using at least one of stereo vision, LIDAR, or structured light sensors. The three-dimensional optical imaging module may generate depth maps suitable for medication identification and verification. The three-dimensional optical imaging module may reconstruct pill geometry in three dimensions for classification. The three-dimensional depth data may be used to classify medications against a formulary database using three-dimensional imprint and shape matching. In some cases, the imaging system may capture depth data that enables reconstruction of pill geometry inside transparent or semi-transparent containers without opening the container.

[0209] The medication verification system may comprise a processor configured to analyze the captured images using a machine learning model to identify at least one of a shape, a color, a size, or an imprint of a medication within the medication container. The processor may cross-reference observed features against a formulary database containing medication information including visual characteristics, expected weights, and three-dimensional representations. In some cases, the machine learning model may comprise a convolutional neural network trained to classify medications based on visual features. The convolutional neural network may extract hierarchical features from the captured images for classification, detection, or recognition tasks. In some cases, the machine learning model may support anomaly detection, identifying defective packaging, nonconforming pill geometry, or imprint irregularities.

[0210] The processor may be configured to compare the identified medication characteristics against a formulary database. The formulary database may contain medication identifiers, visual characteristics such as shape, color, size, and imprint data, expected weights, three-dimensional representations, National Drug Codes, and concentration data. The formulary database may be stored locally, hosted on a cloud-based platform, or accessed via application programming interface queries. The processor may perform classification matching against the formulary database to determine whether the medication matches expected parameters.

[0211] The processor may be configured to generate a verification result based on the comparison. The verification result may indicate a pass status, a fail status, or an intermediate status requiring further review. In some cases, the verification result may be displayed via visual indicators, audible alerts, or user interface elements.

[0212] The medication verification system may comprise an audit trail module configured to log the verification result, the captured images, a timestamp, and a user identifier in a data storage system. The audit trail module may store high-resolution images, video footage, weight data, and other verification-related information for each verification transaction. The audit trail may support regulatory compliance requirements and provide documentation for post-incident review. In some cases, the audit trail module may utilize cryptographic signatures or tamper-evident storage to maintain data integrity. The audit trail may be stored locally, on a customer-designated server, or on cloud-based infrastructure.

[0213] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Weight Validation Module

[0214] The medication verification system may comprise a weight validation module comprising a load cell or precision weight sensor integrated into the scanning platform. The weight validation module may be configured to measure medication weight concurrently with visual classification performed by the imaging system. The load cell or precision weight sensor may convert mechanical force into an electrical signal for weight measurement with sufficient accuracy for verification purposes.

[0215] The processor may be configured to measure a total weight of the medication container. The total weight may include the weight of the medication and the weight of the packaging or container. The processor may be configured to subtract a known container weight from the total weight to calculate a net medication weight. The known container weight may be stored in the formulary database or retrieved from packaging specifications associated with the medication container type. The processor may be configured to compare the net medication weight against an expected weight stored in the formulary database. The expected weight may correspond to the prescribed quantity of medication based on the medication identifier and dosage parameters.

[0216] In some cases, weight validation may be used where visual verification is not possible because of packaging characteristics. The weight validation module may provide an additional verification factor beyond visual identification. In some cases, pharmacy personnel may configure the weight validation module to perform weight checks for specific items in the formulary or for all formulary items based on internal criteria. The weight check options may be customizable based on pharmacy-specific policies and procedures.

[0217] The processor may be configured to perform narcotics validation for controlled substances. For narcotics validation, the processor may be configured to measure a remaining weight of a stock bottle after dispensing. The stock bottle may comprise a manufacturer container from which medication was dispensed into a prescription container. The processor may be configured to compare the remaining weight to an expected inventory level. The expected inventory level may be calculated based on the original stock bottle weight minus the weight of the dispensed medication. The processor may be configured to generate a discrepancy alert when the remaining weight deviates from the expected inventory level by more than a threshold amount. The threshold amount may be configurable based on pharmacy policies and regulatory requirements for controlled substance handling.

[0218] In some cases, the narcotics validation may include validation of empty bottles used during a dispense to confirm that the remaining contents match expected values. The discrepancy alert may indicate weight discrepancies that may be associated with narcotic diversion, misuse, or inventory errors. The discrepancy alert may be transmitted to designated pharmacy personnel via secure email, text message, or system alert.

[0219] In some cases, the medication verification system may use the audit trail module to manage narcotic schedule I through schedule V daily, weekly, and monthly audits. The audit trail module may store weight validation data, discrepancy alerts, and associated timestamps to support controlled substance audit requirements. In some cases, the medication verification system may trigger a cycle count alert sent to assigned users in the pharmacy to manually count narcotics when discrepancies are identified. The cycle count alert may prompt pharmacy personnel to perform a manual recount of controlled substance inventory to reconcile the detected discrepancy.

[0220] In some cases, alerts may be sent to assigned users with a real-time link that provides access to video logs, technician identifiers, and dispense data, allowing immediate review of potential discrepancies. Pharmacists may access detailed incident footage through a system portal or remotely log into the system for direct review. The narcotics validation functionality may support proactive intervention, off-site verification, and compliance documentation for controlled substance handling.

[0221] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Optical Character Recognition and Barcode Modules

[0222] The medication verification system may comprise an optical character recognition module configured to extract prescription label information from the medication container. The optical character recognition module may use computer vision techniques and natural language processing to detect and interpret printed data on prescription labels. The optical character recognition module may be configured to identify distorted or partially obscured text on curved surfaces such as pill bottles or ampules.

[0223] The prescription label information may comprise at least one of a patient name, a medication name, a National Drug Code, a prescription number, a dosage, a quantity, an expiration date, or a lot number. In some cases, the optical character recognition module may extract additional information from prescription labels, including warnings, auxiliary stickers, DEA numbers, prescriber information, and substitution information. The optical character recognition module may detect label inconsistencies and support traceability for printed information on medication containers.

[0224] Extracted prescription label information may be cross-validated against formulary and prescription records to detect mismatches or labeling errors. The processor may cross-reference the prescription label information extracted by the optical character recognition module with the medication identified by the imaging system. In some cases, the optical character recognition module may be configured as a secondary check or parallel data stream to the imaging system, improving error detection where prescription and bottle label mismatches occur. All information extracted by the optical character recognition module may be indexed and stored in the audit trail module.

[0225] The medication verification system may comprise a barcode recognition module configured to capture barcode data from the medication container without use of a handheld scanner. The barcode recognition module may use the imaging system to capture barcode images from medication containers during the verification process. The barcode recognition module may eliminate the need for manual barcode scanning or keyboard entry to identify prescription records. In some cases, the barcode recognition module may link prescription data to formulary and patient records.

[0226] The barcode recognition module may capture barcode data including National Drug Codes, prescription numbers, lot numbers, and other identifiers encoded in barcodes affixed to medication containers. The processor may cross-reference the barcode data captured by the barcode recognition module against the formulary database and prescription records. In some cases, the barcode recognition module may operate in conjunction with the optical character recognition module to provide multiple verification pathways for prescription identification.

[0227] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.User Interface and Verification Feedback

[0228] The medication verification system may comprise a user interface configured to display the verification result. The user interface may comprise a display screen, visual indicators, and audible alert components. The user interface may be configured to display the verification result using at least one of a visual indicator or an audible alert. The visual indicator may comprise a green indicator for a successful verification and a red indicator for a failed verification. In some cases, the visual indicator may comprise a green light and a check mark displayed on the screen for a successful verification. In some cases, the visual indicator may comprise a red light and an X mark displayed on the screen for a failed verification. The user interface may display analysis data on the screen along with the visual indicators to provide verification details to pharmacy personnel.

[0229] The user interface may be configured to emit audible alerts in conjunction with the visual indicators. The audible alerts may comprise positive audio cues for confirmed matches and error warnings for discrepancies. In some cases, the user interface may emit a positive sound for a successful verification and a negative sound for a failed verification. The combination of visual indicators and audible alerts may provide pass or fail results to pharmacy personnel during the verification process.

[0230] In some cases, the user interface may be positioned on a large flat screen above the scanning platform. The display screen may present verification results, analysis data, and prompts to pharmacy personnel during the verification workflow. In some cases, the user interface may include voice interaction capabilities in addition to visual and audible feedback.

[0231] The medication verification system may comprise a sticker seal applicator configured to apply a tamper-resistant serialized holographic sticker seal to the medication container upon successful verification. The sticker seal applicator may print and apply the sticker seal upon generation of a successful verification result. The sticker seal may comprise a serialized code linked to a corresponding transaction record in the audit trail module. The serialized code may enable traceability between the physical medication container and the verification data stored in the audit trail.

[0232] The sticker seal may be tamper-resistant and holographic. The sticker seal may be designed to prevent removal, reuse, or unauthorized tampering. In some cases, the sticker seal adhesive may be designed to damage or lift the prescription label or packaging if forcibly removed, serving as a visual warning to a patient or caregiver not to accept or consume the medication. In some cases, the medication label and pharmacy instructions may include a warning advising patients not to take the medication if the serialized sticker seal is missing, broken, or altered.

[0233] In manual workflows where a user passes through item verification, the sticker seal may be provided to a technician to place on the medication container. In automated workflows such as conveyor-based systems or automated dispensing system integrations, the sticker seal applicator may autonomously apply the sticker seal to the packaging using a mechanical applicator. The application event, including timestamp and placement confirmation, may be logged in the audit trail module.

[0234] In some cases, a high-resolution image of the final dispensed medication with the applied sticker seal may be captured and archived in the audit trail module for regulatory and investigative purposes. The sticker seal applicator may be configured to withhold sticker seal application when a verification failure occurs. When a mismatch is found, the sticker seal applicator may not print or apply a sticker seal, and the user interface may emit a red indicator and error sound.

[0235] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Pill Counting and Blister Card Verification

[0236] The processor may be configured to count individual pills within a blister card using the captured images. The imaging system may capture high-resolution images of blister cards placed on the scanning platform, and the processor may analyze the captured images to identify and count individual pills within each cavity of the blister card. The processor may verify the pill count against a prescribed quantity stored in the formulary database or retrieved from prescription data. The pill counting functionality may support blister cards containing multiple medications per cavity. In some cases, multi-dose blister packs may contain more than one medication placed in a single cavity, and the processor may be configured to identify and count each medication within such cavities. The processor may analyze pill geometry, color, and imprint data to distinguish between different medications within a single cavity and to confirm that the correct medications are present in the correct quantities.

[0237] The medication verification system may comprise a blister card stacker configured to feed blister cards one at a time onto the scanning platform for automated verification. The blister card stacker may comprise a vertical or inclined stacker, also referred to as an open-top magazine, configured to hold multiple blister cards. The blister card stacker may function as a loading chamber that feeds blister cards sequentially onto the scanning platform. In some cases, the blister card stacker may use funnel gravity feed, mechanical grippers, pushers, or rollers to advance each blister card across the scanning platform. The blister card stacker may enable continuous, high-throughput verification of stacked blister cards with reduced human interaction.

[0238] In some cases, the blister card stacker may be loaded by pharmacy technicians or by automated dispensing machines that prepare stacks of blister cards containing pre-packaged prescription medications. The blister cards may be loaded into the blister card stacker, and the blister card stacker may advance each blister card one at a time onto the scanning platform where the imaging system captures images for verification. The processor may perform visual analysis of each blister card, including pill counting, cavity alignment verification, and imprint classification. The optical character recognition module may extract label data from each blister card, including patient name, prescription number, National Drug Code, lot number, expiration date, and auxiliary labels.

[0239] Upon successful verification, the verified blister card may be advanced mechanically into a receiving stacker, cart, bin, or staging tray. In some cases, pharmacy staff may transfer sealed, verified blister cards to toting stations, delivery carts, or shipping departments for outbound distribution. The sticker seal applicator may apply a serialized holographic sticker seal to the blister card upon successful verification, and a high-resolution image of the sealed blister card may be captured and stored in the audit trail module.

[0240] When a discrepancy is detected during blister card verification, such as incorrect pill placement, label mismatch, or unreadable imprint, the system may halt the blister card at the verification platform. In some cases, the system may divert the blister card to a troubleshooting lane or prompt an alert for human intervention. The error condition may be recorded in the audit trail module with supporting images and data, and the workflow may not continue until the issue is resolved and the blister card is reprocessed.

[0241] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Behavioral Monitoring Module

[0242] The medication verification system may comprise a behavioral monitoring module comprising an overhead camera and an artificial intelligence model. The behavioral monitoring module may be configured to monitor technician behavior during the verification process. The overhead camera may capture continuous video footage of a technician throughout the medication verification workflow. The artificial intelligence model may analyze the captured video footage to assess technician conduct and identify deviations from expected verification procedures.

[0243] The artificial intelligence model may be configured to detect indicators of inattentiveness, distraction, or procedural deviation. The artificial intelligence model may be trained to recognize behavioral patterns associated with procedural adherence and to identify deviations from expected verification sequences. In some cases, the artificial intelligence model may detect indicators such as repeated glances away from a screen, side conversations, rapid scanning, or abnormal movement patterns. The artificial intelligence model may compare observed technician behavior against expected behavioral patterns and identify deviations that exceed predefined thresholds.

[0244] The behavioral monitoring module may be configured to generate an alert to a supervising pharmacist upon detection of the indicators. The alert may include a technician identifier, a timestamp, behavioral footage, and a system-generated anomaly summary describing the detected behavior. In some cases, alerts may be sent via secure email, text message, or system alert. In some cases, alerts may be routed using a tiered escalation engine that prioritizes intervention by pharmacist availability and alert criticality. The tiered escalation approach may ensure continuous oversight during high-volume or after-hours operations when direct supervision may be limited.

[0245] The artificial intelligence model may be configured to analyze at least one of gaze patterns, hand movements, or workflow consistency of the technician. The artificial intelligence model may evaluate gaze direction to determine whether the technician is focused on the verification task. The artificial intelligence model may analyze hand movements to assess whether the technician is following expected handling procedures. The artificial intelligence model may evaluate workflow consistency to determine whether the technician is adhering to the expected verification sequence. In some cases, the artificial intelligence model may use facial or eye-tracking to monitor technician attention and determine workflow adherence. In some cases, the artificial intelligence model may evaluate posture and ambient context as part of the workflow adherence logic.

[0246] The processor may be configured to halt the verification process upon detection of the indicators. When the artificial intelligence model detects behavioral deviations that exceed acceptable thresholds, the processor may halt the verification process to prevent progression until the issue is addressed. In some cases, the processor may issue a soft pause prompting the technician to confirm readiness before resuming verification. The soft pause may display on-screen prompts requesting the technician to acknowledge readiness before the verification process continues.

[0247] The processor may be configured to log behavioral data in the audit trail module. The audit trail module may store continuous video footage, detected behavioral deviations, alert notifications, pharmacist responses, and associated timestamps. The behavioral data and alert outcomes may be retained for compliance documentation, post-event review, and training analysis. In some cases, the audit trail module may store records of all behavioral monitoring events to provide a complete record of technician conduct during verification workflows.

[0248] In some cases, the behavioral monitoring module may detect environmental risk factors comprising at least one of excessive ambient noise, staff crowding, or low lighting conditions. The artificial intelligence model may analyze ambient context captured by the overhead camera or other sensors to identify environmental conditions that correlate with elevated risk of verification errors. When environmental risk factors are detected, the processor may issue a soft pause and prompt the technician to confirm readiness before verification resumes.

[0249] In some cases, the behavioral monitoring module may detect high-probability dispense errors, such as pill mismatches, count anomalies, or label inconsistencies, and automatically escalate these as alerts. The combination of behavioral monitoring and dispense verification logic may act as a fail-safe to uphold accuracy and prevent errors.

[0250] In some cases, alerts may be sent to assigned users with a real-time link that provides access to video logs, technician identifiers, and dispense data, allowing immediate review of potential discrepancies. Pharmacists may access detailed incident footage through a system portal or remotely log into the system for direct review. The behavioral monitoring functionality may support proactive intervention, off-site verification, and compliance documentation.

[0251] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Audit Trail Module and Data Integrity

[0252] The medication verification system may comprise an audit trail module configured to store verification data for each verification transaction. The audit trail module may be configured to store at least one of high-resolution images, video footage, weight data, spectral analysis data, or serialized sticker seal identifiers for each verification transaction. The high-resolution images may include images of dispensed medications, packaging, and patient labels captured during the verification process. The video footage may include surveillance video captured by an overhead camera mounted above the verification platform. The weight data may include total weight measurements, net medication weights, tare weights, and weight validation results. The spectral analysis data may include spectral fingerprints generated by Raman spectroscopy, near-infrared spectroscopy, or mid-infrared spectroscopy modules. The serialized sticker seal identifiers may include serialized codes from tamper-resistant holographic sticker seals applied to medication containers upon successful verification.

[0253] The audit trail module may utilize at least one of cryptographic signatures or blockchain-backed timestamps to ensure data integrity. Cryptographic signatures may provide non-repudiation for verification records by digitally signing each transaction record with a cryptographic key. Blockchain-backed timestamps may provide tamper-evident storage by recording verification events on a distributed ledger that prevents retroactive modification of records. In some cases, the audit trail module may utilize immutable log storage methods in addition to or in place of cryptographic signatures or blockchain-backed timestamps. The data integrity mechanisms may support liability protection and regulatory review by providing verifiable records of verification events.

[0254] The audit trail module may store verification records in a tamper-evident format. Each verification record may include a timestamp indicating when the verification event occurred. Each verification record may include a user identifier indicating the technician who performed the verification. Each verification record may include the verification result indicating whether the medication passed or failed verification. In some cases, the audit trail module may store the full transaction history for each medication container, including records from picking, packing, and final review stages.

[0255] The audit trail module may log attributes from smart packaging. Smart packaging attributes may include pill blister configuration, external packaging shape, printed expiration dates, and lot numbers. The smart packaging attributes may be extracted using optical imaging or spectral imaging. In some cases, the imaging system may capture images of smart packaging, and the processor may use optical character recognition or visual recognition to extract the smart packaging attributes from the captured images. In some cases, a spectral analysis module may extract smart packaging attributes through spectral imaging techniques.

[0256] The extracted smart packaging attributes may be cross-referenced with a formulary database or a regulatory database. The processor may compare the extracted expiration dates and lot numbers against expected values stored in the formulary database. The processor may compare the extracted blister configuration and packaging shape against expected packaging characteristics associated with the medication identifier. Discrepancies between the extracted smart packaging attributes and the expected values may trigger alerts or halt the verification process.

[0257] The audit trail module may store time-stamped smart packaging attribute records. The time-stamped records may support downstream recall tracking by enabling identification of medication containers associated with specific lot numbers. The time-stamped records may support compliance documentation by providing verifiable records of packaging attribute verification. The time-stamped records may support quality assurance by enabling analysis of packaging attribute trends and anomalies over time.

[0258] The audit trail module may be stored locally, on a customer-designated server, or on cloud-based infrastructure. In some cases, the audit trail module may store verification records on a local storage device within the medication verification system. In some cases, the audit trail module may transmit verification records to a customer-designated internal server for centralized storage. In some cases, the audit trail module may transmit verification records to a cloud-based storage platform. The storage configuration may be selected based on institutional policy, regulatory requirements, or infrastructure availability.

[0259] Credentialed pharmacy personnel may access the audit trail module to review verification events. In some cases, the audit trail module may provide a secure portal for remote access to verification records. The secure portal may enable playback of video footage, review of captured images, and examination of verification results. The remote access capability may support internal investigations, such as investigations of narcotics diversion or technician error. The remote access capability may support external audits by providing authorized auditors with access to verification records.

[0260] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Conveyor System Integration

[0261] The medication verification system may comprise a conveyor system integration module configured to receive medication containers from an automated dispensing system. The conveyor system integration module may be configured to route verified medication containers to a downstream processing station. The conveyor system integration module may be configured to divert failed medication containers to a troubleshooting lane. The conveyor system integration module may enable fully automated final verification of dispensed medications without human intervention in high-throughput industrial, manufacturing, distribution, or mail-order pharmacy environments.

[0262] As medications move along a conveyor line, the medication containers may pass through a multi-angle three-dimensional optical imaging zone. In some cases, the medication verification system may include a verification chamber with overhead cameras, side-mounted cameras, and optical three-dimensional cameras configured to capture high-resolution imagery of pill bottles, blister cards, or prescription packaging. The overhead cameras may capture images of the medication container from an overhead perspective. The side-mounted cameras may capture angled views of dispensed medications. The optical three-dimensional cameras may capture depth data of the medication using at least one of stereo vision, LIDAR, or structured light sensors. The cameras may be configured to identify pill geometry, label information including National Drug Code and prescription number, and other label and packaging attributes.

[0263] The medication verification system may comprise integrated LED lighting arrays configured to provide visibility during image capture. The integrated LED lighting arrays may eliminate shadows or reflections that could interfere with classification. The integrated LED lighting arrays may support object isolation and provide consistent illumination across the verification zone.

[0264] The captured visual data may be processed in real time by an artificial intelligence inference engine housed within a processing module. The processing module may include a GPU-accelerated edge processor and a cloud-connected or server-connected audit trail logging subsystem. The processor may perform a full classification match against a formulary database and determine a pass or fail status based on pill shape, color, imprint, label accuracy, and other verification parameters.

[0265] Following successful verification, the conveyor system integration module may direct the medication container to a sticker seal applicator, which may autonomously apply a serialized holographic verification sticker to the packaging. A high-resolution image of the sealed package may be captured and stored in the audit trail module to complete the documentation record. When verification fails, such as due to pill mismatch, label error, or image occlusion, the conveyor system integration module may activate a mechanical diverter that routes the medication container to a troubleshooting lane or troubleshooting bin. Diverted medication containers may be manually corrected and then reintroduced to the conveyor line for re-verification. The audit trail module may maintain full traceability for both the original failed event and any subsequent re-verification cycle.

[0266] The medication verification system may comprise a weight check station positioned along the conveyor system. The weight check station may be deployed anywhere along the conveyor line to verify prescription weight and ensure accurate fill quantities. The measured weight may be automatically matched to expected product values and logged in the audit trail module. In some cases, the weight check station may operate independently of a main imaging module. In some cases, the weight check station may operate in coordination with the main imaging module. The weight validation process may be conducted at a separate location within a pharmacy or distribution facility and may not require physical attachment to an optical camera array. The visual verification system and the weight validation system may operate independently or in coordination, with communication between modules facilitated through local or networked connections.

[0267] The medication verification system may comprise a robotic component configured to at least one of seal, sort, or route medication containers based on the verification result. In high-throughput or automated environments, the medication verification system may interface with robotic arms, blister stackers, diverters, or automated sorting bins. The robotic component may seal verified medication containers by applying tamper-resistant serialized sticker seals. The robotic component may sort medication containers based on verification outcomes, directing verified medication containers to downstream processing stations and failed medication containers to troubleshooting lanes. The robotic component may route medication containers through conveyor lanes with pass or fail decisions. In some cases, verified medications may be sealed and routed with no manual intervention. In some cases, rejected medications may be diverted to a troubleshooting path for human intervention and reprocessing.

[0268] In some cases, the conveyor system integration module may include visual indicators or sorting bins for manual review of failed medication containers. In some cases, the conveyor system integration module may include an audit trail camera mounted above the verification area configured to capture continuous footage of the conveyor process. The continuous footage may be stored in the audit trail module for compliance documentation and post-event analysis.

[0269] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Imaging System Performance and Throughput

[0270] The imaging system may be configured to perform visual classification at a rate of at least three medication units per second. The visual classification rate may enable the medication verification system to process medication containers at speeds suitable for pharmacy dispensing workflows. The imaging system may capture multi-angle images of medication containers and transmit the captured images to a processor for analysis using a machine learning model. The processor may perform classification matching against a formulary database and generate a verification result for each medication unit. The rate of at least three medication units per second may support tabletop verification workflows, manual verification stations, and moderate-volume pharmacy environments.

[0271] In some cases, the imaging system may be configured to perform visual classification at a rate of up to twenty frames per second in high-throughput environments. High-throughput environments may include conveyor-based workflows, batch scanning setups, blister card stackers, mail-order pharmacy operations, and distribution center configurations. In high-throughput environments, the imaging system may employ overhead camera configurations, vertical camera configurations, or combinations thereof. Image timing and part separation may be primary constraints in high-throughput environments, and the frame rate of up to twenty frames per second may enable accurate classification at high speeds without creating verification bottlenecks.

[0272] The imaging and classification rate may be scalable based on camera frame rate, processing hardware, and multi-lane system design. In some cases, the medication verification system may include GPU-accelerated edge processors configured to perform real-time image analysis at high frame rates. In some cases, the medication verification system may include multiple imaging lanes operating in parallel to increase aggregate throughput. The processor may perform classification matching against the formulary database in real time as medication containers pass through the verification zone.

[0273] In some cases, the imaging system may operate at throughput rates of five to ten verifications per second depending on lane configuration and conveyor speed. The throughput rate may be adjusted based on the complexity of the medication containers being verified, the number of cameras in the imaging system, and the processing capacity of the processor. Integrated LED lighting arrays may support object isolation and provide consistent illumination to enable high-speed image capture without shadows or reflections that could interfere with classification.

[0274] In some cases, the imaging system may capture images of medication containers as the medication containers move along a conveyor line. The captured visual data may be processed in real time by an artificial intelligence inference engine. The processor may determine a pass or fail status based on pill shape, color, imprint, label accuracy, and other verification parameters. The verification result may be generated and logged in the audit trail module before the medication container exits the verification zone.

[0275] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Interactive Guidance Interface

[0276] The medication verification system may comprise an interactive guidance interface configured to assist a technician with imaging of medication containers. The interactive guidance interface may be configured to analyze real-time camera input to detect at least one of reflective glare, obstructions, or incomplete image angles. The interactive guidance interface may be configured to provide on-screen prompts instructing a user to rotate, tilt, or reposition the medication container. The on-screen prompts may guide the user to capture all visible surfaces and internal contents of the medication container from multiple angles.

[0277] The interactive guidance interface may analyze real-time camera input during the verification process to assess image quality and coverage. The interactive guidance interface may detect reflective glare that interferes with image capture or classification. Reflective glare may occur on transparent or semi-transparent containers, glossy labels, or metallic packaging surfaces. The interactive guidance interface may detect obstructions that block portions of the medication container from view. Obstructions may include technician hands, adjacent objects, or packaging elements that occlude relevant surfaces. The interactive guidance interface may detect incomplete image angles when the imaging system has not captured sufficient views of the medication container for verification. Incomplete image angles may occur when portions of the medication container, prescription label, or internal contents remain outside the field of view of the imaging system.

[0278] Upon detection of reflective glare, obstructions, or incomplete image angles, the interactive guidance interface may provide on-screen prompts instructing the user to rotate, tilt, or reposition the medication container. The on-screen prompts may instruct the user to slowly rotate the medication container in a specified direction. The on-screen prompts may instruct the user to tilt the medication container to reduce reflective glare or to bring obscured surfaces into view. The on-screen prompts may instruct the user to reposition the medication container on the scanning platform to improve image coverage. The interactive guidance interface may provide dynamic feedback based on real-time analysis of camera input, updating the on-screen prompts as the user adjusts the position of the medication container.

[0279] The interactive guidance interface may be used for cylindrical containers such as pill bottles, vials, or ampules. The interactive guidance interface may prompt the technician to rotate the medication container in specific directions based on real-time camera analysis. The feedback provided by the interactive guidance interface may ensure that all visible surfaces and internal pills are imaged from multiple angles. The interactive guidance interface may continue to provide prompts until sufficient data is captured for verification. In some cases, the interactive guidance interface may be modeled after biometric systems such as mobile facial recognition enrollment, which guide users to achieve full three-dimensional mapping through rotation and camera cues.

[0280] The processor may be configured to estimate internal pill geometry based on a known diameter of a container opening and observed distortion patterns. When internal images of pills within a container are captured, the processor may use the known diameter of the container opening as a reference measurement for size calibration. The processor may analyze observed distortion patterns to estimate the geometry of pills located inside the container. In some cases, the processor may analyze pill spacing and internal shadowing in addition to distortion patterns to estimate internal pill geometry. The estimation of internal pill geometry may enable the processor to perform geometry-based classification using the known diameter of the container and internal visual features. The geometry-based classification may support accurate pill count and identification through transparent or semi-transparent packaging without opening the container.

[0281] In some cases, the interactive guidance interface may support verification of medications in manufacturer packaging, blister cards, inhalers, ampules, injectables, and translucent vials. The interactive guidance interface may guide the user to capture multi-angle images of the medication container to enable full three-dimensional reconstruction of the interior of transparent or semi-transparent containers and the exterior surfaces of medications. The guided multi-angle capture may support count, shape, and imprint classification without opening the container.

[0282] In some cases, the interactive guidance interface may be used in workflows involving pill containers, vials, ampules, medications in manufacturer packaging, or transparent containers where label-based checks may be insufficient. The interactive guidance interface may ensure a complete three-dimensional view of both external and internal features of the medication container, allowing for accurate verification of pill geometry, count, and imprint.

[0283] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Transparent Container Imaging and Container Rotation

[0284] The imaging system may be configured to reconstruct pill geometry inside transparent or semi-transparent containers and support count, shape, and imprint classification without opening the container. Transparent containers may include clear pill bottles, translucent vials, and other packaging formats that permit visual observation of medications contained therein. Semi-transparent containers may include frosted bottles, tinted vials, and packaging with partial opacity that permits limited visual observation of internal contents. The imaging system may capture multi-angle images of transparent or semi-transparent containers and analyze the captured images to identify medications located inside the containers.

[0285] The imaging system may use three-dimensional optical imaging techniques to reconstruct pill geometry inside transparent or semi-transparent containers. In some cases, the imaging system may use stereo vision, LIDAR, or structured light sensors to capture depth data of medications visible through transparent or semi-transparent container walls. The processor may analyze the captured depth data to generate three-dimensional reconstructions of pill geometry, including pill shape, size, and surface features. The three-dimensional reconstructions may be compared against a formulary database containing three-dimensional representations of medications to perform classification matching.

[0286] The imaging system may support count classification without opening the container. The processor may analyze captured images to identify and count individual pills visible through transparent or semi-transparent container walls. The pill count may be compared against a prescribed quantity stored in the formulary database or retrieved from prescription data. In some cases, the processor may use depth data to distinguish between pills located at different depths within the container, enabling accurate counting of overlapping or stacked pills.

[0287] The imaging system may support shape classification without opening the container. The processor may analyze captured images to identify pill shapes visible through transparent or semi-transparent container walls. Pill shapes may include round, oval, oblong, capsule, and other geometric configurations. The identified pill shapes may be compared against expected shapes stored in the formulary database to verify that the correct medication is present in the container.

[0288] The imaging system may support imprint classification without opening the container. The processor may analyze captured images to identify imprints, markings, or symbols visible on pill surfaces through transparent or semi-transparent container walls. In some cases, the processor may use three-dimensional depth data to enhance imprint visibility by analyzing surface relief patterns on pill faces. The identified imprints may be compared against expected imprints stored in the formulary database to verify medication identity.

[0289] In some cases, the processor may analyze observed distortion patterns to estimate internal pill geometry. When images of pills are captured through curved container walls, optical distortion may occur due to refraction at the container surface. The processor may use a known diameter of a container opening as a reference measurement for size calibration. The processor may compensate for observed distortion patterns to estimate accurate pill dimensions and geometry. In some cases, the processor may analyze pill spacing and internal shadowing in addition to distortion patterns to improve geometry estimation accuracy.

[0290] The medication verification system may comprise an autonomous container rotation mechanism configured to incrementally adjust an orientation of the medication container during image capture. The autonomous container rotation mechanism may enable multi-angle image capture without manual handling by a technician. In some cases, the autonomous container rotation mechanism may comprise a turntable configured to rotate the medication container about a vertical axis. The turntable may incrementally rotate the medication container through a series of angular positions during image capture, enabling the imaging system to capture images from multiple perspectives around the circumference of the medication container.

[0291] In some cases, the autonomous container rotation mechanism may comprise rotating rollers configured to rotate cylindrical medication containers such as pill bottles, vials, or ampules. The rotating rollers may contact the exterior surface of the medication container and rotate the medication container about a longitudinal axis. The rotating rollers may incrementally adjust the orientation of the medication container during image capture to expose different portions of the container surface and internal contents to the imaging system.

[0292] In some cases, the autonomous container rotation mechanism may comprise a robotic arm or gripper configured to grasp and reposition the medication container during image capture. The robotic arm or gripper may rotate the medication container about one or more axes to enable multi-angle image capture. The robotic arm or gripper may incrementally adjust the orientation of the medication container based on feedback from the imaging system to ensure that all relevant surfaces and internal contents are captured.

[0293] The autonomous container rotation mechanism may be used in fulfillment, mail-order, or conveyor-based workflows where manual handling is unavailable or impractical. In high-throughput environments, the autonomous container rotation mechanism may enable hands-free multi-angle image capture without requiring technician intervention. The autonomous container rotation mechanism may operate in coordination with the imaging system to capture images at predetermined angular intervals as the medication container rotates.

[0294] In some cases, the autonomous container rotation mechanism may operate in conjunction with the interactive guidance interface described above. The interactive guidance interface may analyze real-time camera input to determine when additional rotation is required to capture complete image coverage. The autonomous container rotation mechanism may receive rotation commands from the processor based on analysis performed by the interactive guidance interface. The autonomous container rotation mechanism may continue to incrementally adjust the orientation of the medication container until the imaging system has captured sufficient views for verification.

[0295] The combination of transparent container imaging and autonomous container rotation may enable full three-dimensional reconstruction of the interior of transparent or semi-transparent containers and the exterior surfaces of medications. The multi-angle image capture enabled by the autonomous container rotation mechanism may support count, shape, and imprint classification for medications visible through transparent or semi-transparent container walls. In some cases, the captured images and three-dimensional reconstructions may be stored in the audit trail module for compliance documentation and post-event analysis.

[0296] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Machine Learning Model Features

[0297] The machine learning model may be configured to detect anomalies or defects in at least one of pill shape, imprint, or packaging. In addition to deterministic pill classification, the machine learning model may support anomaly detection to identify defective packaging, nonconforming pill geometry, or imprint irregularities. The anomaly detection functionality may extend beyond fixed-class pattern matching to identify medications or packaging that deviate from expected characteristics stored in the formulary database. The machine learning model may flag detected anomalies or defects for manual review by pharmacy personnel. In some cases, the machine learning model may detect damaged packaging, missing imprints, chipped pills, discolored medications, or other visual indicators of quality issues.

[0298] The medication verification system may be used for ensuring medication formulation accuracy at medication manufacturers or pharmaceutical companies. In such configurations, the machine learning model may analyze captured images to verify that manufactured medications conform to expected specifications for shape, imprint, color, and packaging. The anomaly detection functionality may identify manufacturing defects, labeling errors, or packaging inconsistencies during quality control processes.

[0299] In some cases, the medication verification system may detect counterfeit or mislabeled drugs through spectral analysis matching against a known drug spectral library. A spectral analysis module may generate compound-specific spectral fingerprints using at least one of Raman spectroscopy, near-infrared spectroscopy, or mid-infrared spectroscopy. The spectral fingerprints may be matched against a known drug spectral library to verify chemical identity. The spectral analysis may detect counterfeit medications that visually resemble authentic medications but contain different chemical compositions. The spectral analysis may also detect mislabeled drugs where the chemical composition does not match the labeled medication identity.

[0300] In some cases, the medication verification system may confirm concentration ranges of medications through spectral analysis in addition to chemical identity verification. The spectral analysis module may compare observed spectral signatures against reference spectra associated with expected concentration levels. The concentration verification may detect medications that contain the correct active ingredient but at incorrect concentration levels.

[0301] The medication verification system may support automatic retrieval of expected spectral profiles based on medication SKU or lot number through integration with a National Drug Code-linked formulary. The processor may query the formulary database using the medication SKU or lot number extracted from the medication container to retrieve corresponding reference spectral profiles. The automatic retrieval may enable dynamic spectral matching without manual configuration of expected spectral parameters for each medication type.

[0302] The processor may be configured to receive machine learning model updates from a centralized cloud platform. In some cases, artificial intelligence verification models may be trained, updated, and deployed via the centralized cloud platform, with improvements pushed to local systems in real time or on demand. Pharmacies may opt into a cloud-based training program that allows verified images to be used to reinforce machine learning models. The cloud-based training process may enhance classification accuracy over time and enable the medication verification system to adapt to changes in formulary data, lighting environments, and packaging types across different pharmacy locations. Machine learning model updates may be managed under a Predetermined Change Control Plan permitting predefined model refinements without additional regulatory submission, and all model changes may be logged in the audit trail module for compliance verification.

[0303] The medication verification system may comprise a local inference engine configured to perform verification operations during cloud service interruptions. When network communication is disconnected or intermittent, the medication verification system may operate in low-connectivity environments by using edge-based artificial intelligence models for on-device decision-making, with deferred audit log syncing upon reconnection. When cloud connectivity is interrupted, the medication verification system may continue all core verification tasks through the local inference engine, syncing data and retraining updates upon network restoration.

[0304] The local inference engine may comprise a fallback inference engine hosted on local hardware that preserves pharmacist-substitution logic and audit trail continuity in offline or degraded connectivity scenarios. The fallback inference engine may activate automatically during network failure or degraded connectivity. The local inference engine may be configured to perform real-time medication classification via preloaded artificial intelligence models. The local inference engine may maintain continuous audit trail logging during cloud service interruptions to preserve verification records. In some cases, the local inference engine may comprise a GPU-accelerated edge processor configured to perform artificial intelligence inference locally.

[0305] In some cases, machine learning models may be locally accelerated using GPU-based edge processors or executed in the cloud, depending on deployment configuration. The medication verification system may support hybrid configurations where artificial intelligence inference and decision-making occur either in the cloud or on local hardware based on connectivity status and processing requirements. In standard operation, artificial intelligence models hosted remotely may perform high-fidelity classification, anomaly detection, and pharmacist-substitution logic based on visual, spectral, or weight-based inputs. In scenarios of degraded connectivity or complete network failure, the local inference engine may activate automatically and preserve all verification functionality.

[0306] In some cases, machine learning models may employ multimodal fusion strategies, integrating both image-based features and spectral fingerprint data. The multimodal fusion approach may enable enhanced compound verification and anomaly detection by cross-validating independent data streams. The multimodal inference may improve classification robustness and strengthen the medication verification system against counterfeit, mis-formulated, or degraded expired medications. The medication verification system may generate composite confidence scores to support pharmacist substitution decisions when combining visual, spectral, and weight data.

[0307] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.External System Integration

[0308] The processor may be configured to interface with at least one of a pharmacy dispensing system, an electronic health record system, or an inventory database. The medication verification system may interoperate with third-party pharmacy management systems, electronic health record systems, regulatory databases, and inventory tracking platforms. These connections may enable real-time access to prescription data, formulary validation, refill history, and compliance reporting. The medication verification system may perform automated anomaly detection when cross-referencing verification data with data retrieved from external systems.

[0309] Interoperability may occur via secure application programming interface connections, file exchange, or embedded modules. In some cases, the medication verification system may support bidirectional data flow to enable both inbound verification inputs and outbound compliance reporting. The processor may query external systems to retrieve prescription data, patient information, formulary records, and inventory levels during the verification process. The processor may transmit verification results, audit trail data, and compliance records to external systems upon completion of verification transactions.

[0310] The processor may be configured to auto-complete verification entries in a pharmacy dispensing system upon successful verification. Upon generation of a successful verification result, the processor may transmit verification data to the pharmacy dispensing system to complete final review transactions. The auto-completion functionality may eliminate duplicative data entry and reduce human error by automatically populating verification fields in the pharmacy dispensing system. In some cases, optical character recognition results may be used to auto-complete verification entries in the pharmacy dispensing system. The auto-completion may include transmission of verification timestamps, technician identifiers, medication identifiers, and verification outcomes to the pharmacy dispensing system.

[0311] In some cases, the medication verification system may be configured for integration with automated dispensing machines. In configurations where the medication verification system is embedded inside an automated dispensing machine, multi-angle three-dimensional optical imaging modules may replicate technician-guided visual verification processes without human input. The embedded imaging modules may capture geometry, imprint, count, and label information of packaged medications as the medications are prepared for dispensing. Integration may occur via a direct hardware interface or through secure application programming interface connections that synchronize medication data between the host dispensing machine and the verification engine.

[0312] In some cases, the medication verification system may be deployed externally adjacent to an automated dispensing unit. In external deployment configurations, blister cards or packaged medications may be ejected from the automated dispensing machine and immediately transferred onto a conveyance lane that routes the medications through the verification platform. External deployment may allow the medication verification system to be added as a modular upgrade to existing automated dispensing systems, enabling rapid adoption without requiring changes to core dispensing hardware.

[0313] In some cases, the medication verification system may incorporate upstream modules that assist in dispensing, pill counting, and label scanning prior to final verification. A pill counting module may be integrated as a pre-verification step to enable pharmacy staff to rapidly count medication quantities while simultaneously capturing visual and weight data for logging. A front-end optical character recognition-enabled label scanning system may be included to assist in aligning prescription label data with formulary records. Label imaging may be configured as a secondary check or parallel data stream to the primary optical character recognition logic, improving error detection where prescription and bottle label mismatches occur.

[0314] In semi-automated configurations, excess tablets may be routed into a return chute to a stock bottle while a correct pill count is delivered into a prescription container. The medication verification system may provide user guidance for scraping and directing excess pills back into a manufacturer bottle during the dispensing process. The medication verification system may direct counted medication into a prescription container while capturing high-resolution imaging of a label as a secondary optical character recognition input. The verification and serialized sticker seal application may follow the pill counting and routing operations.

[0315] The medication verification system may support modular hand-off designs where the medication verification system serves as a final verification gatekeeper regardless of upstream counting, bottling, or sorting systems. Pre-verification modules such as pill counters or automated bottlers may interface with the medication verification system. The medication verification system may enforce gating logic such that no medication may be dispensed or sealed without successful artificial intelligence-based visual, weight, and label verification. The audit trail module may capture high-resolution images, timestamps, and video from upstream subprocesses to ensure traceability and regulatory compliance.

[0316] In some cases, the medication verification system may store verification data internally or export verification data to a pharmacy's existing dispensing software system or server. Depending on pharmacy preference, the medication verification system software and inventory management system may operate as a standalone system or may be fully integrated into an existing pharmacy dispensing management system. The audit trail module may be utilized to manage narcotic schedule I through schedule V daily, weekly, and monthly audits.

[0317] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Sterile Compounding Verification System

[0318] A medication verification system for sterile compounding environments may comprise an imaging system, a processor, a behavioral monitoring module, and an audit trail module. The medication verification system for sterile compounding environments may be configured for use in hazardous drug areas and sterile compounding environments, such as cleanrooms and laminar airflow hoods where intravenous or ophthalmic medications are prepared. In such configurations, the medication verification system may serve as a compounding verification workstation.

[0319] The imaging system may be configured to capture images of medication vials or ampules. The imaging system may capture high-resolution images of medication vials, ampules, or syringes prior to preparation. The imaging system may capture images of medication containers used in sterile compounding workflows to enable visual verification of drug components before compounding proceeds.

[0320] The processor may be configured to identify a medication and concentration from the captured images using an artificial intelligence model. The artificial intelligence model may use image recognition, National Drug Code identification, and other medication identification methods to confirm that the correct medication and concentration were selected for the compound. The processor may cross-reference observed visual features against a formulary database containing medication identifiers, visual characteristics, and concentration data.

[0321] The processor may be configured to compare the identified medication against prescription data. The processor may compare the identified medication and concentration against prescription data retrieved from a pharmacy dispensing system or electronic health record. The comparison may confirm that the medication vial or ampule matches the medication assigned to the compounding order.

[0322] The processor may be configured to generate a verification result. The verification result may indicate a pass status, a fail status, or an intermediate status requiring further review. The verification result may be displayed via visual indicators, audible alerts, or user interface elements.

[0323] The medication verification system for sterile compounding environments may comprise a behavioral monitoring module configured to monitor technician aseptic behavior and detect violations of sterile compounding protocols. The behavioral monitoring module may comprise one or more overhead cameras and an artificial intelligence model trained on aseptic best practices. The behavioral monitoring module may observe technician conduct during the compounding process and evaluate whether the technician is following expected sterile compounding procedures.

[0324] The behavioral monitoring module may be configured to detect at least one of improper personal protective equipment use, reach-over violations, or sanitization violations. The behavioral monitoring module may detect violations such as improper glove, gown, or personal protective equipment use. The behavioral monitoring module may detect reach-over violations where a technician reaches over sterile surfaces or materials in a manner that compromises sterility. The behavioral monitoring module may detect ungloved contact or sanitization violations where a technician fails to follow sanitization protocols. The artificial intelligence model may analyze technician behavior and identify deviations from expected aseptic practices.

[0325] The processor may be configured to notify a supervising pharmacist via at least one of secure email, text message, or system alert upon detection of a protocol violation. When the artificial intelligence model detects a protocol violation, the processor may transmit a notification to a supervising pharmacist. The notification may include a summary of the detected behavior, a timestamp, and a technician identifier. In some cases, when a protocol violation or exception is detected, the processor may halt the workflow and escalate the incident to a remote supervising pharmacist. A real-time link may provide access to a video log, technician identifier, and system alerts, allowing the pharmacist to approve or intervene without being physically present. Pharmacists may access detailed incident footage through a system portal or remotely log into the medication verification system for direct review.

[0326] The medication verification system for sterile compounding environments may comprise an audit trail module configured to generate time-stamped records of each step in a compounding workflow. The audit trail module may generate time-stamped photo and video records of each step in the compounding workflow. The time-stamped records may include verification of technician identifier, medication ingredients, volume dispensed, lot number, preparation steps, high-definition images of medications, and serialized sticker seal identifiers. The time-stamped records may be used to satisfy USP 797 and USP 800 audit requirements and internal quality control.

[0327] In some cases, the medication verification system for sterile compounding environments may provide a complementary safety layer using artificial intelligence-driven oversight in cleanroom and hazardous drug area workflows. In some pharmacy environments without the infrastructure or space for full gravimetric setups, the medication verification system may serve as a standalone verification workstation. The ability to visually confirm correct components before preparation, monitor aseptic behavior in real time, and create a time-stamped audit trail may provide earlier error detection before volume errors can occur.

[0328] In some cases, the medication verification system for sterile compounding environments may address risks from incorrect diluent selection, improper drug concentration, or incorrect sequencing during preparation. The medication verification system may detect such errors before preparation proceeds by visually confirming drug identity and concentration prior to withdrawal.

[0329] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Load-Assist Prompting and Spectral Analysis

[0330] The medication verification system for sterile compounding environments may comprise a load-assist prompting interface configured to guide technicians through compounding tasks. The load-assist prompting interface may be configured to scan drug containers. The load-assist prompting interface may capture images of medication vials, ampules, or syringes and extract drug name, concentration, and volume information from the captured images. The load-assist prompting interface may use optical character recognition, National Drug Code identification, and visual recognition to identify drug containers placed on a scanning platform.

[0331] The load-assist prompting interface may be configured to compare contents to prescribed formulations. The load-assist prompting interface may compare the identified drug container information against prescription data or formulation requirements retrieved from a pharmacy dispensing system or electronic health record. The comparison may confirm that the drug container matches the medication assigned to the compounding order.

[0332] The load-assist prompting interface may be configured to display prompts for correct diluent, draw volume, and sequencing. The load-assist prompting interface may display real-time user interface prompts that guide a technician through each compounding step. The prompts may indicate the correct diluent to use for reconstitution or dilution. The prompts may indicate the correct draw volume for each medication component. The prompts may indicate the correct sequencing of compounding steps to ensure proper preparation order. Each technician action and prompt confirmation may be stored with a timestamp and user identifier in an audit trail module.

[0333] In some cases, the load-assist prompting interface may analyze primary and secondary packaging for safety information including expiration dates and lot numbers in sterile or high-risk dispensing environments. The load-assist prompting interface may flag inconsistencies or potential errors in real time and halt dispensing if detected when analyzing packaging information. The load-assist prompting interface may compare extracted packaging data against prescription records and formulary data to detect mismatches or labeling errors.

[0334] The audit trail module may be configured to store records supporting compliance with USP 797 and USP 800 requirements. The audit trail module may generate time-stamped photo and video records of each step in a compounding workflow. The time-stamped records may include verification of technician identifier, medication ingredients, volume dispensed, lot number, preparation steps, high-definition images of medications, and serialized sticker seal identifiers. The audit trail module may store records of all load-assist prompting interactions, including technician responses to prompts and confirmation of each compounding step. In some cases, the audit trail module may store records supporting compliance documentation for sterile compounding protocols and hazardous drug handling procedures.

[0335] The medication verification system for sterile compounding environments may comprise a spectral analysis module configured to verify drug composition or concentration using at least one of Raman spectroscopy, near-infrared spectroscopy, or mid-infrared spectroscopy. The spectral analysis module may generate compound-specific spectral fingerprints by directing electromagnetic radiation at a medication and analyzing the returned spectral signature. The spectral fingerprints may be matched against a known drug spectral library to verify chemical identity. The spectral analysis module may confirm concentration ranges of medications in addition to chemical identity verification.

[0336] In some cases, the spectral analysis module may be configured to operate in either real-time inline mode or as a batch verification tool depending on workflow requirements. In real-time inline mode, the spectral analysis module may perform spectral scans as medications pass through a verification zone during compounding workflows. In batch verification mode, the spectral analysis module may perform spectral scans on multiple medication containers in sequence.

[0337] In some cases, the spectral analysis module may perform spectral scans before, during, or after compounding. The resulting spectral data may be matched against expected compound spectra based on prescription or formulation requirements. The spectral analysis module may compare observed spectral signatures against reference spectra associated with the identified medication and expected concentration levels.

[0338] In some cases, the spectral analysis module may support dynamic retrieval of reference spectra through integration with a National Drug Code-linked formulary. The integration may ensure compatibility with a wide range of compounds, concentrations, and lot-specific attributes. The processor may query the formulary database using a medication identifier or lot number extracted from the medication container to retrieve corresponding reference spectral profiles. The dynamic retrieval may enable spectral matching without manual configuration of expected spectral parameters for each medication type.

[0339] In some cases, the spectral analysis module may verify the chemical composition of medications without a National Drug Code by analyzing spectral signatures against a known database. The spectral analysis may improve hazardous waste classification when visual identification is insufficient. The spectral analysis module may detect counterfeit or mislabeled drugs by comparing observed spectral signatures against expected spectral profiles.

[0340] When used in combination with visual identification and weight validation, the spectral analysis module may allow the medication verification system to confirm drug identity across multiple independent modalities. The medication verification system may generate composite confidence scores to support pharmacist decisions when combining visual, spectral, and weight data. The multimodal verification approach may improve classification robustness by cross-validating independent data streams.

[0341] The medication verification system for sterile compounding environments may be configured for deployment in at least one of a cleanroom, a laminar airflow hood, or a hazardous drug area. In cleanroom deployments, the medication verification system may be positioned within a controlled environment where intravenous or ophthalmic medications are prepared. In laminar airflow hood deployments, the medication verification system may be configured for use within or adjacent to a laminar airflow hood where sterile compounding occurs. In hazardous drug area deployments, the medication verification system may be configured for use in areas where hazardous medications are handled, including chemotherapy preparation areas.

[0342] In some cases, the medication verification system may serve as a compounding verification workstation in pharmacy environments without the infrastructure or space for full gravimetric setups. The medication verification system may provide a complementary safety layer using artificial intelligence-driven oversight in cleanroom and hazardous drug area workflows. The ability to visually confirm correct components before preparation, monitor aseptic behavior in real time, and create a time-stamped audit trail may provide earlier error detection before volume errors can occur.

[0343] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Liquid Medication Verification System

[0344] A liquid medication verification system may comprise an imaging system, a weight validation platform, a user interface, and an audit trail module. The liquid medication verification system may be configured for use in workflows involving liquid medications dispensed from manufacturer-labeled containers into prescription containers such as amber bottles.

[0345] The liquid medication verification system may comprise an imaging system configured to identify a manufacturer-labeled source container. The imaging system may capture images of the manufacturer-labeled source container and extract label information including medication identity, concentration, and packaging characteristics. In some cases, the imaging system may use optical character recognition to identify the manufacturer-labeled source container based on label text and packaging attributes. The imaging system may cross-verify the identified source medication with a corresponding prescription assigned to a destination container.

[0346] The imaging system may be configured to extract National Drug Code, drug name, concentration, lot number, and expiration date from the source container using optical character recognition. The optical character recognition may detect and interpret printed data on the manufacturer-labeled source container. In some cases, the imaging system may extract additional information from the source container label, including warnings, auxiliary stickers, and substitution information. The extracted label information may be cross-validated against formulary and prescription records to detect mismatches or labeling errors.

[0347] The liquid medication verification system may comprise a weight validation platform configured to record a tare weight of a destination container. The destination container may comprise an amber prescription bottle or other container configured to receive the liquid medication. The weight validation platform may comprise a load cell or precision weight sensor configured to measure weight with sufficient accuracy for liquid medication verification. The weight validation platform may record the empty tare weight of the destination container prior to pouring.

[0348] The weight validation platform may be configured to monitor weight changes during pouring. The weight validation platform may continuously monitor weight changes as liquid medication is transferred from the source container into the destination container. The load cell or precision weight sensor may capture weight measurements in real time during the pouring process.

[0349] The weight validation platform may be configured to calculate a dispensed volume based on a net weight increase and a known liquid density. A processor may determine the net weight increase by subtracting the tare weight from the current total weight of the destination container. The processor may calculate the dispensed volume using the net weight increase and the known density of the liquid medication. The liquid medication verification system may reduce reliance on manual volumetric tools such as graduated cylinders or oral syringes through precision-guided pour verification.

[0350] The liquid medication verification system may comprise a user interface configured to display a real-time fill percentage and a completion indicator when a prescribed dose is reached. The user interface may display an on-screen progress indicator showing the current fill percentage as liquid medication is poured into the destination container. In some cases, the user interface may display a graphical representation of the fill level as a percentage of the prescribed dose. The user interface may be configured to display a completion indicator when the prescribed dose is reached. In some cases, the completion indicator may comprise a green checkmark displayed on the user interface. In some cases, the user interface may emit an audio signal in addition to the visual completion indicator to indicate that pouring should stop when the target volume is reached.

[0351] In some cases, a processor may be configured to halt verification if the dispensed volume does not match a prescribed dose range. The processor may compare the dispensed volume against the prescribed dose range and halt further progression or issue a warning if the poured amount exceeds allowable thresholds. The processor may prevent the workflow from continuing until the issue is resolved when the dispensed volume falls outside the prescribed dose range.

[0352] The liquid medication verification system may comprise an audit trail module configured to log medication identity, fill weight, timestamp, and technician identifier. The audit trail module may store verification data including the source medication identity, the fill weight, the timestamp, the technician identifier, and visual images of the completed dispense. The audit trail module may support compliance documentation for controlled substance handling protocols. In some cases, the audit trail module may store records of all liquid medication verification transactions to provide a complete record of the dispensing workflow.

[0353] In some cases, the liquid medication verification system may comprise a sticker seal applicator configured to apply a tamper-resistant serialized sticker seal to the destination container upon successful verification. The sticker seal applicator may print and apply the sticker seal upon generation of a successful verification result. The sticker seal may comprise a serialized code linked to a corresponding transaction record in the audit trail module. The tamper-resistant serialized sticker seal may certify that the fill passed final verification and compliance standards. In some cases, a high-resolution image of the final filled container with the applied sticker seal may be captured and archived in the audit trail module for regulatory and investigative purposes.

[0354] In some cases, the liquid medication verification system may be used to verify non-sterile liquid medications dispensed into amber bottles in outpatient or retail pharmacy workflows. The liquid medication verification system may observe and record the transfer of liquid medications from manufacturer-labeled containers into amber prescription bottles during the dispense process. The liquid medication verification system may be used for dispensing controlled substances where precise documentation and minimal handling are required.

[0355] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Pediatric Medication Verification System

[0356] A pediatric medication verification system may comprise an imaging system, a weight validation module, a processor, and an audit trail module. The pediatric medication verification system may be configured for use in workflows involving pediatric patients where weight-based dosing calculations and elevated verification standards are applied.

[0357] The pediatric medication verification system may comprise an imaging system configured to capture images of a medication container. The imaging system may capture high-resolution images of the medication container, including prescription labels, packaging, and medications contained therein. The imaging system may comprise one or more cameras positioned to capture images from multiple angles. In some cases, the imaging system may capture images of liquid medication containers such as amber prescription bottles or oral syringes used in pediatric dispensing workflows. In some cases, the imaging system may capture images of solid dosage forms such as tablets or capsules dispensed for pediatric patients.

[0358] The pediatric medication verification system may comprise a weight validation module configured to record pre-fill and post-fill weights of a liquid medication container. The weight validation module may comprise a load cell or precision weight sensor configured to measure weight with sufficient accuracy for pediatric medication verification. The weight validation module may record a pre-fill weight of the liquid medication container prior to dispensing. The weight validation module may record a post-fill weight of the liquid medication container after dispensing is complete. The difference between the post-fill weight and the pre-fill weight may be used to determine the dispensed dose. In some cases, the weight validation module may continuously monitor weight changes during the dispensing process to provide real-time feedback to a technician.

[0359] The pediatric medication verification system may comprise a processor configured to retrieve weight-based dosing requirements from at least one of an electronic health record, a prescribing interface, or a technician input. The processor may interface with electronic health record systems or prescribing application programming interfaces to retrieve weight-based dosing requirements without requiring changes to existing pharmacy workflows. In some cases, the processor may retrieve patient weight data, age data, and prescribed dosing parameters from the electronic health record. In some cases, the pediatric medication verification system may include a manual input field during technician login or prescription scanning to input weight-based dosing requirements. The manual input field may allow a technician to enter patient weight or dosing parameters when electronic health record data is unavailable or when manual entry is preferred.

[0360] The processor may be configured to calculate an expected dosage range based on the weight-based dosing requirements. The processor may apply weight-based dosing calculations to the retrieved patient weight and prescribed medication parameters. The expected dosage range may define minimum and maximum acceptable doses for the pediatric patient based on the patient body weight and the prescribed medication.

[0361] The processor may be configured to compare a dispensed dose with the expected dosage range. The processor may compare the dispensed dose, as determined from the pre-fill and post-fill weight measurements, against the calculated expected dosage range. The comparison may determine whether the dispensed dose falls within acceptable limits for the pediatric patient. Discrepancies between the dispensed dose and the expected dosage range may trigger pharmacist review.

[0362] The processor may be configured to generate a verification result. The verification result may indicate a pass status when the dispensed dose falls within the expected dosage range, or a fail status when the dispensed dose falls outside the expected dosage range. In some cases, the verification result may indicate an intermediate status requiring pharmacist review when the dispensed dose approaches the boundaries of the expected dosage range. The verification result may be displayed via visual indicators, audible alerts, or user interface elements.

[0363] The pediatric medication verification system may comprise an audit trail module configured to log pediatric-specific verification data. The audit trail module may log pediatric-specific verification data comprising captured images, pre-fill and post-fill weight measurements, weight-based dosing requirements, calculated expected dosage ranges, dispensed doses, verification results, technician identifiers, and timestamps. The pediatric-specific verification data may support pharmacist oversight and regulatory compliance documentation. In some cases, the audit trail module may store records of all pediatric-related verification steps to provide a complete record of the pediatric dispensing workflow.

[0364] In some cases, the processor may be configured to detect pediatric packaging formats and trigger elevated verification standards. The processor may use a visual packaging classifier to identify packaging commonly used for pediatric medications. Pediatric packaging formats may include childproof containers, oral syringes, and other packaging configurations associated with pediatric dispensing. The imaging system may capture images of the medication container, and the processor may analyze the captured images to detect visual characteristics associated with pediatric packaging formats. When the processor detects a pediatric packaging format, the pediatric medication verification system may activate enhanced verification protocols. The elevated verification standards may include escalated anomaly detection thresholds, additional weight validation steps, or additional pharmacist review requirements. The elevated verification standards may reduce error rates in pediatric medication dispensing by applying additional verification measures to medications identified as pediatric prescriptions.

[0365] In some cases, the processor may be configured to compare pill volume and configuration against expected values based on a prescribed dose and patient body weight. The imaging system may capture images of solid dosage forms dispensed for pediatric patients. The processor may analyze the captured images to determine pill volume and configuration. The processor may compare the observed pill volume and configuration against expected values calculated from the prescribed dose and the patient body weight. Discrepancies between the observed pill volume and configuration and the expected values may trigger pharmacist review. The comparison of pill volume and configuration may provide an additional verification pathway for solid dosage forms dispensed to pediatric patients.

[0366] In some cases, the pediatric medication verification system may be used for verification of high-risk or pediatric prescriptions in environments without gravimetric systems. The imaging system may capture images of the medication container and perform visual verification of pill volume and configuration against expected values. The visual verification may provide an alternative verification pathway when weight validation equipment is unavailable.

[0367] In some cases, pediatric-specific workflows may be automatically triggered based on patient age or weight data retrieved from a pharmacy dispensing system. The processor may analyze patient demographic data to determine whether pediatric verification protocols apply to a given prescription. The automatic triggering of pediatric-specific workflows may ensure that elevated verification standards are applied to pediatric prescriptions without requiring manual intervention by pharmacy personnel.

[0368] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Hazardous Waste Classification System

[0369] A hazardous waste classification system for pharmaceutical disposal may comprise an imaging system, a processor, and a user interface. The hazardous waste classification system may be configured for use in pharmacy environments where medications are classified for disposal in accordance with regulatory standards.

[0370] The hazardous waste classification system may comprise an imaging system configured to capture images of a medication. The imaging system may comprise one or more cameras configured to capture high-resolution images of medications for identification and classification purposes. In some cases, the imaging system may capture images of medications in various packaging formats, including loose pills, damaged medications, or medications without readable barcodes.

[0371] The imaging system may be configured to capture images of a medication placed in a user's palm for identification of dropped or loose pills. In pharmacy environments, pills may be found on the floor during cleaning or may become separated from packaging without an associated National Drug Code. A technician may place a pill in the palm of the technician's hand and hold the palm over a scanning platform where the imaging system captures images of the medication. The imaging system may analyze the medication based on visual characteristics observed in the captured images. The palm-based scanning approach may enable medication identification when barcode data is missing, damaged, or otherwise unavailable.

[0372] The hazardous waste classification system may comprise a processor configured to identify the medication using visual recognition without reliance on a National Drug Code. The processor may use visual recognition to identify the medication based on observed characteristics such as shape, color, size, and imprint. The processor may match the observed medication characteristics against a formulary database containing medication identifiers and visual characteristics. In some cases, the processor may use machine learning models trained to classify medications based on visual features. The visual recognition approach may enable medication identification when National Drug Code data is unavailable or when medications are found without associated packaging.

[0373] The processor may be configured to cross-reference the identified medication with a hazardous waste characterization database. The hazardous waste characterization database may contain information for categorizing pharmaceutical waste according to regulatory standards. In some cases, the hazardous waste characterization database may comprise a pharmacy's local waste characterization formulary. In some cases, the hazardous waste characterization database may comprise a cloud-based waste characterization formulary. The processor may cross-reference the identified medication with the hazardous waste characterization database to determine the appropriate disposal category for the medication.

[0374] The processor may be configured to determine a disposal classification based on Environmental Protection Agency and Department of Transportation standards. The processor may compare the identified medication against hazardous waste categories stored in the hazardous waste characterization database. The disposal classification may comprise at least one of P-list, U-list, D-list, incompatible reactive, corrosive, ignitable, or aerosolized medication categories. P-list medications may include acutely hazardous waste pharmaceuticals. U-list medications may include toxic waste pharmaceuticals. D-list medications may include pharmaceuticals exhibiting hazardous characteristics. Incompatible reactive medications may include pharmaceuticals that react with other substances. Corrosive medications may include pharmaceuticals with corrosive properties. Ignitable medications may include pharmaceuticals with flammable characteristics. Aerosolized medication categories may include medications in pressurized containers. The processor may determine whether the medication is classified as hazardous and, if so, which hazardous waste category applies based on Environmental Protection Agency and Department of Transportation standards.

[0375] The hazardous waste classification system may comprise a user interface configured to display bin placement instructions for compliant waste segregation. The user interface may display real-time instructions indicating which waste receptacle to use for the identified medication. The bin placement instructions may indicate whether the medication should be placed in a non-hazardous bin, a hazardous bin corresponding to a classification such as P-list, U-list, or D-list, an aerosol-specific bin, a sharps container, or another designated receptacle. The bin placement instructions may support compliant waste segregation in accordance with Environmental Protection Agency and Department of Transportation standards.

[0376] The hazardous waste classification system may comprise an audit trail module configured to log classification data, technician identifier, and timestamp for regulatory auditing. The audit trail module may store classification data including the identified medication, the disposal classification, the technician identifier, and the timestamp. The audit trail module may generate compliance logs for regulatory audits. The classification data and associated records may support documentation for Environmental Protection Agency and Department of Transportation compliance inspections. In some cases, the audit trail module may store high-resolution images of the medication captured during the classification process. The audit trail module may retain records of all hazardous waste classification events to provide a complete record of pharmaceutical waste disposal activities.

[0377] The hazardous waste classification system may comprise a spectral analysis module configured to verify chemical composition of medications when visual identification is insufficient. The spectral analysis module may generate compound-specific spectral fingerprints by directing electromagnetic radiation at a medication and analyzing the returned spectral signature. In some cases, the spectral analysis module may use at least one of Raman spectroscopy, near-infrared spectroscopy, or mid-infrared spectroscopy to verify chemical composition. The spectral fingerprints may be matched against a known drug spectral library to verify chemical identity. The spectral analysis module may improve hazardous waste classification when visual identification is insufficient due to damaged medications, faded imprints, or other conditions that impair visual recognition. In some cases, the spectral analysis module may verify the chemical composition of medications without a National Drug Code by analyzing spectral signatures against a known database.

[0378] In some cases, the hazardous waste classification system may update the waste characterization formulary via cloud-based distribution to ensure pharmacies maintain alignment with evolving Environmental Protection Agency classifications and vendor-specific sorting policies. The cloud-based updates may enable the hazardous waste classification system to adapt to changes in regulatory standards without requiring manual configuration by pharmacy personnel.

[0379] In some cases, the hazardous waste classification system may be used as a standalone module or may be integrated with a medication verification system. The hazardous waste classification system may provide automated hazardous pharmaceutical waste segregation guidance to reduce liability associated with Environmental Protection Agency and Department of Transportation violations.

[0380] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Prescription Anomaly Detection System

[0381] A medication verification system with prescription anomaly detection may comprise an interface, a processor, an alert module, and an audit trail module. The medication verification system with prescription anomaly detection may be configured for use in pharmacy environments where prescription data is analyzed to identify errors or safety concerns before medication dispensing proceeds.

[0382] The medication verification system with prescription anomaly detection may comprise an interface configured to receive prescription data from an electronic prescribing platform. The electronic prescribing platform may comprise an electronic health record system, a pharmacy dispensing system, or another prescribing interface configured to transmit prescription data to the medication verification system. The interface may receive prescription data including patient identifiers, medication names, dosages, quantities, administration routes, prescriber identifiers, and prescription numbers. In some cases, the interface may receive prescription data via secure application programming interface connections, file exchange, or embedded modules.

[0383] The medication verification system with prescription anomaly detection may comprise a processor configured to analyze the prescription data using an artificial intelligence model. The artificial intelligence model may evaluate the prescription data to identify patterns, deviations, or combinations that indicate errors or safety concerns. The processor may be configured to detect anomalies comprising at least one of incorrect dosage, off-formulary medications, therapeutic duplications, contraindications, or improper administration routes. Incorrect dosage anomalies may include dosages that fall outside expected ranges for a given patient population or medication type. Off-formulary medication anomalies may include medications not included in an approved formulary for a given pharmacy or healthcare institution. Therapeutic duplication anomalies may include duplicate therapeutic agents prescribed concurrently that may result in adverse effects. Contraindication anomalies may include drug-drug interactions, drug-allergy conflicts, or medications contraindicated for a patient's medical conditions. Improper administration route anomalies may include medications prescribed via routes that are inappropriate for the medication formulation or patient condition.

[0384] The processor may be configured to halt verification upon detection of an anomaly. When the artificial intelligence model detects an anomaly in the prescription data, the processor may halt the verification process to prevent dispensing of the medication until the anomaly is resolved. The halt may prevent progression of the medication through the dispensing workflow until a supervising pharmacist reviews the detected anomaly.

[0385] The artificial intelligence model may be configured to cross-reference formulary standards, patient demographic norms, and historical dispensing patterns. The artificial intelligence model may compare the prescription data against formulary databases to determine whether prescribed medications are included in approved formularies. The artificial intelligence model may compare the prescription data against patient demographic norms to identify dosages or medications that deviate from expected parameters for patients of similar age, weight, or clinical profile. The artificial intelligence model may compare the prescription data against historical dispensing patterns to identify prescriptions that deviate from established prescribing trends for a given patient, prescriber, or medication type. In some cases, the artificial intelligence model may dynamically cross-reference prescription data with patient-specific variables such as age, weight, allergies, comorbidities, or historical prescription trends without relying on predefined rule sets. The cross-referencing of multiple data sources may enable the artificial intelligence model to perform contextual interpretation of prescribing behavior and identify non-obvious risks.

[0386] The medication verification system with prescription anomaly detection may comprise an alert module configured to notify a supervising pharmacist of the detected anomaly. The alert module may transmit a notification to a supervising pharmacist via secure email, text message, or system alert. The notification may include a summary of the detected anomaly, the prescription number, the prescriber identifier, the anomaly classification, and a confidence score indicating the likelihood that the detected anomaly represents a genuine error or safety concern.

[0387] The alert module may be configured to provide supporting information comprising a system-generated rationale for the detected anomaly. The system-generated rationale may include an explanation of the factors that contributed to the anomaly detection, such as the specific formulary standard that was violated, the patient demographic norm that was exceeded, or the historical dispensing pattern that was deviated from. The supporting information may assist the supervising pharmacist in evaluating the anomaly and determining an appropriate response. In some cases, the system-generated rationale may include references to clinical guidelines, formulary policies, or patient-specific data that support the anomaly classification.

[0388] The medication verification system with prescription anomaly detection may comprise an audit trail module configured to log anomaly metadata comprising prescription number, prescriber identifier, anomaly classification, and confidence score. The audit trail module may store anomaly metadata for each detected anomaly, including the timestamp of the detection, the pharmacist response, and the resolution outcome. The audit trail module may retain records of detected anomalies, pharmacist interventions, and disposition decisions for compliance documentation and post-event analysis. In some cases, the audit trail module may store records of all prescription anomaly detection events to provide a complete record of anomaly detection activities.

[0389] In some cases, the artificial intelligence model may learn from pharmacist feedback and historical resolution patterns to improve future anomaly detection accuracy over time. The artificial intelligence model may adapt detection thresholds and classification criteria based on outcomes of previous anomaly detections and pharmacist interventions. The learning process may enable the medication verification system to reduce false positive rates and improve detection of clinically relevant anomalies.

[0390] In some cases, the medication verification system with prescription anomaly detection may be integrated with a medication verification platform comprising an imaging system and a weight validation module. The integration may enable the medication verification system to perform prescription anomaly detection in conjunction with visual medication verification and weight validation. In some cases, the medication verification system with prescription anomaly detection may operate as a standalone module that interfaces with existing pharmacy dispensing systems.

[0391] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Remote Pharmacist Verification System

[0392] A remote pharmacist verification system may comprise a medication verification platform, a streaming interface, a pharmacist override module, and an audit trail module. The remote pharmacist verification system may be configured for use in pharmacy environments where remote pharmacist oversight of medication verification processes is performed through real-time data transmission and interactive approval workflows.

[0393] The remote pharmacist verification system may comprise a medication verification platform configured to capture imaging data and verification data. The medication verification platform may comprise an imaging system configured to capture multi-angle images of medication containers. The imaging system may capture high-resolution images of medications, prescription labels, and packaging. The medication verification platform may capture verification data comprising at least one of medication identification results, formulary comparison outcomes, weight validation measurements, prescription data comparisons, or behavioral monitoring observations. In some cases, the medication verification platform may capture video footage of the verification process in addition to still images. The imaging data and verification data may be captured in real time as the verification process proceeds.

[0394] The remote pharmacist verification system may comprise a streaming interface configured to transmit the imaging data and verification data to a remote pharmacist interface. The streaming interface may transmit data from the medication verification platform to a remote pharmacist interface located at a separate location from the medication verification platform. The streaming interface may transmit data in real time to enable a remote pharmacist to observe the verification process as the verification process occurs. In some cases, the streaming interface may provide a real-time link that allows the remote pharmacist to access video logs, technician identifiers, and system alerts without being physically present at the medication verification platform.

[0395] The remote pharmacist interface may be configured to provide access to behavioral video, prescription metadata, and verification outputs. The remote pharmacist interface may display the imaging data, verification data, technician identifier, and system alerts to enable the remote pharmacist to review the verification transaction. In some cases, the remote pharmacist interface may provide access to behavioral video captured by an overhead camera during the verification process. The behavioral video may enable the remote pharmacist to observe technician conduct and assess procedural adherence. The remote pharmacist interface may provide access to prescription metadata including patient identifiers, medication names, dosages, quantities, prescriber identifiers, and prescription numbers. The remote pharmacist interface may provide access to verification outputs including medication identification results, formulary comparison outcomes, weight validation measurements, and anomaly detection results.

[0396] The remote pharmacist verification system may comprise a pharmacist override module configured to receive approval or rejection input from a remote pharmacist. The remote pharmacist may review the imaging data and verification data and provide input indicating whether the medication dispense should proceed or be rejected. In some cases, the pharmacist override module may permit the remote pharmacist to approve a dispense task that would otherwise be halted due to a verification exception. In some cases, the pharmacist override module may permit the remote pharmacist to reject a dispense task that would otherwise proceed. The pharmacist override module may receive the approval or rejection input via user interface elements displayed on the remote pharmacist interface.

[0397] The remote pharmacist verification system may comprise a sticker seal applicator configured to apply a verification sticker upon approval from the remote pharmacist. Upon receiving approval input from the remote pharmacist, the sticker seal applicator may apply a verification sticker to the medication container. The verification sticker may comprise a tamper-resistant serialized sticker seal. In some cases, the verification sticker may comprise a serialized holographic sticker seal. The sticker seal may comprise a serialized code linked to a corresponding transaction record in the audit trail module. The application of the verification sticker may indicate that the medication container has passed remote pharmacist review and is approved for dispensing.

[0398] The remote pharmacist verification system may comprise an audit trail module configured to log remote access events, override actions, and associated timestamps. The audit trail module may log remote access events comprising timestamps indicating when the remote pharmacist accessed the imaging data and verification data. The audit trail module may log override actions comprising the approval or rejection input received from the remote pharmacist. In some cases, the audit trail module may log the remote pharmacist identifier, the timestamp of the approval or rejection input, the medication container identifier, and the verification sticker serial number. The audit trail module may store records of remote pharmacist sessions, including session duration, data accessed, and decisions rendered. In some cases, the audit trail module may utilize cryptographic signatures or tamper-evident storage to maintain data integrity of the remote access and override records.

[0399] In some cases, the remote pharmacist verification system may halt the verification process upon detection of a verification failure and transmit a notification to the remote pharmacist. The notification may include a summary of the verification failure, imaging data, behavioral video, and verification outputs to enable the remote pharmacist to evaluate the failure and provide approval or rejection input.

[0400] In some cases, the remote pharmacist verification system may provide full transaction playback to the remote pharmacist, including imaging, audit log data, and technician behavior trace for review prior to approval or intervention. The transaction playback may enable the remote pharmacist to review the complete verification event before rendering a decision.

[0401] In some cases, the remote pharmacist verification system may be integrated with a medication verification platform comprising an imaging system, a weight validation module, and a behavioral monitoring module. The integration may enable the remote pharmacist verification system to provide remote oversight of comprehensive medication verification processes. In some cases, the remote pharmacist verification system may operate as a standalone module that interfaces with existing pharmacy dispensing systems.

[0402] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Distributed Architecture System

[0403] A medication verification system with distributed architecture may comprise a scanning platform, a local processing unit, a remote processing server, and a communication module. The medication verification system with distributed architecture may be configured for use in pharmacy environments where processing tasks are distributed between local and remote components to balance computational efficiency with system responsiveness.

[0404] The medication verification system with distributed architecture may comprise a scanning platform comprising an imaging system and a weight validation module. The scanning platform may be configured to receive a medication container and support the medication container during verification operations. The imaging system may comprise one or more cameras positioned to capture images of the medication container from multiple angles. The weight validation module may comprise a load cell or precision weight sensor configured to measure medication weight.

[0405] The medication verification system with distributed architecture may comprise a local processing unit configured to capture imaging data and weight data. The local processing unit may capture high-resolution images from the imaging system and weight measurements from the weight validation module. The local processing unit may transmit the captured imaging data and weight data to a remote processing server for analysis. In some cases, the local processing unit may comprise an edge processor configured to perform preliminary data processing prior to transmission.

[0406] The medication verification system with distributed architecture may comprise a remote processing server configured to perform artificial intelligence inference and medication classification. The remote processing server may host artificial intelligence models configured to analyze imaging data and weight data received from the local processing unit. The remote processing server may perform high-fidelity classification, anomaly detection, and pharmacist-substitution logic based on visual, spectral, or weight-based inputs. In some cases, the remote processing server may be hosted on centralized servers located in intermediate distribution frame cabinets, back-office areas, or secure data centers. The remote processing server may host processing infrastructure such as artificial intelligence logic, machine learning inference engines, audit trail storage, and configuration controls. The processing infrastructure hosted on the remote processing server may not be physically co-located with the imaging system or the scanning platform.

[0407] The medication verification system with distributed architecture may comprise a communication module configured to facilitate data transfer between the local processing unit and the remote processing server. The communication module may transmit imaging data and weight data from the local processing unit to the remote processing server. The communication module may receive verification results, classification outcomes, and model updates from the remote processing server. In some cases, the communication module may facilitate data transfer through local network connections or wide area network connections.

[0408] The medication verification system with distributed architecture may comprise a local fallback inference engine configured to perform verification operations when connectivity to the remote processing server is interrupted. When network communication is disconnected or intermittent, the medication verification system may operate in low-connectivity environments by using edge-based artificial intelligence models for on-device decision-making, with deferred audit log syncing upon reconnection. When cloud connectivity is interrupted, the medication verification system may continue verification tasks through the local fallback inference engine, syncing data and retraining updates upon network restoration. The local fallback inference engine may activate automatically during network failure or degraded connectivity. The local fallback inference engine may be configured to perform real-time medication classification via preloaded artificial intelligence models. The local fallback inference engine may preserve pharmacist-substitution logic and audit trail continuity in offline or degraded connectivity scenarios. The local fallback inference engine may maintain continuous audit trail logging with local data buffering and later synchronization when connectivity is restored.

[0409] In some cases, the imaging system and the weight validation module may be located in separate physical locations within a facility. In conveyor-based applications, the weight validation process may be conducted at a separate location within a pharmacy or distribution facility and may not require physical attachment to the imaging system. The imaging system and the weight validation module may operate independently or in coordination, with communication between modules facilitated through local or networked connections. The distributed arrangement of the imaging system and the weight validation module may enable flexible deployment configurations based on facility layout and workflow requirements.

[0410] In some cases, audit trail storage may be hosted on at least one of a local server, a customer-designated internal server, or a cloud-based infrastructure. The audit trail module may store verification records locally on a storage device within the medication verification system. In some cases, the audit trail module may transmit verification records to a customer-designated internal server for centralized storage. In some cases, the audit trail module may transmit verification records to a cloud-based storage platform. The storage configuration may be selected based on institutional policy, regulatory requirements, or infrastructure availability.

[0411] In some cases, the medication verification system with distributed architecture may be configured for deployment in a mini tabletop configuration with a reduced physical footprint. In the mini tabletop configuration, larger system components may be offloaded to on-site servers or cloud-based environments, allowing for flexible deployment in constrained environments such as remote clinics, small pharmacies, or mobile installations. The offloading of processing components may enable the scanning platform to maintain a compact form factor while retaining full verification capabilities.

[0412] In some cases, machine learning model inference may be performed using cloud-hosted processors, and imaging data and weight data may be captured locally. The medication verification system may support hybrid configurations where artificial intelligence inference and decision-making occur either in the cloud or on local hardware based on connectivity status and processing requirements. In standard operation, artificial intelligence models hosted remotely may perform high-fidelity classification, anomaly detection, and pharmacist-substitution logic based on visual, spectral, or weight-based inputs. In scenarios of degraded connectivity or complete network failure, the local fallback inference engine may activate automatically and preserve verification functionality.

[0413] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Automated Dispensing System Integration Module

[0414] An automated dispensing system integration module may comprise an interface, an imaging system, a processor, a sticker seal applicator, and a routing mechanism. The automated dispensing system integration module may be configured for use in pharmacy environments where medication containers are received from automated dispensing machines and verified prior to dispensing.

[0415] The automated dispensing system integration module may comprise an interface configured to receive medication containers from an automated dispensing machine. The interface may receive medication containers as the medication containers are ejected or dispensed from the automated dispensing machine. In some cases, the interface may comprise a mechanical transfer mechanism that positions medication containers for verification. In some cases, the interface may comprise a conveyor lane, a chute, or a staging area that receives medication containers from the automated dispensing machine. The interface may enable seamless transfer of medication containers from the automated dispensing machine to the verification components of the automated dispensing system integration module.

[0416] The automated dispensing system integration module may comprise an imaging system configured to capture multi-angle images of the medication containers. The imaging system may comprise one or more cameras positioned to capture images of medication containers from multiple perspectives. In some cases, the imaging system may include cameras positioned above, below, and at angles relative to a scanning area to enable comprehensive visual coverage of medication containers. The imaging system may capture high-resolution images of medications, prescription labels, and packaging for analysis.

[0417] In some cases, the imaging system may be embedded within the automated dispensing machine. In embedded configurations, the imaging system may be integrated directly into the automated dispensing machine housing or dispensing pathway. The embedded imaging system may capture images of medication containers as the medication containers are prepared or dispensed within the automated dispensing machine. The embedded configuration may enable verification to occur as part of the dispensing process without requiring transfer of medication containers to a separate verification station.

[0418] In some cases, the imaging system may be deployed externally adjacent to the automated dispensing machine. In external deployment configurations, the imaging system may be positioned adjacent to the automated dispensing machine such that medication containers are transferred from the automated dispensing machine to the imaging system for verification. The external deployment may allow the automated dispensing system integration module to be added as a modular upgrade to existing automated dispensing systems. In some cases, medication containers may be ejected from the automated dispensing machine and transferred onto a conveyance lane that routes the medication containers through the imaging system. The external deployment configuration may enable rapid adoption without requiring modifications to the automated dispensing machine.

[0419] The automated dispensing system integration module may comprise a processor configured to analyze the captured images using a machine learning model. The processor may receive captured images from the imaging system and apply machine learning-based visual analysis to identify medication characteristics. The machine learning model may identify at least one of a shape, a color, a size, or an imprint of a medication within a medication container. In some cases, the machine learning model may comprise a convolutional neural network trained to classify medications based on visual features.

[0420] The processor may be configured to compare identified medication characteristics against a formulary database. The formulary database may contain medication identifiers, visual characteristics, expected weights, and other medication information. The processor may perform classification matching against the formulary database to determine whether the medication matches expected parameters.

[0421] The processor may be configured to generate a verification result. The verification result may indicate a pass status, a fail status, or an intermediate status requiring further review. The verification result may be generated based on the comparison of identified medication characteristics against the formulary database. In some cases, the verification result may be displayed via visual indicators, audible alerts, or user interface elements.

[0422] The automated dispensing system integration module may comprise a sticker seal applicator configured to autonomously apply a serialized holographic sticker seal upon successful verification. Upon generation of a successful verification result, the sticker seal applicator may apply a serialized holographic sticker seal to the medication container without manual intervention. The serialized holographic sticker seal may comprise a serialized code linked to a corresponding transaction record in an audit trail. The autonomous application of the serialized holographic sticker seal may enable high-throughput verification workflows where medication containers are sealed without technician handling.

[0423] The automated dispensing system integration module may comprise a routing mechanism configured to divert failed medication containers to a rejection path. When the processor generates a verification result indicating a fail status, the routing mechanism may divert the medication container away from the standard dispensing pathway. The rejection path may comprise a troubleshooting lane, a rejection bin, or a staging area for manual review. In some cases, the routing mechanism may comprise a mechanical diverter, a pneumatic actuator, or a robotic arm configured to redirect medication containers based on the verification result. The routing mechanism may prevent medication containers that fail verification from proceeding through the dispensing workflow.

[0424] In some cases, the automated dispensing system integration module may comprise a weight validation module configured to verify medication quantity. The weight validation module may comprise a load cell or precision weight sensor configured to measure medication weight. The weight validation module may measure a total weight of a medication container and compare the measured weight against an expected weight stored in the formulary database. In some cases, the weight validation module may calculate a net medication weight by subtracting a known container weight from the total weight. The weight validation module may provide an additional verification factor beyond visual identification performed by the imaging system.

[0425] In some cases, the automated dispensing system integration module may interface with the automated dispensing machine via secure application programming interface connections or direct hardware interfaces. The interface may synchronize medication data between the automated dispensing machine and the verification components of the automated dispensing system integration module. In some cases, the automated dispensing system integration module may receive prescription data, medication identifiers, and expected quantities from the automated dispensing machine to support verification operations.

[0426] In some cases, the automated dispensing system integration module may comprise an audit trail module configured to log verification data for each verification transaction. The audit trail module may store captured images, verification results, timestamps, medication identifiers, and serialized sticker seal identifiers. The audit trail module may support compliance documentation and provide records for post-event analysis.

[0427] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Conveyor-Based Medication Verification System

[0428] A conveyor-based medication verification system may comprise a conveyor system, an imaging system, a processor, a sticker seal applicator, and a mechanical diverter. The conveyor-based medication verification system may be configured for use in high-throughput pharmacy environments, mail-order pharmacy operations, and distribution center configurations where continuous verification of medication containers is performed as medication containers move through a verification workflow.

[0429] The conveyor-based medication verification system may comprise a conveyor system configured to transport medication containers through a verification zone. The conveyor system may comprise a belt conveyor, a roller conveyor, or another conveyance mechanism configured to move medication containers along a defined pathway. The verification zone may comprise a region along the conveyor system where imaging, weight validation, and other verification operations are performed. The conveyor system may transport medication containers at a controlled speed to enable image capture and analysis as medication containers pass through the verification zone.

[0430] The conveyor-based medication verification system may comprise an imaging system comprising cameras positioned to capture multi-angle images of medication containers as the medication containers pass through the verification zone. The imaging system may comprise one or more cameras positioned above, below, and at angles relative to the conveyor system to enable comprehensive visual coverage of medication containers. In some cases, the imaging system may include overhead cameras, side-mounted cameras, and optical three-dimensional cameras configured to capture high-resolution imagery of pill bottles, blister cards, or prescription packaging. The cameras may be configured to identify pill geometry, label information including National Drug Code and prescription number, and other label and packaging attributes.

[0431] The conveyor-based medication verification system may comprise a processor configured to analyze the captured images using an artificial intelligence inference engine. The artificial intelligence inference engine may comprise machine learning models configured to identify medication characteristics from the captured images. The processor may analyze the captured images to identify at least one of a shape, a color, a size, or an imprint of a medication within a medication container.

[0432] The processor may be configured to perform classification matching against a formulary database. The formulary database may contain medication identifiers, visual characteristics such as shape, color, size, and imprint data, expected weights, and other medication information. The processor may compare identified medication characteristics against the formulary database to determine whether the medication matches expected parameters.

[0433] The processor may be configured to determine a pass or fail status. The pass or fail status may be determined based on the classification matching against the formulary database. A pass status may indicate that the medication container has been verified and may proceed through the dispensing workflow. A fail status may indicate that the medication container has not been verified and may be diverted for manual review or reprocessing.

[0434] The conveyor-based medication verification system may comprise a sticker seal applicator configured to apply a serialized holographic sticker seal to verified medication containers. Upon determination of a pass status, the sticker seal applicator may autonomously apply a serialized holographic sticker seal to the medication container. The serialized holographic sticker seal may comprise a serialized code linked to a corresponding transaction record in an audit trail. In some cases, a high-resolution image of the sealed package may be captured and stored in an audit trail module to complete the documentation record.

[0435] The conveyor-based medication verification system may comprise a mechanical diverter configured to route failed medication containers to a troubleshooting lane. When the processor determines a fail status, the mechanical diverter may activate to redirect the medication container away from the standard dispensing pathway. The troubleshooting lane may comprise a rejection bin, a staging area, or a separate conveyor lane where failed medication containers are held for manual review. In some cases, the mechanical diverter may comprise a pneumatic actuator, a pivoting gate, or a pusher mechanism configured to redirect medication containers based on the verification result. Diverted medication containers may be manually corrected and then reintroduced to the conveyor system for re-verification.

[0436] In some cases, the conveyor-based medication verification system may comprise integrated LED lighting arrays configured to provide visibility during image capture. The integrated LED lighting arrays may eliminate shadows or reflections that could interfere with classification. The integrated LED lighting arrays may support object isolation and provide consistent illumination across the verification zone. In some cases, the integrated LED lighting arrays may be positioned above, below, or alongside the conveyor system to illuminate medication containers from multiple directions.

[0437] In some cases, the conveyor-based medication verification system may comprise a weight check station positioned along the conveyor system. The weight check station may comprise a load cell or precision weight sensor configured to measure medication weight as medication containers pass through the weight check station. The weight check station may be deployed at any position along the conveyor system to verify prescription weight and ensure accurate fill quantities. The measured weight may be automatically matched to expected product values and logged in an audit trail module. In some cases, the weight check station may operate independently of the imaging system. In some cases, the weight check station may operate in coordination with the imaging system. The weight validation process may be conducted at a separate location within a pharmacy or distribution facility and may not require physical attachment to the imaging system.

[0438] In some cases, the imaging system may be configured to operate at throughput rates of five to ten verifications per second. The throughput rate may be adjusted based on the complexity of the medication containers being verified, the number of cameras in the imaging system, and the processing capacity of the processor. The throughput rates of five to ten verifications per second may support high-volume pharmacy operations, mail-order pharmacy workflows, and distribution center configurations. In some cases, the imaging and classification rate may be scalable based on camera frame rate, processing hardware, and multi-lane system design.

[0439] In some cases, the conveyor-based medication verification system may comprise an audit trail camera configured to capture continuous footage of the conveyor process. The audit trail camera may be mounted above the verification zone or at another position along the conveyor system to record video footage of medication containers as the medication containers pass through the verification workflow. The continuous footage may be stored in an audit trail module for compliance documentation and post-event analysis. In some cases, the audit trail camera may capture footage of technician interactions with the conveyor system in addition to footage of medication containers.

[0440] In some cases, the conveyor-based medication verification system may comprise an audit trail module configured to log verification data for each verification transaction. The audit trail module may store captured images, verification results, timestamps, medication identifiers, weight data, and serialized sticker seal identifiers. The audit trail module may maintain full traceability for both original failed events and any subsequent re-verification cycles.

[0441] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Regulatory Compliance System

[0442] A medication verification system configured for regulatory compliance may comprise an imaging system, a processor, an audit trail module, and a data integrity module. The medication verification system configured for regulatory compliance may be configured for use in pharmacy environments where verification data is logged and maintained in accordance with regulatory standards.

[0443] The medication verification system configured for regulatory compliance may comprise an imaging system configured to capture images of medication containers. The imaging system may comprise one or more cameras positioned to capture high-resolution images of medication containers from multiple angles. The imaging system may capture images of medications, prescription labels, and packaging for analysis during the verification process.

[0444] The medication verification system configured for regulatory compliance may comprise a processor configured to perform verification using a machine learning model. The processor may analyze captured images using the machine learning model to identify medication characteristics such as shape, color, size, and imprint. The processor may compare identified medication characteristics against a formulary database and generate a verification result. In some cases, the machine learning model may comprise a convolutional neural network trained to classify medications based on visual features.

[0445] The medication verification system configured for regulatory compliance may comprise an audit trail module configured to log verification data in a format compliant with at least one of FDA 21 CFR Part 11 or EMA Annex 11 requirements. FDA 21 CFR Part 11 refers to the United States Food and Drug Administration regulation governing electronic records and electronic signatures. EMA Annex 11 refers to the European Medicines Agency guidance for computerized systems used in regulated environments. The audit trail module may log verification data including captured images, verification results, timestamps, user identifiers, and technician identifiers. The audit trail module may generate time-stamped records of each verification event in a format that supports regulatory inspection and compliance documentation.

[0446] The medication verification system configured for regulatory compliance may comprise a data integrity module configured to maintain verification records using at least one of cryptographic signatures or tamper-evident storage. Cryptographic signatures may provide non-repudiation for verification records by digitally signing each transaction record with a cryptographic key. Tamper-evident storage may prevent retroactive modification of records by storing verification events in an immutable format. In some cases, the data integrity module may utilize blockchain-backed timestamps to ensure data integrity. The data integrity mechanisms may support liability protection and regulatory review by providing verifiable records of verification events.

[0447] In some cases, machine learning model updates may be managed under a Predetermined Change Control Plan permitting predefined model refinements without additional regulatory submission. The Predetermined Change Control Plan may define categories of algorithmic updates that are pre-approved for deployment without requiring new premarket submissions. The Predetermined Change Control Plan may align with FDA guidance for artificial intelligence and machine learning-enabled medical devices. All machine learning model updates may be logged in the audit trail module for compliance verification and traceability. In some cases, artificial intelligence verification models may be trained, updated, and deployed via a centralized cloud platform, with improvements pushed to local systems in real time or on demand.

[0448] In some cases, the audit trail module may be configured to store records supporting compliance with Board of Pharmacy requirements for final review logging. The audit trail module may log each verification event, including visual data, weight results, pharmacist identifier, timestamps, and pass or fail status. The audit trail module may store records that support compliance inspections and licensure defense. The audit trail module may generate compliance logs for regulatory audits conducted by state boards of pharmacy.

[0449] In some cases, the medication verification system configured for regulatory compliance may be configured for deployment in at least one of retail pharmacy, institutional pharmacy, mail-order pharmacy, long-term care facility, correctional institution, or military medical unit environments. In retail pharmacy deployments, the medication verification system may be configured for tabletop or counter-based verification workflows. In institutional pharmacy deployments, the medication verification system may be configured for hospital inpatient and outpatient dispensary environments. In mail-order pharmacy deployments, the medication verification system may be configured for high-throughput fulfillment center operations. In long-term care facility deployments, the medication verification system may be configured for medication dispensing to residents in nursing homes or assisted living facilities. In correctional institution deployments, the medication verification system may be configured for secure medication dispensing in prison or jail pharmacy environments. In military medical unit deployments, the medication verification system may be configured for medication dispensing in military healthcare facilities or field medical operations.

[0450] In some cases, the processor may be configured to function as at least one of a decision-support tool or a pharmacist-substitution verification endpoint based on pharmacy policy configuration. When configured as a decision-support tool, the processor may provide verification results and recommendations to a pharmacist who renders a final dispensing decision. When configured as a pharmacist-substitution verification endpoint, the processor may perform automated final verification without requiring pharmacist review for each transaction. The configuration of the processor as a decision-support tool or a pharmacist-substitution verification endpoint may be selected based on state board of pharmacy regulations and pharmacy policy.

[0451] In some cases, the medication verification system configured for regulatory compliance may incorporate Artificial General Intelligence models capable of autonomous learning, reasoning, and multi-domain decision-making in future configurations. Artificial General Intelligence systems may be deployed to enhance classification accuracy, behavioral oversight, anomaly detection, and pharmacist-substitution logic in complex workflows. Artificial General Intelligence-based inference engines may enable the medication verification system to generalize across novel medication types, packaging formats, or operational conditions without requiring task-specific retraining.

[0452] In some cases, all artificial intelligence and Artificial General Intelligence-driven updates may be governed under a centralized change management system to ensure compliance with regulatory standards. Updates may be delivered via cloud-based infrastructure or local edge deployment depending on customer configuration, with change tracking and version control logged in the audit trail module.

[0453] In some cases, the medication verification system configured for regulatory compliance may support use in regulated markets outside the United States by aligning with FDA, EMA, and international safety and verification standards. The medication verification system may qualify as Software as a Medical Device under FDA guidance for artificial intelligence-enabled tools used in patient safety and clinical decision-making. In some cases, the medication verification system may include language localization, audit protocols aligned with FDA and EMA submission formats, and validation templates for regulatory review and approval in future configurations.

[0454] In some cases, the medication verification system configured for regulatory compliance may anticipate integration with regulatory databases, national formularies, and digital product identifiers used in Europe to support broader harmonization across jurisdictions. The medication verification system may enable future alignment with cross-agency regulatory convergence efforts including FDA-EMA harmonization initiatives and HL7 FHIR-based data interoperability frameworks. HL7 FHIR refers to Health Level Seven Fast Healthcare Interoperability Resources, a standard for exchanging healthcare information electronically.

[0455] In some cases, the medication verification system configured for regulatory compliance may be embedded in partner platforms via software development kits or application programming interfaces while maintaining control of the final verification, serialization, and audit gating process. The medication verification system may interface with third-party robotic systems, health record platforms, or compliance auditing services. Integration may occur via secure application programming interface connections, file exchange, or embedded modules.

[0456] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Comprehensive Medication Verification System

[0457] A medication verification system may comprise a scanning platform, an imaging system, a weight validation module, a processor, a user interface, a behavioral monitoring module, and an audit trail module. The medication verification system may integrate multiple verification modalities to provide comprehensive medication verification with procedural oversight.

[0458] The medication verification system may comprise a scanning platform configured to receive a medication container. The scanning platform may comprise a surface configured to support the medication container during verification operations. The medication container may comprise a pill bottle, an amber prescription bottle, a blister card, a vial, an ampule, or another packaging format used in pharmacy dispensing workflows. In some cases, the scanning platform may include a transparent surface for optical analysis. The transparent surface may enable cameras positioned below the scanning platform to capture images of the medication container from beneath.

[0459] The medication verification system may comprise an imaging system comprising a plurality of cameras configured to capture images of the medication container from multiple angles. The plurality of cameras may include cameras positioned above the scanning platform, cameras positioned below a transparent surface of the scanning platform, and cameras positioned at angles relative to the scanning platform. The multi-angle image capture enables full-surface feature capture of the medication container and medications contained therein. In some cases, the imaging system may include high-resolution cameras, three-dimensional depth-sensing cameras, infrared cameras, monochrome cameras, or combinations thereof. In some cases, the imaging system may comprise a three-dimensional optical imaging module configured to capture depth data of the medication using at least one of stereo vision, LIDAR, or structured light sensors.

[0460] The medication verification system may comprise a weight validation module configured to measure a weight of the medication container. The weight validation module may comprise a load cell or precision weight sensor integrated into the scanning platform. The weight validation module may measure a total weight of the medication container. In some cases, the weight validation module may subtract a known container weight from the total weight to calculate a net medication weight. The weight validation module may provide an additional verification factor beyond visual identification performed by the imaging system.

[0461] The medication verification system may comprise a processor configured to analyze the captured images using a machine learning model to identify medication characteristics. The medication characteristics may include at least one of a shape, a color, a size, or an imprint of a medication within the medication container. In some cases, the machine learning model may comprise a convolutional neural network trained to classify medications based on visual features. The processor may extract hierarchical features from the captured images for classification, detection, or recognition tasks.

[0462] The processor may be configured to compare the identified medication characteristics against a formulary database. The formulary database may contain medication identifiers, visual characteristics such as shape, color, size, and imprint data, expected weights, three-dimensional representations, National Drug Codes, and concentration data. The formulary database may be stored locally, hosted on a cloud-based platform, or accessed via application programming interface queries. The processor may perform classification matching against the formulary database to determine whether the medication matches expected parameters.

[0463] The processor may be configured to validate the weight of the medication container against an expected weight. The processor may compare the measured weight from the weight validation module against an expected weight stored in the formulary database. The expected weight may correspond to the prescribed quantity of medication based on the medication identifier and dosage parameters. In some cases, the processor may calculate a net medication weight by subtracting a known container weight from the total weight and compare the net medication weight against the expected weight.

[0464] The processor may be configured to generate a verification result. The verification result may indicate a pass status, a fail status, or an intermediate status requiring further review. The verification result may be generated based on the comparison of identified medication characteristics against the formulary database and the validation of the weight of the medication container against the expected weight.

[0465] The medication verification system may comprise a user interface configured to display the verification result. The user interface may comprise a display screen, visual indicators, and audible alert components. In some cases, the user interface may display the verification result using at least one of a visual indicator or an audible alert. The visual indicator may comprise a green indicator for a successful verification and a red indicator for a failed verification. In some cases, the user interface may display analysis data on the screen along with the visual indicators to provide verification details to pharmacy personnel.

[0466] The medication verification system may comprise a behavioral monitoring module configured to monitor technician behavior during the verification process and generate an alert upon detection of procedural deviation. The behavioral monitoring module may comprise one or more overhead cameras and an artificial intelligence model. The artificial intelligence model may analyze captured video footage to assess technician conduct and identify deviations from expected verification procedures. In some cases, the artificial intelligence model may be configured to analyze at least one of gaze patterns, hand movements, posture, or workflow consistency of the technician. The behavioral monitoring module may detect indicators of inattentiveness, distraction, or procedural deviation. Upon detection of procedural deviation, the behavioral monitoring module may generate an alert to a supervising pharmacist. The alert may include a technician identifier, a timestamp, behavioral footage, and a system-generated anomaly summary describing the detected behavior.

[0467] In some cases, the processor may be configured to halt the verification process upon detection of procedural deviation by the behavioral monitoring module. The processor may prevent progression of the verification workflow until the issue is addressed. In some cases, the processor may issue a soft pause prompting the technician to confirm readiness before resuming verification.

[0468] The medication verification system may comprise an audit trail module configured to log verification data in a data storage system. The audit trail module may store captured images, verification results, timestamps, user identifiers, weight data, behavioral data, and serialized sticker seal identifiers for each verification transaction. The audit trail module may support regulatory compliance requirements and provide documentation for post-incident review. In some cases, the audit trail module may utilize cryptographic signatures or tamper-evident storage to maintain data integrity. The audit trail module may be stored locally, on a customer-designated server, or on cloud-based infrastructure.

[0469] In some cases, the medication verification system may comprise a sticker seal applicator configured to apply a tamper-resistant serialized holographic sticker seal to the medication container upon successful verification. The sticker seal may comprise a serialized code linked to a corresponding transaction record in the audit trail module.

[0470] In some cases, the medication verification system may comprise an optical character recognition module configured to extract prescription label information from the medication container. The prescription label information may comprise at least one of a patient name, a medication name, a National Drug Code, a prescription number, a dosage, a quantity, an expiration date, or a lot number. The extracted prescription label information may be cross-validated against pharmacy dispensing records.

[0471] In some cases, the medication verification system may be deployed in various pharmacy environments, including retail pharmacies, institutional pharmacies, mail-order pharmacies, long-term care facilities, and sterile compounding environments. The medication verification system may be configured for tabletop deployment, conveyor-based workflows, or integration with automated dispensing systems.

[0472] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Expectation-Constrained Verification Architecture

[0473] In certain embodiments, the medication verification system may operate in an expectation-constrained verification mode in which an expected medication identifier is established prior to verification processing. Verification operations may be restricted to a constrained subset of reference representations associated with the expected medication identifier rather than performing unconstrained identification from a global medication database.

[0474] The expected medication identifier may be derived from prescription data, pharmacy workflow systems, dispensing systems, barcode information, formulary data, robotic dispensing systems, electronic medication administration records, packaging metadata, automated dispensing systems, or other structured medication workflow information.

[0475] In certain embodiments, the system may confirm consistency with an expected medication profile rather than identifying unknown medication objects. Verification may include comparison of one or more observed medication features against constrained reference data associated with the expected medication identifier. Such features may include imprint features, geometric features, spectral features, dimensional features, packaging features, metadata-derived features, or combinations thereof.

[0476] Verification may be performed during one or more pharmacy workflow stages including counting, filling, packaging, sealing, dispensing, transport, administration, return processing, recall handling, destruction workflows, or combinations thereof.

[0477] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Centralized Formulary Management and Remote Verification Governance

[0478] In certain embodiments, constrained reference datasets, formulary definitions, verification models, deterministic validation rules, calibration parameters, workflow policies, and operational thresholds may be centrally managed by a remote management infrastructure associated with the verification platform provider.

[0479] The centralized management infrastructure may maintain one or more master formulary datasets containing medication-specific verification data including reference images, embeddings, imprint expectations, spectral profiles, deterministic validation rules, packaging templates, workflow policies, calibration parameters, or combinations thereof.

[0480] In certain embodiments, deployed verification systems located within pharmacies, fulfillment centers, hospitals, automated dispensing environments, kiosk systems, robotic dispensing systems, or distributed fulfillment networks may periodically synchronize with the centralized management infrastructure to receive updated verification data.

[0481] Updates distributed from the centralized infrastructure may include formulary updates, reference dataset updates, machine-learning model updates, firmware updates, software updates, threshold adjustments, calibration updates, workflow-policy updates, security updates, audit-policy updates, or combinations thereof.

[0482] In certain embodiments, updates may be validated prior to deployment using controlled evaluation procedures configured to detect regression conditions, compatibility failures, or degradation of verification performance. The centralized management infrastructure may selectively deploy updates to subsets of deployed verification systems based on hardware configuration, deployment environment, regulatory jurisdiction, workflow type, formulary scope, software version, customer profile, or combinations thereof.

[0483] In certain embodiments, deployed verification systems may maintain audit records identifying deployed model versions, formulary versions, firmware versions, calibration states, deployment timestamps, update authorization records, or combinations thereof.

[0484] The centralized verification governance architecture may enable regulatory-grade consistency across distributed deployments while permitting controlled improvement of verification performance over time.

[0485] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Sensor-Agnostic Multi-Modal Feature Acquisition

[0486] In certain embodiments, verification feature acquisition may utilize one or more sensing modalities beyond conventional visible-spectrum imaging. Feature acquisition may include visible-spectrum imaging, monochrome imaging, color imaging, depth sensing, structured light sensing, infrared sensing, ultraviolet sensing, thermal sensing, spectral sensing, hyperspectral sensing, laser profiling, time-of-flight sensing, gravimetric sensing, barcode sensing, RFID sensing, magnetic sensing, fluorescence sensing, or combinations thereof.

[0487] Verification may be based on one or more visual, geometric, spectral, thermal, structural, gravimetric, textual, electromagnetic, or metadata-derived characteristics associated with medication objects, packaging systems, containers, carriers, or workflow identifiers.

[0488] In certain embodiments, multiple sensing modalities may be fused to generate composite verification representations associated with an expected medication identifier. In certain embodiments, the system may dynamically select sensing modalities based on operational mode, medication type, packaging geometry, environmental conditions, or verification confidence state.

[0489] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Verification Logic Architecture

[0490] Verification logic may comprise deterministic algorithms, probabilistic models, machine-learning models, neural-network systems, statistical classification systems, heuristic systems, rules engines, hybrid systems, or combinations thereof.

[0491] In certain embodiments, probabilistic analysis may be combined with deterministic rule-based validation. Deterministic validation operations may include imprint validation, barcode validation, label validation, packaging geometry validation, dimensional analysis, quantity validation, workflow-state validation, or combinations thereof.

[0492] Probabilistic analysis may include embedding similarity analysis, learned feature comparison, anomaly detection, probabilistic classification, multimodal similarity scoring, or combinations thereof.

[0493] In certain embodiments, deterministic validation conditions may operate as mandatory safety gates that must be satisfied prior to permitting a successful verification outcome.

[0494] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Multi-Workflow and Deployment Architecture

[0495] The disclosed verification architecture may be implemented within tabletop pharmacy verification stations, conveyor-based fulfillment systems, mail-order pharmacy systems, blister-card processing systems, robotic dispensing systems, automated dispensing machines, kiosk dispensing systems, central-fill systems, sterile compounding environments, hazardous drug handling systems, packaging systems, or distributed pharmacy fulfillment infrastructures.

[0496] Verification functionality may operate at one or more stages of medication preparation, counting, packaging, transport, storage, sealing, dispensing, administration, return processing, destruction workflows, or combinations thereof.

[0497] In certain embodiments, the system may operate within automated medication dispensing workflows in which robotic systems, conveyors, dispensing systems, or packaging systems coordinate medication handling operations under verification control.

[0498] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Distributed Cloud Edge Verification Architecture

[0499] In certain embodiments, the medication verification system may operate within a distributed computing architecture in which verification operations are performed across one or more local devices, edge-computing devices, cloud-computing systems, virtualized environments, remote servers, or hybrid processing infrastructures.

[0500] Verification processing may be performed entirely locally at a verification apparatus, entirely remotely within cloud infrastructure, or partially distributed across multiple coordinated processing nodes. In certain embodiments, image acquisition and preliminary preprocessing may be performed locally while feature extraction, probabilistic analysis, model inference, audit processing, or decision aggregation may be performed remotely.

[0501] In certain embodiments, multiple verification devices may communicate with centralized reference-management systems configured to distribute reference datasets, model updates, calibration parameters, audit policies, or operational thresholds across a distributed deployment environment.

[0502] Verification artifacts, audit records, captured images, embeddings, similarity scores, override records, or workflow metadata may be stored locally, remotely, redundantly, or within cloud-based infrastructure.

[0503] In certain embodiments, the distributed architecture may enable coordinated verification across pharmacy fulfillment centers, mail-order facilities, automated dispensing systems, robotic dispensing systems, kiosk dispensing systems, or geographically distributed pharmacy networks.

[0504] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Non-Bypassable Workflow Enforcement Architecture

[0505] In certain embodiments, successful verification may constitute a prerequisite condition for progression of one or more medication workflow stages.

[0506] Failure to achieve verification may automatically halt dispensing, sealing, packaging, release, transport, robotic transfer, inventory update, dispensing authorization, kiosk release, automated dispensing machine operation, conveyor advancement, or fulfillment processing operations.

[0507] In certain embodiments, workflow enforcement may operate within robotic dispensing systems, automated dispensing machines, conveyor-based fulfillment systems, mail-order pharmacy systems, kiosk dispensing systems, central-fill systems, or distributed pharmacy fulfillment environments.

[0508] In certain embodiments, deterministic safety gates may prevent medication release when mandatory verification conditions are not satisfied. Override operations may require authenticated supervisory authorization and may be preserved within an immutable audit log together with associated verification artifacts and override justification data.

[0509] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Package Lifecycle Serialization and Chain-of-Custody Verification

[0510] In certain embodiments, medication verification events may be linked to package lifecycle tracking systems configured to maintain chain-of-custody traceability throughout medication preparation, packaging, storage, transport, dispensing, administration, return processing, recall handling, or destruction workflows.

[0511] Verification events may be associated with serialized identifiers, tamper-evident seals, RFID devices, cryptographic identifiers, packaging identifiers, blockchain records, custody records, or audit-trail records.

[0512] In certain embodiments, the system may generate or associate serialized verification identifiers with medication containers, blister cards, transport packages, automated dispensing modules, dispensing carriers, or workflow containers.

[0513] Verification records may include timestamps, operator identifiers, verification artifacts, package identifiers, workflow state transitions, transfer events, inventory reconciliation data, or combinations thereof.

[0514] In certain embodiments, package lifecycle tracking may support recall tracing, diversion detection, inventory reconciliation, regulatory auditability, chain-of-custody monitoring, or package authenticity verification.

[0515] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Simulation-Generated Training and Digital-Twin Verification Modeling

[0516] In certain embodiments, verification models, reference datasets, or operational decision systems may be developed or refined using simulated environments, synthetic training data, procedurally generated scenes, reinforcement-learning systems, or digital-twin modeling architectures.

[0517] Training data may include real-world capture data, synthetic image generation, simulation-generated representations, procedurally generated medication scenes, augmented reference datasets, simulated lighting conditions, simulated packaging conditions, simulated occlusion states, or physically modeled medication representations.

[0518] In certain embodiments, multiple simulated verification agents may operate in parallel within virtualized environments to generate training data, optimize verification parameters, evaluate workflow configurations, or refine decision architectures prior to deployment in physical pharmacy environments.

[0519] In certain embodiments, reinforcement-learning systems or adaptive training systems may iteratively improve verification behavior based on simulated operational outcomes or feedback signals. Simulation-generated training systems may model robotic dispensing systems, automated dispensing machines, conveyor systems, blister-card systems, packaging workflows, medication-handling environments, or combinations thereof.

[0520] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Generalized AI Foundation Model and Autonomous Reasoning Integration

[0521] In certain embodiments, the medication verification system may incorporate one or more generalized artificial intelligence systems, multimodal reasoning systems, foundation models, autonomous reasoning agents, large vision-language models, probabilistic reasoning systems, or multimodal machine-learning architectures.

[0522] Such systems may process visual data, textual data, workflow metadata, sensor data, packaging data, audit data, operational context information, or combinations thereof to assist in medication verification operations.

[0523] In certain embodiments, generalized reasoning systems may operate under deterministic safety constraints that limit the ability of probabilistic reasoning outputs to override mandatory deterministic verification conditions.

[0524] Generalized reasoning systems may be selectively invoked during ambiguous verification states, insufficient observability states, escalation states, anomaly detection conditions, or fallback verification operations.

[0525] In certain embodiments, autonomous reasoning agents may coordinate multiple verification modules, sensing modalities, workflow systems, robotic systems, or distributed processing systems within a unified verification architecture.

[0526] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Guided Physical Reorientation and Observability Enhancement

[0527] In certain embodiments, the system may detect insufficient observability conditions and generate guided physical interaction instructions to improve verification observability.

[0528] Such interactions may include repositioning medication objects, flipping medication units, agitating or shaking containers or trays, reorienting blister packaging, redistributing medication objects within a scene, or combinations thereof.

[0529] In certain embodiments, such interactions may be performed manually, robotically, mechanically, pneumatically, vibrationally, or through automated conveyor or dispensing-system actuation.

[0530] Following physical interaction, the system may reacquire image data and reattempt verification using updated observational conditions.

[0531] In certain embodiments, insufficient observability conditions may include occlusion states, glare conditions, unreadable imprint states, insufficient feature visibility, unstable object positioning, inadequate lighting conditions, or combinations thereof. In certain embodiments, the system may limit the number of reorientation attempts prior to escalation or fail-safe workflow interruption.

[0532] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Closed-World Regulatory Verification Distinction

[0533] In certain embodiments, the disclosed medication verification architecture may operate as a closed-world verification system in which medication identity is constrained by workflow-derived expectation data prior to verification analysis. The system may therefore differ from unconstrained medication-identification systems configured to classify arbitrary unknown medication objects from global medication datasets.

[0534] In certain embodiments, an expected medication identifier may be established before execution of verification operations such that verification is restricted to determining consistency between observed medication characteristics and constrained reference data associated with the expected medication identifier.

[0535] The expected medication identifier may be derived from prescription workflow systems, pharmacy management systems, robotic dispensing systems, barcode data, formulary systems, packaging systems, electronic medical records, medication administration systems, automated dispensing systems, operator input, or combinations thereof.

[0536] Because verification may be constrained to an expected medication profile rather than unrestricted medication identification, the system may utilize expectation-bounded similarity analysis, deterministic validation rules, constrained OCR compatibility scoring, modality-specific validation logic, or probabilistic compatibility analysis relative to the constrained reference domain.

[0537] In certain embodiments, the disclosed architecture may function as a regulatory-grade verification system configured to confirm medication consistency within a known workflow context rather than as a general-purpose medication-identification engine.

[0538] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Autonomous Release-Authority and Dispensing Control Architecture

[0539] In certain embodiments, the medication verification system may function as an autonomous release-authority control system configured to selectively permit or deny progression of medication workflow operations based on verification status.

[0540] Verification outcomes may control one or more downstream workflow operations including medication dispensing, robotic transfer, conveyor advancement, package sealing, dispensing authorization, patient release, inventory transfer, automated dispensing machine release, kiosk dispensing, fulfillment progression, transport authorization, or combinations thereof.

[0541] In certain embodiments, successful verification may constitute a prerequisite condition for medication release within a pharmacy workflow. Failure to satisfy deterministic safety conditions, probabilistic verification thresholds, workflow-state validation rules, or constrained verification requirements may automatically suspend, halt, divert, quarantine, or deny progression of one or more medication workflow operations.

[0542] In certain embodiments, the verification system may operate as a non-bypassable safety gate positioned within an automated or semi-automated pharmacy fulfillment workflow.

[0543] Override authorization may require authenticated supervisory approval, multi-level authorization, biometric authentication, cryptographic authorization, remote pharmacist validation, dual-operator approval, or combinations thereof. Override events may be permanently associated with verification artifacts, operator identity, timestamps, justification data, workflow-state metadata, or audit-trail records.

[0544] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Continuous Model Governance and Operational Drift Management

[0545] In certain embodiments, the medication verification platform may continuously monitor operational verification performance to detect degradation conditions associated with model updates, dataset expansion, calibration drift, workflow variation, environmental changes, or operational anomalies.

[0546] Operational monitoring may include analysis of confidence-score distributions, similarity metrics, embedding-distance distributions, false-verification indicators, anomaly metrics, drift indicators, or combinations thereof.

[0547] In certain embodiments, updated verification models, reference datasets, calibration parameters, or operational thresholds may be validated against baseline performance metrics prior to deployment within live pharmacy workflows.

[0548] When operational metrics deviate from baseline conditions beyond predefined thresholds, the system may automatically initiate corrective actions including rollback procedures, threshold adjustment, retraining operations, recalibration procedures, suspension of automated verification, escalation for human review, or combinations thereof.

[0549] In certain embodiments, the system may maintain version-controlled audit records associated with deployed models, reference datasets, calibration states, and operational thresholds to support regulatory traceability and verification integrity.

[0550] Those of skill in the art will recognize other solutions which are intended to be within the scope of the present disclosure.Multi-Object Homogeneity and Foreign-Object Detection

[0551] In certain embodiments, the verification system may evaluate whether multiple medication objects present within a shared scene are mu...

Claims

1. A medication verification system, comprising:a scanning platform configured to receive a medication container;an imaging system comprising one or more cameras positioned to capture images of the medication container from multiple angles;a processor configured to:analyze the captured images using a machine learning model to identify at least one of a shape, a color, a size, or an imprint of a medication within the medication container;compare the identified medication characteristics against a formulary database; andgenerate a verification result based on the comparison; andan audit trail module configured to log the verification result, the captured images, a timestamp, and a user identifier in a data storage system.

2. The medication verification system according to claim 1, wherein the imaging system comprises a three-dimensional optical imaging module configured to capture depth data of the medication using at least one of stereo vision, LIDAR, or structured light sensors.

3. The medication verification system according to any one of claim 1, wherein the imaging system comprises:a first camera positioned above the scanning platform;a second camera positioned below a transparent surface of the scanning platform; anda third camera positioned at an angle relative to the scanning platform.

4. The medication verification system according to any one of claim 1, further comprising a weight validation module comprising a load cell or precision weight sensor integrated into the scanning platform, wherein the processor is configured to:measure a total weight of the medication container;a known container weight from the total weight to calculate a net medication weight; andcompare the net medication weight against an expected weight stored in the formulary database.

5. The medication verification system according to any one of claim 1, further comprising an optical character recognition module configured to extract prescription label information from the medication container, wherein the prescription label information comprises at least one of a patient name, a medication name, a National Drug Code, a prescription number, a dosage, a quantity, an expiration date, or a lot number.

6. The medication verification system according to any one of claim 1, further comprising a barcode recognition module configured to capture barcode data from the medication container without use of a handheld scanner.

7. The medication verification system according to any one of claim 1, further comprising a user interface configured to display the verification result using at least one of a visual indicator or an audible alert, wherein the visual indicator comprises a green indicator for a successful verification and a red indicator for a failed verification.

8. The medication verification system according to any one of claim 1, further comprising a sticker seal applicator configured to apply a tamper-resistant serialized holographic sticker seal to the medication container upon successful verification, wherein the sticker seal comprises a serialized code linked to a corresponding transaction record in the audit trail module.

9. The medication verification system according to any one of claim 1, wherein the machine learning model comprises a convolutional neural network trained to classify medications based on visual features.

10. The medication verification system according to any one of claim 1, wherein the processor is further configured to count individual pills within a blister card using the captured images, including blister cards containing multiple medications per cavity.

11. The medication verification system according to any one of claim 1, further comprising a behavioral monitoring module comprising an overhead camera and an artificial intelligence model configured to:monitor technician behavior during the verification process;detect indicators of inattentiveness, distraction, or procedural deviation; andgenerate an alert to a supervising pharmacist upon detection of the indicators.

12. The medication verification system according to claim 11, wherein the artificial intelligence model is configured to analyze at least one of gaze patterns, hand movements, or workflow consistency of the technician.

13. The medication verification system according to any one of claim 1, wherein the processor is configured to halt the verification process upon detection of the indicators and log behavioral data in the audit trail module.

14. The medication verification system according to any one of claim 1, wherein the audit trail module is configured to store at least one of high-resolution images, video footage, weight data, spectral analysis data, or serialized sticker seal identifiers for each verification transaction.

15. The medication verification system according to any one of claim 1, wherein the audit trail module utilizes at least one of cryptographic signatures or blockchain-backed timestamps to ensure data integrity.

16. The medication verification system according to any one of claim 1, wherein the processor is configured to perform narcotics validation by:measuring a remaining weight of a stock bottle after dispensing;comparing the remaining weight to an expected inventory level; andgenerating a discrepancy alert when the remaining weight deviates from the expected inventory level by more than a threshold amount.

17. The medication verification system according to any one of claim 1, further comprising a conveyor system integration module configured to:receive medication containers from an automated dispensing system;route verified medication containers to a downstream processing station; anddivert failed medication containers to a troubleshooting lane.

18. The medication verification system according to any one of claim 1, further comprising a robotic component configured to at least one of seal, sort, or route medication containers based on the verification result.

19. The medication verification system according to any one of claim 1, further comprising a blister card stacker configured to feed blister cards one at a time onto the scanning platform for automated verification.

20. The medication verification system according to any one of claim 1, wherein the imaging system is configured to perform visual classification at a rate of at least three medication units per second.