Patent Description:
In traditional pharmacy management techniques, medical dose orders may be provided to a printer that prints labels indicative of the medical dose order that are to be applied to finished doses once the doses are prepared. A pharmacy technician may be required to retrieve labels from a label printer and use those labels as work order travelers in the process of preparing each dose. Once the dose is prepared, the technician may apply a label to the dose. The completed, labeled dose may be set aside for a pharmacist to check along with, for example, source ingredients, medication receptacles used in the course of preparing the dose, and/or other material. In this regard, in order to check a dose, the pharmacist may be required to enter the clean room in which the doses are prepared and physically observe the materials associated with the dose order. As such, the checking of prepared doses may require the pharmacist to dress in protective clothing or equipment, which takes time and resources.

Furthermore, the only prompt a pharmacy may receive to prepare a medical dose order is the printing of the label. In this regard, if a label becomes lost or damaged, a dose may not be prepared. Additionally, prioritizing work also becomes difficult because the label stack at the label printer may be the only evidence of what doses have been ordered, prepared, and/or dispensed. As such, relying on physical labels alone to track doses may result in unprepared, lost, or duplicate doses. In some cases, pharmacies may produce duplicate labels as a matter of course such that the pharmacy must review each label against the other, already received labels, to determine if a label represents a new dose order that needs to be prepared. This practice may lead to increased administrative overhead in the pharmacy that add operational costs and reduce pharmacy efficiency.

Furthermore, while instructions for preparation of a drug may be recorded in official FDA-approved literature for the drug, pharmacy technicians may not reliably consult the literature when preparing doses. Rather, pharmacy technicians may memorize the steps needed for the most common drugs, and then generalize those steps to other drugs to be prepared without verifying the protocols associated with a particular drug. In this regard, if the dose order includes special instructions that a pharmacy technician does not recognize, references regarding the proper techniques may not be present or may not be consulted. Accordingly, dose orders including special instructions often must be prepared by more experienced technicians or at the direction of more experienced technicians. In either regard, the protocol used to prepare the dose may not conform to the FDA-approved literature for the drug being prepared.

Further still, in traditional pharmacy management techniques, the pharmacy technician may be responsible for creating records that are maintained in relation to doses that have been prepared and products from the formulary that were employed to make the dose. For example, a pharmacy technician may be tasked with transcribing information such as lot numbers, expiration dates, serial numbers, or the like. The manual creation of records requires labor intensive practices that may result in pharmacy inefficiencies, introduces the potential for errors in the records, and may result in virtually unsearchable paper records.

<CIT>) describes a system for holding a camera for acquiring images of preparations that includes a rail that can be mounted above a preparation surface. A camera carrier couples a camera with the rail such that the camera is movable relative to the rail and such that the camera can acquire images of preparations on the preparation surface. <CIT> describes a scanner using a background having grid-lines for foreground segmentation.

The invention, as roughly summarized below, is defined by the appended claims.

In this regard, the present disclosure relates to embodiments of a medical dose preparation management system. The medical dose preparation management system may be capable of receiving dose orders, creating digital dose orders from the received dose orders, and managing the digital dose orders. For example, the medical dose preparation management system may be operable to create and store information related to the preparation of medical doses. Such information may be used to verify a medical dose order by a pharmacist, track a medical dose order in a pharmacy or care provider, be retained in connection with the digital dose order record for auditing, compliance, or quality assurance purposes, or otherwise be utilized in the management of the dose order before or after administration to a patient. In other words, the medical dose preparation management system may provide, in an automatic manner, an improved system that allows tracking a medical dose order in a pharmacy or care provider. The medical dose preparation management system may provide, in an automatic manner that the medical dose be retained in connection with the digital dose order record for auditing, compliance, or quality assurance purposes, or otherwise be utilized in the management of the dose order before or after administration to a patient. Hence, the medical dose preparation management system provides an improved man machine interaction, among others meeting the high level of compliance requirements in drug manufacturing and distribution with little or without any interference of a human personnel necessary. One example of information that may be created and stored in connection with a medical dose order is one or more medical dose preparation images. For example, a work station at which a dose order is prepared may include an imaging device (e.g., a digital camera) capable of capturing images related to the preparation of the medical dose. In an embodiment, the medical dose preparation images may include medication receptacles used in the preparation of the dose including, for example, a source receptacle, a transference receptacle, and/or an administration receptacle. Accordingly, the medical dose preparation images may be used to document or evidence the preparation of a medical dose order. Thus, the system provides an improved man machine interaction since less or even no interaction by a human person is necessary and still allows for accurate and trustworthy documentation.

Given the potential for capturing and storing a large number of medical dose preparation images, it may be advantageous to reduce the size in memory of medical dose preparation images. However, as such images may be used in a variety of contexts (e.g., including during verification of dose orders by a pharmacist), image quality is generally of great concern such that resolution is preferably not reduced when storing medical dose preparation images. In this regard, reduction in the physical size of an image (i.e., cropping the image to remove uninformative or useless portions of the image) may be used to effectively reduce the size of a medical dose preparation image in memory without reducing the resolution of the image.

However, manually cropping each medical dose preparation image may be burdensome and increase the cost and time required to prepare doses. In this regard, an apparatus described herein may employ an auto cropping operation to automatically reduce the size in memory of medical dose preparation images. For example, a region of interest in an image may be determined. The region of interest in an image may be captured as a medical dose preparation image that eliminates at least a portion of image data not within the region of interest.

Thus, the amount of image data stored in memory may be reduced without a reduction in resolution of the corresponding image and/or the resolution of a captured image may be increased while maintaining or reducing the amount of corresponding image data stored in memory. That is, for a given image resolution, the amount of corresponding image data may be reduced by reducing the size of the image. Thus, with little hardware resources, e.g., little memory capacity, a large amount of data can be stored. Moreover, with little hardware resources, e.g., little processing power, image data can be processed.

Additionally or alternatively, for a given amount of image data, a higher resolution image may be stored if the corresponding image data is only that of a cropped portion of the image. Accordingly, if the amount of image data is reduced, the computational overhead required to process, store, or otherwise take action with respect to the image may be reduced such that work flows at the work station may occur more quickly. Additionally or alternatively, if the resolution of an image is increased, a review of the image may be improved by allowing for capture of finer details (e.g., to allow for magnification of the image during a review by a pharmacist or the like).

In this regard, a first aspect described herein includes an apparatus for processing medical dose preparation image data in a system for medical dose preparation management. The system includes an imaging device (e.g., a digital camera) having an imaging field encompassing a medical dose preparation staging region. The imaging device is operable to output digital image data (e.g., corresponding to still digital images, a digital video data stream, and/or other forms of digital image data) of the imaging field including the medical dose preparation staging region. The system also includes a processor in operative communication with the imaging device to receive the digital image data of the imaging field. The system allows for automation of documenting medical dose order preparation and/or delivery. In particular the system may allow for such automation at a very high speed and/or increased image resolution which would otherwise not be possible by a human person. In other words, the system advantageously combines digital image processing with medical dose order preparation and/or drug delivery that would otherwise not have been done, since, according to this application, data processing may be carried at a high speed and/or with increased image resolution.

The system of the first aspect may include a display that is in operative communication with the processor to receive the digital image data of the imaging field and display a corresponding image that is perceivable by a user. The processor is operable to process the digital image data to identify at least one region of interest within the imaging field corresponding to at least one medication receptacle disposed in the medical dose preparation staging region. As such, in the event a display is utilized as described above, the region of interest may be visually differentiated on the display by the processor in a manner perceivable by the user. Hence, by the system, without the need of physically controlling the imaging device or accessing one or more medication receptacles at the medical dose preparation staging region, by a human person, it is possible to allow for the high level of documentation desired in medical dose preparation and/or delivering. In other words, the system allows relieving the human person from and/or assisting the user in the task of manual steps to obtain detailed documentation (e.g., detailed image data). Even more, since the documentation is machine aided or even completely carried out by the machine, namely the system described in this application, the documentation is more reliably or trustworthy as compared to the documentation by a human person. It may even only be possible to assure such documentation since the system strictly follows machine rules without deviation such as are possible for a human person.

The system of the first aspect may also include a user control device that is in operative communication with the processor to initiate the capture of a medical dose preparation image data from the digital image data. Other embodiments may include other mechanisms for initiating the capture of a medical dose preparation image. In any regard, the medical dose preparation image data may include image data corresponding to at least a portion of the region of interest and may exclude at least a portion of the imaging field (e.g., corresponding to a portion of the image data outside the region of interest). The system may also include a memory in operative communication with the processor to receive and store the medical dose preparation image data. The user control device provides for improved man machine interaction due to, e.g., in connection with the processor automatically processing the image.

A number of feature refinements and additional features are applicable to the first aspect. These feature refinements and additional features may be used individually or in any combination. As such, each of the following features that will be discussed may be, but are not required to be, used with any other feature or combination of features of the first aspect.

In an embodiment, the processor may be operable to analyze the digital image data to identify the region of interest. For example, the processor may be operable to analyze a predetermined subset of the digital image data (e.g., a subset of the pixels of the digital image data) to identify the region of interest. The subset may correspond to a predetermined portion of the digital image data such that the analysis of the image data may be executed on a portion, but not the entirety of the digital image data.

In an application, the analysis may include comparing the digital image data to a background image of the medical dose preparation staging region. In this regard, the background image may not include any medication receptacle in the medical dose preparation staging region. That is, the background image may represent the appearance of the medical dose preparation staging region in the absence of any object (e.g., a medication receptacle or the like). Accordingly, the predetermined subset of the digital image data may be compared to a corresponding subset of the background image. For example, corresponding ones of the subset of pixels in the digital image data and the background image may be compared.

In an application, the plurality of pixels may extend across substantially the entire digital image data in at least a first direction (e.g., a width of the image data). Additionally, the plurality of pixels may extend across substantially all of the digital image data in a second direction perpendicular to the first direction (e.g., a height of the image data). As such, the plurality of pixels corresponding to the predetermined subset of the image data may form a grid over the digital image data. The grid may comprise grid lines that are spaced in relation to a known size of medication receptacles. For instance, the grid lines may be spaced such that at least two grid lines cross the medical receptacle in at least two dimensions (e.g., corresponding to both a width and a length of the receptacle) even for the smallest known medication receptacle to be imaged.

In an embodiment, the region of interest may be defined by a bounding area defined by a plurality of edges. Each of the plurality of edges may be disposed at an identified location of the predetermined subset of the digital image data (e.g., along at least a portion of a grid line) at least partially based on a threshold difference between the digital image data and the background image at the identified location. In one example, the processor may be operable to calculate intensity data for each pixel of the predetermined subset of the digital image data and for each pixel of the corresponding predetermined subset of the background image. The intensity data may be filtered (e.g., high pass and/or low pass filtering). The threshold difference may correspond to a predetermined difference in intensity data between the predetermined subset of the digital image data and the background image.

In various embodiments, the digital image data may include discrepancies relative to the background image that, rather than being attributable to the presence of a medication receptacle, are solely attributable to slight variations in positions of the background image relative to the background of the digital image data, lighting variations, or other minor discrepancies. In this regard, each pixel of the predetermined subset may be compared to a plurality of adjacent corresponding pixels from the background image. In this regard, insignificant variations related to the discrepancies disclosed above may be disregarded in the analysis.

In an application, the identified location resulting from the comparison of intensity data between the digital image data and the background image may correspond to one of a minimum and/or maximum threshold difference along the grid lines in a first direction and/or in a second direction. That is, two threshold differences may be identified in either or both of the first and second direction corresponding to the extents of the medication receptacle in the width and/or height dimension. In still another application, the identified location may be selected to correspond to the next most remote grid line of the grid exterior to the threshold difference in the first direction and in the second direction along the grid line. As such, if a portion of the medication receptacle extends beyond a grid line along which a threshold difference Is identified, the full portion of the receptacle may still be contained in the region of interest if the identified location is selected as the next remote grid line. Summarizing the above, the system provides an improved man machine interaction, e.g., by relieving the user from and/or assisting the user in the manual and/or mental task to control the imaging device or manipulate one or more medication receptacles.

A second aspect described herein includes a method for processing and capturing medical dose preparation image data. The method includes encompassing a medical dose preparation staging region in an imaging field of an imaging device. The method further includes obtaining digital image data of the imaging field. The method also includes identifying, at a processor in operative communication with the imaging device, a region within the imaging field corresponding to at least one medication receptacle disposed in the medical dose preparation staging region. The method may also include displaying the digital image data on a display. The region of interest may be visibly distinguished by the processor on the display in a manner that is perceivable by a user.

The method of the second aspect may also include receiving an input from a user control device to initiate capture of medical dose preparation image data from the digital image data. The medical dose preparation image data includes image data corresponding to at least a portion of the region. The method further includes storing the medical dose preparation image data in a memory. In various method embodiments, the method may employ a system comprising any of the system features described herein.

According to yet another aspect, a computer program product is provided that can be stored on a computer readable medium and/or can be implemented as computer processable data stream, wherein the computer program product comprises computer processable instructions, which instructions when read in the memory of a computer and executed by the computer cause the computer to carry out the method(s) as described in general above, and in more specific examples below.

A number of feature refinements and additional features are applicable to the second aspect. These feature refinements and additional features may be used individually or in any combination. As such, each of the following features that will be discussed may be, but are not required to be, used with any other feature or combination of features of the second aspect.

For example, the speed at which the identifying operation occurs may be important to the method of the second aspect. As may be appreciated, the volume of dose orders prepared in a pharmacy or the like may be relatively large. As such, efficient preparation of the medical dose order may be of great importance. In this regard, it may be desirable to have any auto cropping operation occur relatively quickly so as to prevent preparation delays when preparing the medical dose order.

Accordingly, in an embodiment, the digital image data may comprise a video stream data. In this embodiment, the identifying may occur more rapidly than a refresh rate of the video data stream. As such, each successive frame of the video data stream may undergo the auto cropping operation without slowing the speed at which the video data stream is captured or displayed.

While the above statements provide a rough outline of the following description, the present invention is defined by the appended claims.

As mentioned, the invention is defined by the appended claims, while the following detailed description may be of assistance in understanding.

<FIG> shows an embodiment of a system <NUM> that may be used at a care provider pharmacy <NUM> to assist in the preparation and/or management of medical doses. The system <NUM> may include a dose order input <NUM> to receive medical dose orders. The dose order input <NUM> may be utilized by care provider personnel (e.g., physicians, nurses, etc.) to order medical doses.

The medical dose orders received at the dose order input <NUM> may be specific to patients or may be orders that are not associated with a patient at the time of ordering. In this regard, the medical dose order may correspond to a contained medication unit that may comprise one of the following:.

Examples of contained medication units that may correspond to medication dose orders include:.

In the latter regard, nutritional supplements may include total parenteral nutrition (TPN) or components of TPN. Furthermore, nutritional supplements may include partial nutritional supplements. The nutritional supplements may include a pre-mix bag, base and additive components separately or in combination, or other forms of nutritional supplements or components thereof. The nutritional supplements may be for administration via intravenous injections, in an edible form, or for use with a feeding tube or the like.

In any regard, the medical dose may include one or more portions of information that may be used to assist in preparation of the mediation dose, may be associated with the administration of the dose order to a patient, or may otherwise relate to the dose order. For example, the dose order may include information corresponding to:.

In any regard, the medical dose orders may be communicated to a medical dose preparation management system <NUM>. The medical dose preparation management system <NUM> may be operable to acquire <NUM> dose order data from the dose order information received from the order processor <NUM>. The medical dose preparation management system <NUM> may also preprocess <NUM> dose order data. The preprocessing <NUM> may include, for example, generating a digital dose order record that is maintained by the medical dose preparation management system <NUM>. The digital dose order record may be automatically populated with data that may be obtained from the order such as, for example, any of the information described above in connection with the medical dose order. In this regard, information may be parsed, scraped, or otherwise obtained from the medication dose order received at the order input <NUM>. Specifically, in an embodiment, the medical dose preparation management system <NUM> may be operable to scrape data addressed to a human readable output (e.g., a printer) from the order input <NUM> to populate the medical dose order record with data corresponding to the medical dose order.

In an embodiment, the medical dose preparation management system <NUM> may be in operative communication with a medication dose order database <NUM>. In this regard, the medication dose order database <NUM> may be located at the care provider facility (i.e., be on-site relative to the care provider hospital <NUM>). The medical dose preparation management system <NUM> may additionally or alternatively be operable to communicate with a remote medication dose order database <NUM>. In this regard, the medical dose preparation management system <NUM> may communicate with the remote medication dose order database <NUM> via a network or the like. In either regard, the medication dose order database <NUM> or <NUM> may be operable to store medication dose order records in the medication dose order database <NUM> and/or <NUM>. In addition, the medication dose order database <NUM> or <NUM> may store dose order metadata in corresponding relation to respective ones of the stored medication dose orders. The medication dose order database <NUM> or <NUM> may store active dose orders (e.g., corresponding to dose orders that have been generated but not yet administered to the patient) or archived dose orders (e.g., corresponding to dose orders that have been administered to a patient). Redundant data may be stored at the on-site medical dose order database <NUM> and the off-site medical dose order database <NUM>. For example, the off-site medical dose order database <NUM> may be a backup version of the on-site medical dose order database <NUM>.

In any regard, medical dose order metadata may be stored in corresponding relation to a medication dose order. The medical dose order metadata may include, for example, the following types of data:.

As may be appreciated from the foregoing description of the medical dose order metadata, a medical dose order may inherit metadata from components used in the preparation of the medical dose order. In a simple example, a medical dose order may include a first component (e.g., a drug) to be mixed with a second component (e.g., a diluent). The first component may have one or more portions of metadata as described above that are associated with the first component. Additionally, the second component may have one or more portions of metadata as described above that are associated with the second component. Thus, a medical dose order that is prepared using the first component and the second component may inherit the metadata from each of the first component and second component. In this regard, a plurality of generations of metadata may be compiled and attributed for a given medical dose order. In an embodiment, metadata for any and all components used to prepare the dose order may be compiled and attributed for a given medical dose order. As such, metadata information for the medical dose order may include metadata originating with source components provided by a manufacturer of the components of a dose order.

The medical dose preparation management system <NUM> may also be operative to organize <NUM> dose orders. The organization <NUM> may include prioritization, scheduling, or other tasks associated with the organization or management of dose orders. The medical dose preparation management system <NUM> may also be operative to route <NUM> dose orders to an appropriate work station <NUM> for use in fulfillment of the dose order. In this regard, a plurality of work stations <NUM> may be provided in communication with the medical dose preparation management system <NUM>. Different ones of the plurality of work stations <NUM> may each be suited for different operations related to medical dose order management. As such, depending on the nature of a medical dose, a particular type of work station <NUM> may be used to prepare the dose. The work station <NUM> may be on-site relative to the care provider hospital <NUM> as depicted in <FIG> or may be off-site. In this regard, the routing <NUM> may include communications over a network to a remote work station <NUM>. Furthermore, the system <NUM> may include a combination of on-site work stations <NUM> as well as off-site work stations <NUM> to which dose orders may be routed <NUM>.

In any regard, the medical dose preparation management system <NUM> may be in operative communication with one or more work stations <NUM>. The routing <NUM> of dose orders may be at least partially based on one or more factors related to the dose order or the preparation of the dose order. For example, as stated above, the nature of the contained medication unit corresponding to the dose order (e.g., whether a dose order is a chemotherapy dose order, a parenteral dose order, or other specialized dose order) may factor into a determination regarding the routing <NUM> of the dose order. Additionally or alternatively, the capabilities of the various work stations <NUM> in relation to the manner in which the dose order is to be prepared may be considered. For example, some orders may require different levels of containment, hooding, or other precautions that may or may not be provided at each work station <NUM>. In an embodiment, other parameters such as technician schedules, work station schedules, work station location, medication dose order scheduling information, or other information may be used alone or in combination to route <NUM> dose orders to a particular work station <NUM>.

At the work station <NUM>, a work flow corresponding to the preparation of the medical dose order may be displayed <NUM>. In this regard, a work flow that is specific to the medical dose order currently being prepared at the work station <NUM> may be presented to a technician at the work station <NUM> to assist or provide guidance to the technician preparing the dose order. Accordingly, the technician may follow a sequence of steps to prepare the medical dose based on the work flow displayed <NUM> that relates to the dose order.

During and/or after the preparation of the dose order, the work station <NUM> may be used to assist in obtaining <NUM> dose order metadata related to the medical dose order. For example, the work station <NUM> may allow for recording of documentation regarding the preparation of the medical dose such as, for example, acquiring barcode scans of products, capturing medical dose preparation images of medical dose order receptacles during or after use in the preparation of the dose, or obtaining other information related to the preparation of the dose. In an embodiment, one or more of the types of data described above in relation to the medication dose metadata may be acquired in connection with the preparation of the medical dose order at the work station <NUM>.

At least a portion of the dose metadata obtained <NUM> regarding the medication dose may be stored for viewing by appropriate personnel (e.g., a pharmacist). In this regard, the dose metadata may be utilized to verify <NUM> the prepared dose prior to the dose being dispensed from the pharmacy <NUM>. In an embodiment, the metadata collected at the work station <NUM> may be made available to a pharmacist via a network. In this regard, a pharmacist tasked with verifying <NUM> a dose order may access the information and/or data remotely (e.g., in a location in the hospital but outside the IV room or even entirely remove from hospital premises via the network). The ability to remotely access the metadata may allow the pharmacist to avoid having to enter the IV room to verify <NUM> a dose order (i.e., thus avoid the potentially burdensome gowning procedures commonly associated with entering the controlled environment of an IV room). The verifying <NUM> may include inspection of medical dose preparation images, obtained information, or other data regarding the medical dose order by the pharmacist. For example, the pharmacist may verify the correct medication was prepared in the correct manner and/or in the correct amounts based on metadata gathered and stored during the preparation of the medical dose order. If the medication dose order is incorrect in any regard, the pharmacist may request the medication dose order be reworked or restarted.

Once the dose order has been prepared and verified <NUM>, the medical dose preparation management system <NUM> may dispense <NUM> the dose order. When dispensing <NUM> the dose order, the dose order may be dispatched from the pharmacy <NUM> for administration to a patient by the care provider. For example, the dose may be administered at the care provider hospital <NUM> or an offsite location under the direction or supervision of the care provider.

The medical dose preparation management system <NUM> may also facilitate tracking <NUM> of the dose order to administration to the patient. The pharmacy work flow manager <NUM> may also retain records associated with each dose that may be stored or archived. For example, the records may be stored digitally in electronically indexed and searchable form. The records may include at least a portion and preferably all metadata regarding each dose.

With further reference to <FIG>, a schematic view depicting an embodiment of a work station <NUM> is shown. The work station <NUM> may include a processor <NUM> in operative communication with an imaging device <NUM>. The imaging device <NUM> may be a digital camera operable to output digital image data. The digital image data may comprise still images and/or digital video. In this regard, the imaging device <NUM> may output a video data stream <NUM> that is received by the processor <NUM>. In this regard, the processor <NUM> may include a video data stream processing module <NUM> for processing the video data stream <NUM> received at the processor <NUM> from imaging device <NUM>. While the various components shown in <FIG> are shown in direct communication, the various components may also be in operative communication by way of a network interface or the like.

The imaging device <NUM> may include an imaging field <NUM>. The imaging field <NUM> may encompass a medical dose preparation staging region <NUM>. The imaging device <NUM> may be supportably mounted to a base <NUM>. For example, a support <NUM> may extend from the base <NUM> to the imaging device <NUM> to support imaging device <NUM> relative to the base <NUM>. In this regard, in an embodiment the medical dose preparation staging region <NUM> may include a support surface <NUM> of the base <NUM>. The medical dose preparation staging region <NUM> may also include a volume above the surface <NUM> (e.g., extending from the surface in a direction normal to the surface and/or toward the imaging device <NUM>). In any regard, the imaging field <NUM> of the imaging device <NUM> may encompass the medical dose preparation staging region <NUM> that may supportably receive a medication receptacle <NUM>. In turn, the imaging device <NUM>, support <NUM>, and base <NUM> may collectively define a camera stand <NUM>. As such, the camera stand <NUM> may be used at a work station <NUM> to support the imaging device <NUM> relative to the base <NUM> to obtain medical dose preparation image and/or other metadata during the preparation of the medical dose order.

The medication receptacle <NUM> supportable by the base <NUM> in the medical dose preparation staging region <NUM> may include any material, container, apparatus, or other object that is used in the preparation of a dose. For example, the medication receptacle <NUM> may be or include a source receptacle, a transference receptacle, or an administration receptacle. A source receptacle may store a medication product as stored in the pharmacy prior to compounding or dose preparation. In this regard, the source receptacle may be a receptacle as packaged by and received from a drug manufacturer. As such, the source receptacle may include information thereon relating to the medication. For example, the product name, concentration, amount, lot information, expiration information, a serial number, other manufacturing Information or other Information may be associated with the medication and/or may appear on the source receptacle. The medical dose preparation management system <NUM> may be operable to store metadata regarding the source receptacle including any of the foregoing portions of data that may appear on the source receptacle. In this regard, the source receptacle may be identifiable by the work station <NUM> (e.g., via the use of a machine readable indicium such as a bar code or the like).

Furthermore, the medical dose preparation management system <NUM> may be operable to attribute metadata from the source receptacle to the dose order in which the source receptacle is used as described above. The source receptacle metadata may even be attributed to or appended to the metadata for the medical dose order when the source receptacle comprises a pre-prepared medication that has been compounded at the pharmacy and disposed in the source receptacle for later use in the preparation of a dose. In this regard, the metadata for several generations of components used to prepare a medical dose order (e.g., originating from original source components received from a manufacturer such as a drug manufacturer) may be attributed to the medical dose order. As such, the medical dose order metadata may include information regarding all components used in the medical dose order including inherited metadata. The metadata for the various components may be retrieved upon identification of the receptacle <NUM> at the work station <NUM> (e.g., by way of scanning a machine readable indicium). In various embodiments, the source receptacle may include a vial, a syringe, a bottle, a bag, or other appropriate medication receptacle known in the art.

An administration receptacle may be any receptacle used during the administration of the medical dose to the patient. The administration receptacle may contain any medication, diluent, supplement, or any other material to be administered to the patient. In various embodiments, the administration receptacle may include a syringe, an IV bag, or other appropriate medication receptacle used in the administration of a substance to patient. An administration receptacle may also include metadata that is included in the metadata for the prepared medical dose order.

The transference receptacle may be used to transfer a substance from a source receptacle to the administration receptacle. For example, the transference receptacle may be a syringe or any other appropriate receptacle known in the art capable of transferring a substance from the source receptacle to the administration receptacle. A transference receptacle may also include metadata that is included in the metadata for the prepared medical dose order.

Returning to <FIG>, the processor <NUM> may be in further operative communication with a display <NUM>. In this regard, the video data stream <NUM> received from the imaging device <NUM> may be displayed on the display <NUM> in a manner that is perceivable by user. The video data stream <NUM> displayed on the display <NUM> may be processed by way of the video data stream processing module <NUM>. For example, the video data stream processing module <NUM> may be operable to capture still images from the video data stream <NUM>. The video data stream <NUM> may include a series of images displayed at a given frame rate. For example, the frame rate may be <NUM>-<NUM> frames/second. In another embodiment, the imaging device <NUM> may provide still images to the processor <NUM>. In this regard, it may be appreciated that the discussion presented below, while described in the context of processing video data stream <NUM>, may also be performed in the context of still digital images (e.g., on images one at a time when requested in response to a user command or the like).

The video data stream processing module <NUM> of the processor <NUM> may also be operative to capture a medical dose preparation image from the video data stream <NUM> received from the imaging device <NUM>. Medical dose preparation images captured by the video data stream processing module <NUM> may include one or more medication receptacles <NUM> used in the course of preparing a medical dose order. In this regard, the preparation of medical dose orders may be documented by capturing images of the medication receptacles <NUM> used to prepare the dose. The medical dose preparation images may be stored as metadata regarding the medical dose order. A medical dose preparation image may include one or more medication receptacles at various stages during the preparation of the dose. For example, a source receptacle, a transference receptacle, or an administration receptacle may be imaged before, during or after preparation of the dose.

The medical dose preparation images captured by the video data stream processing module <NUM> may be stored in a memory <NUM> in operative communication with the processor <NUM>. In this regard, the medical dose preparation images may be stored locally in the memory <NUM> at the work station <NUM>. Additionally or alternatively, the medical dose preparation images may be communicated to a remote location (e.g., an on-site medication dose order database <NUM> or an off-site medication dose order database <NUM> shown in <FIG>) by way of a network interface <NUM> in operative communication with the processor <NUM>. In any regard, medical dose preparation images may be accessible such that images may be later reviewed in the course of verifying (e.g., the verifying <NUM> described above in relation to <FIG>) the medical dose order and/or for maintaining records regarding the dose orders prepared by the work station <NUM> and/or the hospital pharmacy <NUM> generally.

The processor <NUM> may also be in operative communication with a user control device <NUM>. The user control device <NUM> may be operable to receive an input from a user (e.g., a pharmacy technician preparing a dose). The user control device <NUM> may be, for example, a foot pedal, a button, a touch screen, a mouse, a keyboard, or other user input device known in the art. A user may utilize the user control device <NUM> to trigger the capture of a medical dose preparation image from the video data stream <NUM>. For example, a medication receptacle <NUM> may be viewed by the user by observing the display <NUM> displaying the video data stream <NUM> captured by the imaging device <NUM> of imaging field <NUM> including the medication receptacle <NUM>. Once the image displayed on the display <NUM> is acceptable to the user, the user may use the user control device <NUM> to trigger the capture of the medical dose preparation image for storage in the memory <NUM> or in a remote database as described above.

The work station <NUM> may also include a printer <NUM> that is operative to print dose labels associated with a medical product, a dose that is in progress, and/or a completed dose. In this regard, the printer <NUM> may be a label printer operative to print labels used in the pharmacy <NUM> and/or hospital in connection with metal doses and/or medical dose orders.

It may be appreciated that in the course of preparing medical dose orders in a hospital <NUM>, the number of medical dose preparation images captured in connection with dose orders may be extremely large. For example, a plurality of images may be captured in connection with each dose prepared. For most hospitals, the number of doses prepared daily may be on the order of hundreds of doses or more. In this regard, the memory resources necessary to store images captured in connection with the preparation of medical dose orders may be large, especially considering the practice of hospitals of storing archived images for dose orders.

Furthermore, because medical dose preparation images may be used by a pharmacist to verify medical dose orders prior to dispensing orders from the pharmacy, image resolution may be at a premium in order to facilitate accurate review by the pharmacist of images. Accordingly, the need for large memory resources dedicated to storing medical dose preparation images is exacerbated. Accordingly, any reduction in image size (e.g., as represented by the size of the image in memory) may be advantageous to reduce the memory resources required for storage of images and/or to allow more efficient use of memory resources available for the storage of medical dose preparation images.

As such, capturing medical dose preparation images including the entire imaging field <NUM> may be an inefficient use of memory resources. Cropping images to retain relevant portions of the imaging field <NUM> (i.e., those containing medication receptacles <NUM>) for storage may be a more efficient use of memory resources than storing an image of the entire imaging field <NUM>. For example, for a given resolution, the overall image dimensions may be reduced to reduce the size in memory of the image. Additionally or alternatively, for an image with reduced overall dimensions, the image resolution may be increased without an increase in the size of the image in memory compared to an image of the entire imaging field <NUM> at a reduced resolution.

However, requiring an operator to manually crop each image of the imaging field <NUM> may add time to the preparation of medical dose orders. This may result in increased costs associated with preparation of medical disorders or be undesirable based on scheduling requirements for doses, especially "stat" doses that may be critical to the life of a patient. In this regard, the video data stream processing module <NUM> may be operative to perform an auto cropping operation on the video data stream <NUM> acquired by the imaging device <NUM> so as to identify relevant portions of the video data stream <NUM> for storage to reduce the memory resources needed to store medical dose preparation images while not impacting the speed of the preparation of medical dose orders.

In an embodiment, an auto cropping operation may involve comparing the video data stream <NUM> with a background image to identify a region of interest corresponding to an object disposed in the imaging field in the video data stream <NUM>. With further reference to <FIG>, an example of a still image representing one instance in time of the video data stream <NUM> acquired by the imaging device <NUM> of the medical dose preparation staging region <NUM> is depicted. The medical dose preparation staging region <NUM> may include medication receptacle engagement features such as grooves <NUM>, channels <NUM>, or other features adapted to engage medication receptacles <NUM> to retain medication receptacles <NUM> stationary in the medical dose preparation staging region <NUM>. In <FIG>, no medication receptacles <NUM> are present such that the medical dose preparation staging region <NUM> is devoid of any objects. This image may be captured as a background image <NUM> that depicts the appearance of the medical dose preparation region <NUM> in video data stream <NUM> when no medication receptacles <NUM> are present. Of note, the base <NUM> may extend across the entire imaging field <NUM> to occupy substantially all of the background in the image field <NUM>. The background image <NUM> may be compared during the auto cropping operation to a video data stream <NUM> from the imaging device <NUM>. The background image may be stored remotely or locally (e.g., in the memory <NUM> of the work station in a background image store <NUM>).

In an embodiment, a plurality of background images <NUM> may be obtained such that different ones of the plurality of background images <NUM> are employed in the auto cropping operation depending upon the location and/or orientation of the imaging device <NUM>. For example, the imaging device <NUM> may be positionable in a plurality of positions. Accordingly, depending upon the position of the imaging device <NUM>, the background image <NUM> may differ. In this regard, a sensor may be provided to determine the position in which the imaging device <NUM> disposed such an appropriate corresponding one of the plurality of background images may be used based on the identified position of the imaging device <NUM>.

In any regard, after a background image <NUM> has been attained, one or more medication receptacles <NUM> may be disposed in the medical dose preparation staging region <NUM> as depicted in <FIG>. For example, as shown in <FIG>, a syringe 100a and a vial 100b have been disposed in the medical dose preparation staging region <NUM>. As can be appreciated, the medication receptacle engagement features (<NUM>, <NUM>) may at least generally correspond to the medication receptacles <NUM> disposed in the medical dose preparation staging region <NUM>. In any regard, the video data stream <NUM> obtained from the imaging device <NUM> may now include the medication receptacles 100a and 100b as shown in <FIG>. The auto cropping operation may generally include comparing the background image <NUM> obtained of the medical dose preparation staging region <NUM> without medication receptacles <NUM> disposed thereon to the video data stream <NUM> including medication receptacles <NUM> having been disposed in the medical dose preparation staging region <NUM> to determining regions of interest corresponding to the medication receptacles <NUM>.

In this regard, upon analysis of the differences between the background image <NUM> and video data stream <NUM>, a plurality of locations representing differences between the video data stream <NUM> and the background image <NUM> corresponding to the medication receptacles <NUM> may be determined such that regions of interest encompassing the medication receptacles <NUM> may be determined. In turn, the medical dose preparation images captured may contain image data corresponding only to the regions of interest identified including the medication receptacles <NUM> and may exclude a portion or all of the imaging field <NUM> outside the region of interest.

In an embodiment, a subset (e.g., a predetermined subset) of the video data stream <NUM> may be compared to a corresponding subset of the background image <NUM> to identify differences between the video data stream <NUM> and the background image <NUM> corresponding to the presence of medication receptacles <NUM>. By comparing only a subset of the video data stream <NUM> against a corresponding subset of the background image <NUM>, the amount of data to be processed may be reduced such that the auto cropping operation may occur more quickly to prevent the slowing of the preparation of medical doses.

In this regard, the auto cropping operation described herein may occur substantially faster than a method where every pixel of an image is analyzed to determine differences between a video data stream <NUM> and a background image <NUM>. As such, the auto crop operation described herein may provide an accurate automatic crop operation with a very fast execution time. For example, the auto crop operation described herein may occur for a given frame of the video data stream <NUM> prior to obtaining the next frame in the video data stream <NUM>. For example, in the embodiment where the imaging device <NUM> to collects video at <NUM>-<NUM> frames per second, the auto cropping operation may be completed faster than the frame rate of the imaging device <NUM> (i.e., at least within <NUM> for a frame rate of <NUM> frames/second). That is, the auto cropping algorithm may execute in a time less than the refresh rate of the video data stream. In this regard, the auto cropping operation may identify a region of interest for each image in the video data stream <NUM> prior to obtaining the next image in the video data stream <NUM>.

With reference to <FIG>, an embodiment of a potential subset of the video data stream <NUM> is shown that may correspond to selected pixels of the video data stream <NUM>. For example, the pixels comprising the subset of the video data stream <NUM> may be taken along a plurality of horizontal grid lines <NUM> and a plurality of vertical grid lines <NUM> as depicted in <FIG>. As such, the horizontal grid lines <NUM> may extend in a first direction corresponding to the width of the medical dose preparation staging region <NUM>. For example, the horizontal grid lines <NUM> may extend across substantially the entire width of the medical dose preparation staging region <NUM> and/or the entire width of the Imaging field <NUM>. The vertical grid lines <NUM> may extend in a second direction corresponding to the length of the medical dose preparation staging region <NUM>. For example, the vertical grid lines <NUM> may extend across substantially the entire length of the medical dose preparation staging region <NUM> and/or the entire length of the imaging field <NUM>.

The grid lines <NUM> and <NUM> may extend in at least two directions over the imaging field such that the length and the width of a region of interest may be determined relative to the grid lines <NUM> and <NUM>. With further reference <FIG>, a corresponding predetermined subset of pixels taken along grid lines <NUM>' and <NUM>' in the background image <NUM> corresponding to grid lines <NUM> and <NUM> shown in <FIG> may be used in the comparison.

The grid spacing of the predetermined portion of the video data stream <NUM> and the background image <NUM> may be selected based on the smallest object anticipated to be imaged. For example, the spacing of the grid lines <NUM>, <NUM> may be selected such that the least two grid lines <NUM>, <NUM> cross any medication receptacle <NUM> that may be placed in the medical dose preparation staging region <NUM> such that the extent of the bounding area may be accurately determined for each medication receptacle <NUM>.

With additional reference to <FIG>, the data compared during the auto cropping operation may correspond to data extracted from each pixel along each gridline of the video data stream and the background image. For example, <FIG> shows a medication receptacle <NUM> that has been disposed in the imaging field <NUM>. For purposes of illustration, a single horizontal line <NUM> is shown which intersects the lateral edges <NUM> and <NUM> of the medication receptacle <NUM>.

The video data stream processing module <NUM> may extract color bitmap data along the horizontal line <NUM>. The video data stream processing module <NUM> may convert the data for each pixel taken along the horizontal line <NUM> into an array of grayscale data corresponding to intensity data for each pixel. In one embodiment, the video data stream processing module <NUM> may convert grayscale data for each pixel into a quantitative value representing the relative color of the grayscale data for each pixel between white and black. For example, an <NUM> bit value may be established on a scale of <NUM>-<NUM> where zero represents black and <NUM> represents white for a pixel. Accordingly, the intensity data for each pixel may correspond to a value representative of the pixels location in the grayscale between white and black.

Various processing techniques may be applied to the intensity data of the pixels taken along the horizontal line. For example, a transform of the data into the frequency domain using a mathematical transform (e.g., fast Fourier transform (FFT)) may be applied to the intensity data. <FIG> depicts the results one example of an FFT of data taken along the horizontal line <NUM> from <FIG>. A first line <NUM> corresponds to data from the video data stream <NUM> depicted in <FIG> including the medication receptacle <NUM> and a second line <NUM> corresponds to data from a corresponding horizontal line in a background image of the imaging field of <FIG> without the medication receptacle <NUM>.

As can be appreciated from <FIG>, significant low-frequency content up until about <NUM>% full frequency is present. Any deviation of the first line <NUM> from the second line <NUM> in the higher frequencies may result from effects of the FFT process and may not be real. Accordingly, a high pass cutoff frequency may be established to effectively eliminate low-frequency intensity changes. The threshold for high pass filter may be selected considering that too low a high pass filter threshold may eliminate robustness against lighting changes, which will mostly show up as low-frequency data in the FFT plot.

With further reference to <FIG>, the raw intensity data for pixels taken along the horizontal line <NUM> of the video data stream shown in <FIG> is plotted using plot line <NUM> and raw intensity data for pixels taken along a corresponding horizontal line of a background image is plotted using plot line <NUM>. The vertical axis of the plot in <FIG> represents intensity data (e.g., quantified grayscale data as described above) and the horizontal axis represents pixel location along the horizontal line of <FIG>. Vertical lines <NUM> and <NUM> in <FIG> represent the location in the plot of <FIG> of the lateral edges <NUM> and <NUM>, respectively, of the medication receptacle <NUM> shown in <FIG>. As may be appreciated, the deviation between the video data stream plot line <NUM> and the background image plot line <NUM> may not include sharp edges such that the location of the edges <NUM>, <NUM> of the medication receptacle <NUM> may be difficult to detect using the raw intensity data.

However, <FIG> (whose axes also represent deviation in intensity along the vertical axis and pixel location on the horizontal axis) depicts a similar plot having undergone high pass filtering. As may be appreciated, the deviations at the left edge <NUM> (represented by vertical line <NUM>) and at the right edge <NUM> (represented by vertical line <NUM>) of the medication receptacle <NUM> are more pronounced such that the edge <NUM>, <NUM> of the medication receptacle <NUM> may be detected. Note that this is even the case on the left lateral edge <NUM> of the medication receptacle <NUM> were no label is present at the edge <NUM> in the video data image of <FIG>. In this regard, the left edge <NUM> represents a "soft edge. " The term "soft edge" is intended to denote a situation where an edge of the medication receptacle <NUM> does not have a label portion present at the edge as is shown on the left side <NUM> of the medication receptacle <NUM> in <FIG>. That is, a soft edge may correspond to a completely translucent or transparent edge portion of the medication receptacle <NUM>. It may be appreciated such soft edges may present less pronounced differences between the video data stream data in the background image data as can be appreciated in comparing the deviations on the left side (<NUM>) and right side (<NUM>) of the plot in <FIG>, respectfully. However, upon inspection of the filter data in <FIG>, the edges of the medication receptacle <NUM> are clearly denoted and may be identified.

Furthermore, processing may be performed on the intensity data for each pixel to assist in improving the accuracy of the auto cropping operation. For example, the intensity data may be filtered using any number of additional or altemative filtering techniques known the art.

Additionally, the rate of change of the intensity along each grid line <NUM>, <NUM> rather than raw intensity data for each pixel may provide a more accurate measure of the presence or absence of a medication receptacle <NUM> disposed in a medical dose preparation staging region <NUM>. In this regard, the derivative of the raw intensity data <NUM> may be calculated to reflect the rate of change of intensity along each grid line <NUM>, <NUM> to assist in determining the location of an edge of a medication receptacle <NUM> disposed in the medical dose preparation staging region <NUM>.

Furthermore, during the correlation of the subset of the video data stream <NUM> with the background image <NUM>, each pixel of the video data stream <NUM> may be compared to a directly corresponding pixel in the background image <NUM> or each pixel of the video data stream <NUM> may be compared to a plurality of pixels within a certain predetermined distance along the corresponding grid line in the background image <NUM> of a directly corresponding pixel. For example, any given pixel for the video data stream <NUM> may be compared to pixels within about +/- <NUM> pixels of the directly corresponding pixel in the background image <NUM>. Thus, slight variations between the position of the background image <NUM> relative to the video data stream <NUM> and/or minor lighting variations may be accommodated that may otherwise be attributed to identified edges of medication receptacles <NUM>. For example, the video data stream <NUM> corresponding to the background image <NUM> may move slightly and/or be subject to slightly different lighting such that minor variations may occur. However, by comparing a given pixel in the video data stream <NUM> with a range of pixels in the corresponding background image <NUM>, and minor variations may be accounted for.

Based on the analysis of the video data stream <NUM> in relation to the background image <NUM>, the edges of a given medication receptacle <NUM> may be determined along each grid line <NUM>, <NUM>. For example, a difference identified along a grid line <NUM>, <NUM> that exceeds a predetermined rate of change may be attributed to a location <NUM> of an edge of a medication receptacle <NUM>. Based on the locations <NUM> at each grid line <NUM>, <NUM> corresponding to determined edges of medication receptacles <NUM>, a bounding area <NUM> (e.g., as shown in <FIG>). The bounding area <NUM> may be comprised of edges <NUM> that may be located in correspondence to identified locations <NUM> of the edges of a medication receptacle <NUM> in the video data stream <NUM>. For example, the minimum and maximum location <NUM> determined along each of the horizontal grid lines <NUM> hits may be used to determine a horizontal position of the edges <NUM> of the bounding area <NUM>. In an implementation, the minimum and maximum location <NUM> determined along each vertical grid line <NUM> may be used to determine the vertical position of the edges <NUM> of the bounding area <NUM>. Furthermore, in an embodiment, the edges <NUM> of the bounding area <NUM> may be extended beyond the minimum and maximum locations <NUM> in both the vertical and horizontal direction to the next grid line beyond the minimum and maximum location <NUM>. For example, a medication receptacle <NUM> may extend beyond a grid line <NUM> or <NUM> such that a location <NUM> is identified. While the medication receptacle <NUM> may extend beyond a grid line <NUM> or <NUM>, the receptacle <NUM> may not extend to the next adjacent grid line. Thus, if the bounding area <NUM> were to be established at the location <NUM>, a portion of the medication receptacle <NUM> may not be included within the bounding area <NUM>. As such, the bounding area <NUM> may be automatically expanded to include the area up to the next adjacent grid line in both the horizontal and vertical directions beyond the minimum and maximum identified location <NUM> for a given medication receptacle <NUM>.

With further reference to <FIG>, by comparing the background image <NUM> to a video data stream <NUM> along the predetermined subset of the video data stream <NUM> and background image <NUM>, locations <NUM> corresponding to differences between the background image <NUM> and video data stream may be located in the manner described above. In turn, locations <NUM> along the grid lines <NUM> and <NUM> may be identified as indicated in <FIG> that correspond to the minimum and maximum locations of differences between the video data stream <NUM> and the background image <NUM> along both the horizontal and vertical grid lines <NUM> and <NUM>. Based on these locations <NUM>, edges <NUM> of a bounding area <NUM> may be established around each medication receptacle <NUM>.

As may further be appreciated in <FIG>, more than one medication receptacle <NUM> may be disposed in the imaging field <NUM> at any one time. The video stream data processing module <NUM> may be operative to separately identify the plurality of medication receptacles <NUM> such that discrete bounding areas <NUM> are established for each medication receptacle <NUM> individually. While two medication receptacles <NUM> are depicted in <FIG>, it may be appreciated that additional or fewer medication receptacles <NUM> may be identified such that additional or fewer corresponding bounding areas <NUM> are established by the video data stream processing module <NUM> of the processor <NUM>.

In this regard, the auto cropping operation may include logic to individually identify different medication receptacles <NUM> disposed in imaging field <NUM>. For example, logic may be employed wherein if a certain predetermined distance along a grid line <NUM>, <NUM> does not have any differences compared to the background image <NUM>, the locations <NUM> at the extends of a distance exceeding the predetermined distance may be attributed to separate medication receptacles <NUM>. Additionally or alternatively, an analysis may be performed to identify a perimeter of a medication receptacle <NUM> such that individual medical receptacles <NUM> may be identified based on identification of a unitary closed perimeter. For example, for a given close perimeter, the auto cropping operation may determine a single medication receptacle <NUM> exists and dedicate a single bounding box to the identified medical receptacle <NUM>.

With further reference <FIG>, an example of the output of the display <NUM> is shown. It may be appreciated that the grid lines <NUM> and <NUM> corresponding to the subset of the video data stream <NUM> analyzed to determine the bounding areas <NUM> may not be shown on the display <NUM>. However, the bounding areas <NUM> may be represented on the display <NUM> such that the region of interest identified by the video data stream processing module <NUM> may be perceivable by a user viewing the display <NUM>. In this regard, once the bounding area <NUM> has been established for each of the medication receptacles <NUM>, the display <NUM> may be configured to display the bounding area <NUM> in relation to the video data stream <NUM> on the display <NUM> such that the user may verify that the bounding area <NUM> includes all relevant portions of the medication receptacle <NUM> in the bounding area <NUM>.

The user may have the opportunity to expand or contract the bounding area <NUM> displayed to increase or decrease the size of the region of interest surrounding a medication receptacle <NUM> in the video data stream <NUM>. In an embodiment, if the bounding box <NUM> is incorrectly determined by the auto cropping operation the user may employ a marker or other object disposed in the medical dose preparation staging area <NUM> that provides a high contrast to the background <NUM> to establish an edge location <NUM> for a bounding area <NUM>. For example, an object may be disposed adjacent to the medication receptacle <NUM> to positively establish an edge <NUM> of the bounding area <NUM> beyond the extent of the medication receptacle <NUM>. The object may be a discrete object such as a marker or the like that is placed in the imaging field <NUM>, or the user may employ his or her finger or other pointing device disposed in imaging field <NUM> to positively establish a location <NUM>.

Once the region of interest has been established by the user, the user may utilize the user control device <NUM> to initiate the capture of medical dose preparation images corresponding to the portion of the video data stream <NUM> included in the bounding box <NUM> (i.e., the region of interest). For example, <FIG> depict the medical dose preparation images corresponding to the two medication receptacles 100a and 100b, respectively, contained in the video data stream <NUM> depicted on the display <NUM> shown in <FIG> that may be captured upon the user utilizing the user control device <NUM> to initiate capture of the images when the bounding areas <NUM> are establish as shown in <FIG>.

In an embodiment, the bounding area <NUM> may be represented a box superimposed over the video data stream <NUM> in a manner perceivable by the user. Additionally or alternatively, the area outside the bounding area <NUM> not to be included in the medical dose preparation image may be displayed in a manner different than the area within the bounding area <NUM> to be included in the medical dose preparation image. For example, the area of the imaging field <NUM> outside a bounding area <NUM> may be displayed as a dimmed or shadowed image that clearly identifies to the user that the area outside the bounding areas <NUM> is to be not included in the medical dose preparation image.

Claim 1:
A work station (<NUM>) for use in a system (<NUM>) for medical dose preparation management, the work station (<NUM>) comprising:
a base (<NUM>);
a medication preparation staging region (<NUM>) disposed relative to the base (<NUM>) and operable to supportively engage at least one medication receptacle;
an imaging device (<NUM>) having an imaging field (<NUM>) encompassing the medication preparation staging region (<NUM>), wherein the imaging device (<NUM>) is operable to output a video data stream of the imaging field (<NUM>);
a processor (<NUM>) in operative communication with the imaging device (<NUM>) to receive the video data stream of the imaging field (<NUM>);
a user control device (<NUM>) in operative communication with the processor (<NUM>) to initiate a capture of a medical dose preparation image from the video data stream in response to a user input received at the user control device (<NUM>);
wherein the processor (<NUM>) is further operable to perform an auto cropping operation on the medical dose preparation image by comparing the medical dose preparation image with a background image to identify a region of interest corresponding to a medication receptacle (<NUM>, 100a, 100b) that is disposed in the medication preparation staging region (<NUM>),
wherein the processor (<NUM>) is operable to analyze a predetermined subset of the digital image data to identify the region of interest;
wherein the analysis includes comparing the predetermined subset of the digital image data to a corresponding subset of a background image of the medical dose preparation staging region (<NUM>) that does not include any medication receptacle in the medical dose preparation staging region (<NUM>);
wherein the predetermined subset of the digital image data corresponds to a plurality of pixels of the digital image data that extend across the digital image data in a first direction and in a second direction perpendicular to the first direction;
wherein the plurality of pixels form a grid over the digital image data, wherein the grid comprises grid lines (<NUM>,<NUM>) for locating medical receptacles and the grid lines are spaced in relation to a known size of the medication receptacles; and
a memory (<NUM>) in operative communication with the processor (<NUM>) to receive and store the medical dose preparation image data.