SYSTEM FOR AUTOMATICALLY TESTING A FLUID SPECIMEN

Abstract: A system for collecting and automatically testing a fluid specimen, e.g., urine, to indicate the presence of specified chemical components in the specimen. The system preferably utilizes an assaying device (30) comprising a collection cup (32) and a cap (34) which carries at least one test strip. The device (30) includes an integrated aliquot delivery mechanism actuatable to wet the test strip with an aliquot delivered from the fluid specimen. The device is configured to operate in conjunction with an electronic reader device (28) capable of actuating the aliquot delivery mechanism and reading the reaction of the test strip. A preferred reader device (28) defines a keyed receptacle for accommodating a complementary shaped cup housing in a particular orientation. The reader device is comprised of a camera (37) for capturing the image of a test strip, an actuator (44) for actuating an aliquot delivery mechanism, and a microprocessor/controller (36) for (1) controlling the camera and actuator and (2) processing the image.

Description: TITLE: SYSTEM FOR AUTOMATICALLY TESTING A FLUID SPECIMEN RELATED APPLICATIONS This application is based on U.S. Application 09/245,175 filed February 5, 1999 and U.S. Application 09/444,926 filed November 24, 1999. The disclosures of the aforementioned applications are, by reference, incorporated herein. BACKGROUND OF THE INVENTION This invention relates generally to systems for collecting and automatically testing fluid specimens, e.g. urine or other body fluids, to detect chemical substances or components therein. Such systems can be used, for example, to screen employee applicants for illegal drug use. Employee drug testing typically involves an initial screening test to identify specimens which are negative (i.e., no drugs present). This test is usually performed with a low cost immunoassay which is very sensitive to small quantities of drug metabolites. If a drug metabolite is detected (referred to as"presumptive positive"), the specimen is then subjected to a confirmation test which typically utilizes a highly specific test method, such as a gas chromatography/mass spectrometry (GC/MS), to identify the specific drug components in the specimen. Traditionally, both the screening and confirmation tests were performed in a common facility, i.e., centralized laboratory. More recently, systems have been implemented which perform the screening test at a local service site. They typically employ drug test kits which follow the tradition of home pregnancy test kits, i.e., they detect the presence of a specific drug substance(s) in a urine specimen. Such drug test kits generally identify, in human readable form, the drug(s) being tested to indicate the presence (or absence) of that drug. The screening test result with respect to each particular drug, and to the specimen as a whole, can either be (1 ) negative or (2) presumptively positive. If presumptively positive, then the specimen is generally sent to a remote laboratory for confirmation testing. Inasmuch as disclosure of a presumptive positive test result can adversely impact an employee applicant's record and could potentially lead to litigation and employer liability, it is extremely important to prevent the inadvertent dissemination of test result data. SUMMARY OF THE INVENTION The present invention is directed to an improved system and components thereof for collecting and automatically testing a fluid specimen, e.g. urine, saliva, or other body fluids, to indicate for the presence of specified chemical components in the specimen. A system in accordance with the invention preferably utilizes an assaying device comprised of a collection cup and a cap which carries at least one test strip. The device includes an integrated aliquot delivery mechanism actuatable to wet the test strip with an aliquot derived from the fluid specimen. The assaying device is configured to operate in conjunction with an electronic reader device capable of actuating the aliquot delivery mechanism and reading the reaction of the test strip. A preferred assaying device in accordance with the invention includes an open cup defining an interior volume for accommodating a fluid specimen and an attachable cap configured for mounting on the cup to seal the interior volume. The cap carries at least one test strip and an integrated aliquot delivery mechanism actuatable to wet the test strip with an aliquot derived from the fluid specimen. The aliquot delivery mechanism preferably comprises a pump in the form of a plunger for forcing an aliquot of the fluid specimen onto the test strip. The plunger can be actuated either manually or automatically, e.g., by a piston controlled by a compatible reader device. A preferred reader device in accordance with the invention preferably defines a keyed receptacle for accommodating a complementary shaped cup housing in a particular orientation. The reader device is comprised of a camera for capturing the image of a test strip, an actuator for actuating an aliquot delivery mechanism in the cup, and a microprocessor/controller for (1 ) controlling the camera and actuator and (2) processing the image. In a preferred embodiment of the invention, the reader device preferably also includes a network connectivity device, e.g. modem, for enabling communication with a remote host computer. Although each reader device can operate independently as a stand-alone device, a preferred system in accordance with the inventor employs a host computer or server, which communicates, via a public and/or private network, with a plurality of reader devices located at separate service sites. Each service site can be configured to operate as a "thin client" with primary control being exercised by the host computer via the network. Alternatively, primary control can be exercised by the reader device at each site with only high level supervisory control coming from the host computer. The preferred assaying device cap carries multiple test strips including at least one component test strip and at least one adulteration test strip. The cap is either formed of transparent material or is provided with transparent windows to permit external viewing of the test strips by the reader device camera. The cap preferably also carries one or more fiducial marks to facilitate image processing. Further, the cap preferably also carries machine readable identification information, e.g., a bar code label, to positively associate the specimen and test results with the correct individual. Preferably, the cap does not bear any human readable indicia identifying the specimen donor or indicating test results. A preferred test strip for testing for the presence of specific chemical components is configured with multiple latent lines (i.e., markings) which can become visible when the strip is wetted. The lines preferably include a control or reference line and multiple drug lines each related to a different chemical component. If all of the latent lines visually appear within a certain test interval, e.g., up to eight minutes, after the strip has been wetted, this will indicate the absence of the specific chemical components sought. However, if any of those specific chemical components are present in concentrations above a certain threshold, their presence will suppress the appearance of one or more of the drug lines to indicate the presence of such chemical components. A preferred reader device in accordance with the invention includes a camera located so that the cap is imaged onto the camera focal plane. The reader device includes a piston motor for driving a piston against the assaying device to deliver an aliquot to the test strips. The piston motor also moves a light shield into place around the cap enabling a light source to illuminate the cap to enhance the image for the camera. 0 A preferred automatic testing system in accordance with the invention operates as follows: 1. Fluid deposited into cup at local site; secure cap in tamper evident fashion; 2. Site administrator places assaying device, i.e., cup and cap, into 5 "keyed" receptacle of local reader and enters ID information; 3. Reader alerts host computer via communication network; 4. Initiate automatic reader operational sequence: a. capture cap image and verify acceptability to proceed b. run piston motor to advance piston into assaying device to force o fluid up channels to wet component and adulteration test strips c. capture cap image and verify acceptability to proceed d. periodically capture additional cap images during development interval up to about eight minutes e. analyze captured image data to determine 5 1. test validity 2. test results f. locally display test validity/results and/or communicate test validity/results to Host computer g. run piston motor to withdraw piston from cup 0 5. Site administrator removes cup from reader The camera produces a digital representation of the image incident on the camera focal plane. The processor then analyzes the digital representation to determine the color of the adulteration test strip and to locate visible markings on the component test strip coincident with the reference and drug lines. Image analysis is preferably performed by initially using fiducial marks on the cap to first precisely locate the cap image relative to a reference image. This can, for example, involve rotating, translating, and/or scaling the cap image. Thereafter, the digital representation of each test strip is examined to determine the presence (or absence) of drug lines. This involves first locating the strip reference line by effectively "drawing" a rectangular region around the reference line. The region can be considered as a rectangular matrix of pixels having rows extending across the strip width, each row being comprised of multiple column positions. For each row, the image is examined to determine whether the pixel at each column position exceeds a threshold. The sum of pixels exceeding the threshold is determined for each row. These row sums produce a graph whose x axis is related to the height (i.e., number of rows) of the region and whose y axis is related to the values of the individual row sums. A bell shaped curve will result whose peak locates the reference line. If no reference line is located, the test is terminated. If the reference line is located, then the examination continues in order to locate the drug lines. The detection of drug lines is more difficult because the amplitude, i.e., dark or light, of its pixels can vary widely dependent on several factors including wetting uniformity, urine color, variations amongst test strips, exposure time, etc. In order to compensate for these variations, each drug region is preferably divided into left, center, and right portions. A drug line is presumed to occupy the center portion of each region. However, its exact position and exact width can vary attributable to the aforementioned factors. Moreover, its brightness difference in relation to neighboring areas can be very subtle. Hence, a procedure is used to determine the weight of a line on a relative basis. For example, for each drug region graph, the total area under each of three regions (left, center, right) is calculated. The left and right region areas are then numerically summed, and this resulting total area sum is multiplied by an experimentally determined "weighting value," thus producing a weighted sum. If the area of the center region is less than or equal to the weighted sum, no line is present. By using urine samples with known drug concentrations, a weighting value of 0.75 has been experimentally determined to produce very acceptable results. BRIEF DESCRIPTION OF THE FIGURES Figure 1 is a block diagram of a system in accordance with the invention; Figure 2 is an isometric view of a preferred reader device in accordance with the present invention; Figure 3 is an isometric view of a preferred cup and cap; Figure 4 is a plan view of the cap top surface; Figure 5 is a front sectional view taken substantially along plane 5-5 of Figure 2; Figure 6 is a top sectional view taken substantially along plane 6-6 of Figure 5; Figure 7 is a side sectional view taken substantially along plane 7-7 of Figure 5 showing the piston in its non-actuated position; Figure 8 is a side sectional view similar to Figure 7 showing the piston in its actuated depressed position to force an aliquot to the cap for wetting the test strips; Figure 9A is a sectional view taken substantially along the plane 9A-9A of Figure 5 primarily showing the cup interior; Figure 9B is an enlarged sectional view showing the aliquot delivery mechanism of Figure 9A in greater detail; Figure 10A is a diagrammatic view of a typical test strip used in embodiments of the present invention; Figure 10B is a diagrammatic view of the test strip similar to Figure 10A but modified to represent rectangular regions used to locate reference and drug lines; Figures 10C and 10D depict steps employed in analyzing a cap image to locate a strip reference line; and Figures 10E and 10F depict a step employed in analyzing a cap image to locate the presence of a strip drug line. DETAILED DESCRIPTION Attention is initially directed to Figure 1 which depicts a preferred system 20 in accordance with the invention comprised of multiple service sites 22 respectively identified as 1 through N. Each service site can operate independently as a stand-alone system to perform a screening test, as will be described hereinafter. However, in accordance with a preferred system configuration, the multiple service sites are connected to a network 24, e.g., the Internet, for communication with a host computer 26. Each service site includes a reader device 28 configured to cooperate with an assaying device 30 comprised of a specimen collection cup 32 and a cap 34. Figure 1 depicts a functional block diagram of the reader 28 whereas Figures 2 and 4-7 illustrate the reader's structural configuration. The structural configuration of the assaying device 30 is illustrated in Figures 2-9. Briefly, the reader 28 is comprised of a processor/controller 36 programmed to operate (1 ) a camera 37 and light source 38 via a camera interface circuit 40 and (2) a piston motor 42 via a motor control circuit 44. As will be discussed hereinafter, the piston motor 42 operates to deliver an aliquot from a specimen in the cup 32 to one or more test strips in the cap 34. The test strips each produce a visible reaction in response to being wetted by the aliquot. The camera 37 and light source 38 operate together to capture an image of the test strip(s) enabling the processor/controller 36 to process the image to determine test validity and whether the specimen is free of chemical components being monitored. The reader 28 preferably operates in conjunction with an input/output device 46 which enables a site attendant to enter information, e.g., donor identification information, via a device such as a touch pad or keyboard, and to view information, e.g. via an LCD display, provided by the processor/controller 36. The processor/controller 36 is also preferably connected to the network 24 via a suitable connectivity device 48, e.g., a modem. This enables the reader to upload data, e.g., test results, billing information, etc. to the host computer 26. It also allows the host computer to exercise supervisory control over the processor/controller 36. Attention is now directed to Figure 2 which illustrates the exterior configuration of the reader housing 60. The housing is essentially comprised of a base portion 62, a head portion 64, and an enclosure portion 66, bridging the base and head portions. A receptacle 68 is defined between the base and head portions for receiving an assaying device 30 above a keyed recess 70 formed on base platform 72. The keyed recess 70 is shaped complementary to the lower periphery of the assaying device 30 to place the device in a specific orientation relative to head portion 64. The assaying device 30 is comprised of an open collection cup 32 and a detachable cap 34. The cup 32 defines an inteπor volume for collecting a fluid specimen, e.g. urine. After the fluid specimen has been deposited into the cup 32, the cap 34 is mounted thereon to seal the interior volume and prevent the fluid specimen from leaking. Inasmuch as each assaying device 30 is intended to be used only once to collect a single specimen, it is preferably fabricated via relatively low cost plastic molding processes. It can be noted in Figure 3 that the cup 32 has an irregular lower periphery 76 particularly configured to mate with the keyed recess 70. The periphery 76 includes an enlarged front portion 78 and a reduced rear portion 80. The reduced rear portion 80 is bounded by flat finger grip sides 82 having raised surface features 84 extending to an oblique wall surface 86. This irregular configuration of the cup facilitates easy manual handling of the cup enabling it to be readily grasped by the hand of a user and/or administrator. The cup enlarged portion 78 preferably includes an area 88 characterized by multiple vertical fins 90. This area 88 functions as a key or registration area to which an index area 92 on the cap 34 is aligned to assure proper cap/cup sealing. Markings are preferably provided on the cup exterior to indicate maximum and minimum fill levels. Briefly, the cap 34 is comprised of a substantially circular member 94 having a top exterior surface 96 and a depending flange or skirt 98. The skirt 98 has a primarily knurled outer surface 100 that preferably defines flat areas 102 and the aforementioned index area 92. The index area 92, which may be defined by vertical slots, is preferably used to align with the aforementioned cup area 88 to visually indicate to a user that the cap has been properly installed onto the cup. The cap 34 is preferably installed onto the cup via a mating thread 104. The cap 34 preferably carries a stop tooth 107 which rotates into engagement with the end fin 90 when the cap is properly installed onto the cup. When properly installed, the cap index area 92 will be aligned with the cup registration area 88. Alternative mounting mechanisms, e.g., bayonet mount, can be used to couple the cap 34 to the cup 32. Provision is preferably made to include a tamper evident seal to immediately indicate to a user whether an assaying device, once sealed, has been tampered with. More particularly, note in Figure 3 that the cap top surface 96 carries a label 106 having a first portion 108 permanently adhered to the surface 96. A second label portion 110 extends beyond the edge of cap 34 and is intended for sealing against cup area 111 immediately beneath the cup finned area 88. The label portion 110 carries a suitable adhesive on its undersurface which, prior to use, is protected by release paper 112. When the release paper is stripped away, label portion 110 can be sealed against cup area 111 to assure that cap 34 cannot be removed from cup 32 without that fact being immediately evident. The label 106 preferably also includes a perforated tear-off third portion 113 which can be affixed to a "B" container in case of split specimen collections, or in the event that a manual chain of custody record is required. The cap top surface 96 (Figure 4) is either transparent or at least defines one or more transparent areas 114, e.g., windows 114A, 114B, and 114C for enabling a test strip mounted beneath each window to be visible therethrough. As will be discussed hereinafter, the cap defines one or more compartments each of which accommodates a test strip 115 which, when wetted by a fluid specimen, reacts to provide a visual indication indicative of a characteristic of the specimen. In the exemplary embodiment illustrated, the window 114C covers a test strip intended to detect specimen (1 ) authenticity and (2) adulteration. As is well known, a freshly voided urine specimen can be authenticated by a test strip which senses various characteristics including temperature and/or creatinine content of the specimen. Adulteration of the specimen can be detected by a test strip sensitive to exogenous components, e.g. pH and/or nitrites. Preferably, the test strip changes color when wetted and detection is achieved using a colormetπc technique Larger windows 114A and 114B are intended to reveal test strips 115 for detecting various specific chemical components typically associated with illegal substance abuse. Figure 10A schematically represents such a component test strip 116 showing multiple latent lines 117 visually represented on an indicator portion 118 extending from an absorbent portion 119. The latent lines 117 typically include one or more reference or control lines 117R and multiple drug lines 1170^ 117D 2 , etc., each for a different drug or chemical component to be detected. If all of the lines visually appear within a certain test interval, e.g., up to eight minutes, after the absorbent portion 119 has been wetted, this will indicate the absence of the specific chemical components sought (i.e., a "negative" test). However, if any one of those specific chemical components is present in concentration above a certain threshold, its presence will suppress the appearance of one or more of the lines to indicate to an astute observer and/or computer based reader, the presence of that component. The cap top surface 96 (Figure 4) preferably additionally defines a primary bar code area 120, a secondary bar code area 121 , and one or more fiducial marks 122, to be discussed hereinafter. All of the windows 114, bar code areas, and fiducial marks are arranged around a plunger hole 124 within a tightly dimensioned image field 125 suitable for being imaged onto the focal plane of camera 37. In an exemplary embodiment, the image field has width and height dimensions respectively equal to 1446 mils and 1084 mils which is imaged onto a camera view field having 640 pixels horizontally and 480 pixels vertically. The internal structure and operation of a suitable assaying device 30 is described in U. S. Patent Application 09/245,175, whose disclosure is, by reference, incorporated herein. Briefly, as depicted in Figures 5 - 9, the assaying device cap 34 defines descending concentric outer and inner tubular walls 126 and 127. Multiple passageways 128A, 128B, 128C, 128D (Figure 9B) extend vertically between the outer and inner tubular walls 126 and 127. Each passageway 128 communicates with a passageway inlet 129 (Figure 5) at the lower ends of tubular walls 126, 127. Each passageway defines an outlet 130 proximate to compartments 131 , respectively accommodating component or adulteration test strips 132, located beneath the aforementioned windows 114. Fluid exiting from outlets 130 is guided by short horizontally oriented pathways to the compartments 131 for wetting the test strips therein. Overflow Basins 136, 138 are respectively located adjacent to the compartments beneath windows 114A, 114B (Figure 4) to collect any fluid overflow. The inner floor 150 of the cup 32 is formed with opposed arcuate walls 151 A, 151 B which define an open well 152 therebetween. When the cap 34 is installed on the cup 32, the lower end of the outer tubular wall 126 extends into the well 152 and essentially forms a closed chamber 154 for isolating a portion of the fluid specimen. A plunger 160, comprised of a plunger pin 162 and plunger element 164, is mounted in inner tubular wall 127 above chamber 154. The plunger element 164, is formed of soft conforming material able to seal against the inner surface of inner tubular wall 127. The opening 124 in the cap top surface 96 provides access to enable the pin 162 to be depressed. As the plunger element 164 is depressed into chamber 154, the fluid therein is displaced upwardly via inlet 129 through multiple passageways 128. These passageways, 128A, 128B, 128C, 128D respectively extend to the aforementioned test strip compartments 131 located below the aforementioned cap windows 114. Thus, depression of the plunger 160 within the inner tubular wall 127 displaces fluid from the chamber 154 to deliver an aliquot to each of the compartments 131 , each compartment accommodating a separate strip 115 of test material. The device 30 is constructed and dimensioned so that each aliquot comprises a specific volume of fluid. Attention is now directed to Figures 5 - 8 which illustrate the internal structure of the reader housing 60. The housing 60 is formed by a base plate 150 having a vertical frame member 152 secured thereto. The base plate 151 is weighted by block 154 for stability. A shell 160 is affixed to the base plate 150 and frame member 152. The shell includes a base platform member 72 which defines the aforementioned keyed recess 70. The shell 160 additionally includes a rear shell member 162 which encloses a rear compartment 164 housing the reader electronic circuit board(s) 166. An upper shell member 170 encloses a top compartment 172 which houses the camera 37, light source 38 and piston motor 42. These devices are structurally supported on arm 176 projecting forwardly from frame member 152. A piston subassembly 180 is mounted for vertical reciprocal motion toward and away from base plate 150. The piston subassembly is comprised of a support arm 182 projecting forwardly from slide block 184 mounted for linear movement along guide rails 186. The support arm 182 carries a piston member 186 aligned with opening 124 in the cap of an assaying device 30 placed in the keyed recess 70. A lead screw 188 is threaded into hole 190 in support arm 182. The lead screw can be selectively rotated either clockwise or counterclockwise by piston motor 42 to move the slide block 184 either up or down. Figure 7 depicts the piston member 186 in its up position providing sufficient clearance to allow an assaying device 30 to be placed on or removed from the keyed recess 70. Figure 8 shows the piston member 186 in its down position extending into cap opening 124 to depress plunger 160 to displace fluid from the specimen in cup 32 to wet the test strips 115. It should also be noted that the piston subassembly 180 includes a substantially cylindrical light shield 192 mounted on slide block 184. The light shield 192 defines a lower edge 194 which seals against the cap top surface 96 when the slide block is in its down position shown in Figure 8. The camera 37 can comprise a commercially available digital camera and appropriate optics for imaging the field 125 (Figure 4) onto the camera's focal plane. The camera preferably has a resolution of 640 (horizontal) x 480 (vertical) pixels. Imaging is enhanced by selective illumination of light sources 38 and by the shielding effect afforded by light shield 192. A preferred operational sequence for automatically testing a fluid specimen is represented by the following sequential steps: 1. Donor at a local site deposits fluid into cup 32; site administrator enters identification information and secures cap 34 in tamper evident fashion; 2. Administrator places cup/cap into "keyed" receptacle 70 of local reader 28 and enters ID information; 3. Reader 28 alerts host computer 26 via communication network 24; 4. Host computer 26 (or administrator) initiates reader operational sequence: a. camera 37 captures cap image and processor 36 verifies acceptability to proceed b. processor 36 runs piston motor 42 to advance piston 164 into cup to force fluid up channels 128 to wet component and adulteration test strips c. camera captures additional cap image and verify acceptability to proceed d. periodically capture additional cap images during development interval up to about eight minutes e. processor analyzes captured image data to determine 1. test validity 2. test results f. processor 36 displays test validity/results on local I/O 46 and/or communicates test validity/results to Host computer 26 g. processor 36 runs piston motor to withdraw piston from cup 5. Site administrator removes cup from reader In step 1 , the site administrator first enters donor and client (e.g., employer) information via I/O devices 46 into a database stored either in processor 36 or host computer 26. The donor voids into a cup 32 and the cap 34 is sealed thereon. The label is extended from the cap to the cup to assure that it is sealed in tamper evident fashion. Preferably the administrator and donor then initial the sealed label and review the chain of custody document. The donor and administrator both apply their signatures to the signature pad and a copy of the chain of custody document is printed and given to the donor. The donor is then dismissed. Preferably the cup/cap is then placed in the reader. Step 4 of the foregoing sequence is automatically executed under the control of programmed microprocessor 36. In step 4a, the piston has not yet been inserted into the cup and may partially obscure the field of view. In addition, since the piston is not down, the light shield is only partially effective, and extraneous light may enter, further obscuring details. Nevertheless, an initial image is captured by the camera to examine the primary barcode 120 and other cap features to determine if it is valid. If the barcode is not valid, this fact is displayed to the site administrator for further action. An invalid barcode can indicate that the cup is inserted incorrectly, that there is no cup there at all, or that a "fake" cup has been inserted. If the administrator cannot resolve the issue and the barcode is indeed invalid, testing is aborted and the sealed cup is sent for laboratory analysis. In step 4b, processor 36 runs the piston motor 42 to lower the piston 164 a predetermined distance. This also lowers the light shield 192 into place against the cap top surface 96 so that the light source 38 is then the only source of light illuminating the cap top. The light source 38 preferably comprises multiple green LED's inasmuch as the lines that appear on typical component test strips exhibit the highest contrast when viewed in green light. With the piston in its down position, it no longer obscures any cap features within the image field 125. In step 4c, another image of the cap is captured and processed to double-check the primary barcode results from the previous step and to read the secondary barcode 121 and the fiducial marks 122. The fiducial marks 122 are small features printed on the cap directly above the test strip windows 114A, 114B and serve as reference points for subsequent processing steps to assure accurate image analysis. Preferably, the barcode labels have their own fiducial marks, which allow the barcodes to be found and read even if the label is askew. If all barcodes and fiducial marks can be located and properly read, then operation proceeds to step 4d. Otherwise, the site administrator is alerted and he/she decides whether to proceed or not. The test strips take between two and eight minutes to develop. During step 4d, images are periodically captured and during step 4e, the images are processed and analyzed. Steps 4d and 4e are executed in an iterative loop. If all latent lines become visible after two minutes, the test is concluded and operation proceeds to step 4f. Otherwise steps 4d and 4e are executed every minute until eight minutes have elapsed. If any of the drug or control lines do not become visible, the assaying device is sent to the lab for further analysis. The image analysis executed in step 4e includes an extensive procedure to be discussed hereinafter for discerning a color change on the adulteration test strip and visible reference and drug lines on the component test strip. The detection of these lines can be reasonably challenging because the amplitude, i.e., dark or light, of its pixels can vary widely dependent on several factors including variations in test strips, in wetting, in urine color, etc. In order to produce an optimum image for analysis, a sequence (e.g., 8) of images is actually captured. These multiple images are then mathematically summed divided by the number of images in order to produce an integrated image in which the random electrical and optical "noise" has been reduced by this "averaging" process. This integrated image is then used in the subsequent line detection procedure: 4e(1 ) The fiducial marks 122, which had been found to exist in step 4c, are now located precisely by looking in a restricted region (as a consequence of the cup being physically positioned by keyed recess 70) and finding the centroid of the individual fiducial marks. This determines their exact locations within the camera field of view (i.e., 640 x 480). e(2) Based on the locations of the fiducial marks, the image is now rotated, translated, minified, and or magnified as necessary so that the resulting image has the fiducial marks 122 (and hence all other cap features) in "standard" positions which is hence presumed for all subsequent operations. e(3) Using a "map" of the features present on the cap top, each test is individually examined. Although the two test strips can in fact differ in the number of lines present and their specific locations, for the sake of simplicity, the operations on only one typical test strip will be described. e(4) Based on known default reference and drug line positions, non- overlapping rectangular regions 200 are "drawn" around each reference line 117R and drug line, e.g., 117D (Figure 10B). e(5) For the region 200 which contains the reference line 117R, row sums are produced. The number of pixels summed for each row is the "width" of the test strip (e.g., 32 in Figure 10C), the number of total row sums for each region is the "height" of the individual region (e.g., 48 in Figure 10C). Each of these row sums produces a graph (Figure 10D) whose X axis is related to the "height" of the region, and whose Y axis is related to the values of individual row sums. Let it be assumed that individual row sums will be smaller for darker horizontal rows and larger for lighter horizontal rows. The resulting graphs are then preferably normalized so that the Y axis values are between 0 and 100, and then subtracted from 100 so that the darkest row in a given region has the value 100 and the brightest row in a given region has the value 0. Bell shaped curves will result (presuming a drug or control line is present) as depicted in Figure 10D. e(6) The reference line 117R must be located in order to proceed further and its exact position must be determined in order to locate the best estimated positions of the drug lines for further processing. The graph for the reference line is examined for a maximum value, which represents the reference line center position. After the center position is located, the regions drawn in substep 4e(4) above are redrawn to center the reference line and drug lines in their respective regions. e(7) For each drug region, row sums and the resulting graph are produced as described in substep 4e(5) above. e(8) Each drug region graph is divided into three equal parts, a left, center, and right part as represented in Figure 10F. The drug line is presumed to occupy the center portion. However, its exact position and width can vary, and its brightness difference in relation to the neighboring area may be very subtle. Based on different wetting conditions, a dark condition in one region can in fact be lighter than a not-dark condition in another region. Hence, a relative mechanism is used to determine the presence or absence of a drug line. e(9) For each drug region graph, the total area under each of the three regions (left, center, right) is calculated. The left and right region areas are then numerically summed, and this resulting total area sum is multiplied by an experimentally determined "weighting value", thus producing a weighted sum. If the area of the center region is greater than this weighted sum, a decision is made that a line is present. If the area of the center region is less than or equal to the weighted sum, a decision is made that no line is present. By using urine samples with known drug concentrations, a weighting value of 0.75 has been found to produce very acceptable results. In order to conceptually understand what is going on, presume that the graph is perfectly symmetric and the drug line is centered in the graph, hence the graph will appear as a bell curve (Figure 10F) (this is typical of the actual graphs produced) if a line is present, or at the other extreme, will appear as a flat line if no drug line is present. In the case of a flat line, then the summed areas of the left and right region will be exactly twice (2 * X) the area of the center region (X). If the 2 * X value is weighted by 0.75, the resulting area is now 1.5*X, which is greater than X. Hence no drug line is considered present. In fact, the weighting value would have to be less than 0.5 for a line to be considered present. As the center region grows in amplitude, its area reaches a point that it is now greater than the weighted sum of the left and right regions, and a line is considered present. Note that the presence or absence of a line is not determined by the exact position or shape of this curve, nor by the exact amplitudes of the dark and light components, which can vary widely based on various factors including the degree of wetting, the color of the urine, the particular lot of test strips, the time of exposure, extraneous material on the test strip, and shadows and/or reflections. All of these variations are compensated for in the relatively simple and concise mathematical procedure described which allows the presence or absence of drug lines to be repeatedly determined to a controllable, high degree of accuracy. Once all adulteration test strips have been examined for color and all component test strips examined for visible lines, a final test result, for adulteration and identification of drug lines present and/or absent, is locally displayed and/or communicated to the host computer in accordance with aforementioned step 4f. Theforegoing describes applicants' preferred system for automatically testing fluid specimens to detect specific chemical components therein. The preferred system includes an assaying device comprised of a fluid collection cup and a cap carrying one or more test strips configured to produce visually discemable indications of the components of the specimen and/or specimen adulteration. The visual indications are read by an imager, e.g., digital camera, and interpreted by a processor which executes an analysis procedure to interpret the visual indications. The resulting test results are reported locally or via a communications network to a host computer. Thus, systems in accordance with the invention can quickly (e.g., in less than 15 minutes) and locally automatically test a fluid specimen to provide accurate qualitative test results. The system both assures the confidentiality of donor/specimen test results (by using machine readable, rather than human readable, markings) and a closely controlled chain of custody procedure. Although a preferred embodiment has been described, it is understood that many modifications and variations will occur to those skilled in the art which fall within the intended scope of the invention as defined by the appended claims.

Claims: CLAIMS 1. Apparatus for use with a device including a test strip for providing a visual indication of specific chemical components present in a fluid specimen, said apparatus comprising: a camera mounted to image said test strip onto the focal plane of said camera; a processor operable to (1) control said camera to periodically capture sequential images of said test strip and (2) generate a digital representation of each captured image; said processor further operable to process said digital representations to detect markings on said image indicative of each of said chemical components in said fluid specimen; and output means for reporting the detection of said markings. 2. Automatic test apparatus for use with an assaying device having at least one test strip arranged to visually indicate whether specific chemical components are present and/or absent from a fluid specimen, said apparatus comprising: a support structure for supporting said assaying device and placing said test strip in a predefined position; a camera having a focal plane; a mounting structure mounting said camera to image said test strip onto said focal plane; a programmed microprocessor operable to (1 ) cause said camera to capture said test strip image and generate a digital representation of the test strip image; and (2) process said digital representation to detect markings on said image indicative of the presence and/or absence of specific chemical components in said fluid specimen; and output means for reporting the detection of said markings. 3. The apparatus of claim 2 further including: a host computer; a communication network; and wherein said output mean including a connectivity device for connecting to said host computer via said communication network. 4. The apparatus of claim 2 further including at least one light source for illuminating said test strip. 5. The apparatus of claim 2 further including a light shield mounted for movement toward said assaying device to minimize stray light on said test strip. 6. The apparatus of claim 2 wherein said assaying device includes a delivery mechanism actuatable to deliver an aliquot of said fluid specimen onto said test strip; and further including an actuator operable by said microprocessor for actuating said delivery mechanism. 7. The apparatus of claim 6 wherein said actuator includes a piston mounted for movement into engagement with said delivery mechanism. 8. The apparatus of claim 7 wherein said actuator includes a motor for moving said piston along a linear path. 9. The apparatus of claim 7 further including a light source for illuminating said test strip. 10. The apparatus of claim 9 further including a light shield mounted for movement with said piston to surround said test strip and minimize stray light incident thereon. 11. The apparatus of claim 2 wherein said test strip defines multiple latent lines including at least one drug line associated with a specific chemical component; and wherein said test strip is responsive to being wetted by said fluid specimen to produce a visible marking coincident with said latent drug line if said specimen lacks said specific chemical component is absent from said specimen. 12. The apparatus of claim 11 wherein said multiple latent lines includes at least one reference line; and wherein said test strip is responsive to being wetted by said fluid specimen to produce a visible marking coincident with said latent reference line. 13. The apparatus of claim 12 wherein said microprocessor detects said marking coincident with said reference line by examining a digital representation of pixels in a region extending above and below said reference line. 14. The apparatus of claim 11 wherein said microprocessor detects said marking coincident with said drug line by examining a digital representation of pixels in a region extending above and below said drug line and by relatively comparing the magnitude of pixels along said drug line. 15. The apparatus of claim 2 wherein said test strip is responsive to being wetted by said fluid specimen to produce a visible indication of exogenous components. 16. The apparatus of claim 15 wherein said test strip produces a color change in response to exogenous components indicative of specimen adulteration. 17. A system for locally determining whether a fluid specimen tests "negative" for specific chemical components, said system comprising: a test strip; a mechanism for selectively wetting said test strip with a portion of said fluid specimen, said test strip being configured to respond to said wetting to visually indicate whether specific chemical components are present and/or absent in said specimen; a camera for generating a digital representation of the image of said test strip including any visual indications indicating the presence and/or absence of said specific chemical components; a programmed digital processor for analyzing said digital representation to detect said visual indications and determine whether said specific chemical components are absent from said specimen; and means responsive to the absence of specific chemical components in said specimen for reporting a "negative test result. 18. The system of claim 17 wherein said test strip defines a latent drug line associated with each specific chemical component; and wherein said latent drug line becomes visually apparent in response to said test strip being wetted by a fluid specimen lacking the chemical component associated with that drug line. 19. The system of claim 18 wherein said processor analyzes said digital representation to detect visible drug lines on said test strip, said processor analysis including examining pixels along horizontal pixel rows within a region of said test strip extending vertically above and below the presumed position of a horizontal latent drug line. 20. The system of claim 19 wherein said processor analysis includes comparing pixel rows within said region. 21. The system of claim 20 wherein said processor analysis further includes comparing side and center positions of said horizontal pixel rows. 22. The system of claim 17 further including an assaying device comprising a collection cup and a detachable cap for sealing said cup; and wherein said test strip is carried by said cap. 23. The system of claim 22 wherein said mechanism for wetting said test strip includes a plunger in said assaying device actuatable to transport fluid from said collection cup to wet said test strip. 24. The system of claim 23 including a reader housing supporting said camera; and wherein said reader housing includes a keyed recess for accommodating said assaying device and placing said test strip in a certain position relative to said camera. 25. The system of claim 24 wherein said reader housing further includes a piston mounted for movement toward said assaying device; and means for selectively moving said piston against said plunger to wet said test strip. 26. The system of claim 25 further including a light source energizable to illuminate said test strip. 27. The system of claim 26 further including a light shield for restricting illumination of said test strip to said light source. 28. The system of claim 17 wherein said test strip changes color in response to exogenous components in said fluid specimen indicative of specimen adulteration. 29. An assaying device comprising: a cup defining an interior volume for accommodating a fluid specimen; a cap configured for mounting on said cup to seal said interior volume; at least one test strip carried by said cap; and a delivery mechanism carried by said cap actuatable to force an aliquot of said fluid specimen onto said test strip. 30. The device of claim 29 wherein said delivery mechanism includes: a passageway having an inlet located to contact a fluid specimen in said cup and an outlet located to deliver an aliquot of said specimen to said test strip; and a pump mechanism actuatable to force said aliquot from said passageway inlet to said outlet. 31. The device of claim 30 wherein said pump mechanism defines a pump chamber; and a pump element mounted for movement in said pump chamber to force fluid therefrom into said passageway inlet for delivery to said test strip. 32. The device of claim 31 wherein said cap is configured to enable a force produced external to said cap to move said pump element. 33. The device of claim 29 wherein said cap defines a compartment for accommodating said test strip; and a transparent area formed in said cap proximate to said compartment for visual observation of said test strip. 34. The device of claim 33 wherein said delivery mechanism further includes a passageway having an inlet located to contact a fluid specimen in said cup and an outlet located to deliver an aliquot of said specimen to said compartment; and a pump mechanism actuatable to force said aliquot from said passageway inlet to said outlet. 35. The device of claim 34 further including a catch basin located adjacent to said compartment for collecting fluid overflow therefrom. 36. The device of claim 29 wherein said cup defines an interior open well for accommodating a portion of said fluid specimen; and wherein said delivery mechanism includes: a partition configured to cooperate with said interior surface to isolate a portion of a specimen in said cup. 37. The device of claim 36 wherein said delivery mechanism partition comprises a first tubular wall surface descending from said cap to form a closed chamber for isolating said specimen portion; and a passageway having an inlet communicating with said closed chamber and an outlet located to deliver an aliquot from said isolated specimen portion to said test strip. 38. The device of claim 37 wherein said delivery mechanism further includes a pump element selectively actuatable to force an aliquot of said isolated specimen portion through said passageway to said test strip. 39. The device of claim 38 wherein said pump element comprises a plunger mounted for linear movement within said first tubular wall surface; and wherein said cap is configured to permit a force produced external to said cup to move said plunger. 40. The device of claim 38 further including a second tubular wall surface mounted within said first tubular wall surface and defining said passageway therebetween; and wherein said pump element comprises a plunger mounted for linear movement within said second tubular wall surface for acting on said isolated specimen portion to force an aliquot therefrom through said passageway; and an opening in said cap for enabling an external member to move said plunger. 41. The device of claim 29 wherein said test strip reacts to wetting by said aliquot to visually indicate the presence of a certain chemical component in said aliquot. 42. The device of claim 29 wherein said test strip reacts to wetting by said aliquot to visually indicate whether said aliquot comprises freshly voided unadulterated human urine. /// /// /// /// /// /// /// /// /// /// 43. An assaying device for collecting and analyzing a fluid specimen, said device comprising; a cup defining an interior volume for accommodating a fluid specimen; a cap configured for mounting on said cup to seal said interior volume; at least one compartment defined in said cap containing a test strip which provides a visual indication when contacted by a certain chemical; said cap defining a passageway including an inlet located to contact said specimen in said interior volume and an outlet located proximate to said compartment; and a pump mounted on said cap actuatable to drive an aliquot of said specimen from said inlet to said outlet for delivery to said test strip. 44. The device of claim 43 wherein said cap is configured to define a chamber for capturing and isolating a portion of said specimen; and wherein said passageway inlet is located in said chamber in contact with said isolated specimen. 45. The device of claim 44 wherein said pump includes a pump element mounted for movement to bear against said isolated specimen portion to force an aliquot therefrom through said passageway. 46. The device of claim 45 wherein said cap is configured to allow an external force to be applied to move said pump element. 47. The device of claim 43 wherein said cap is configured to permit visual observation of said test strip by an imager mounted external to said assaying device. // // 48. The device of claim 43 wherein said cap defines a transparent area for enabling visual observation of said test strip through said cap. 49. A system for collecting and analyzing a fluid specimen, said system comprising; an assaying device for collecting a fluid specimen and for providing a visual indication of the presence of one or more specific chemical components in said specimen; a reader device including a camera for generating an electronic representation of an image and a processor for analyzing said electronic representation; and a receptacle for accommodating said assaying device in a position to enable said camera to generate an electronic representation of said visual indication. 50. The system of claim 49 wherein said assaying device includes a housing having a transparent area for displaying said visual indication; and wherein said housing and said receptacle are respectively configured to assure an orientation of said housing in said receptacle to position said transparent area in the field of view of said camera. 51. The system of claim 49 wherein said assaying device comprises; a cup defining an interior volume for accommodating a fluid specimen; a cap configured for mounting on said cup to seal said interior volume; at least one test strip carried by said cap; and a delivery mechanism carried by said cap actuatable to force an aliquot of said fluid specimen onto said test strip. 52. The system of claim 51 wherein said assaying device includes a housing having a transparent area for displaying said visual indication; and wherein said housing and said receptacle are respectively configured to assure an orientation of said housing in said receptacle to position said transparent area in the field of view of said camera. 53. The system of claim 52 wherein said reader device includes a controller for selectively actuating the delivery mechanism of an assaying device accommodated in said receptacle. 54. The system of claim 51 wherein said reader device includes a microprocessor based controller for executing a test procedure to (1 ) actuate the delivery mechanism of an assaying device accommodated in said receptacle (2) actuate said camera to generate an electronic representation of the visual indication provided by said accommodated assaying device and (3) analyze said electronic representation. 55. The system of claim 54 further including means for locking said assaying device into said receptacle during execution of said test routine. 56. A method for collecting and analyzing a fluid specimen to determine the presence of a specific chemical component therein, said method including the steps of: collecting said specimen in an open cup; providing a cap for said cup having a compartment for accommodating a test strip and a passageway extending from an inlet to an outlet proximate to said compartment; mounting said cap on said cup to seal said specimen therein and place said passageway inlet in contact with said specimen; pumping an aliquot of said specimen from said passageway inlet to said outlet; and visually observing the reaction of said test strip. 57. The method of claim 28 wherein said pumping step includes the step of physically moving a plunger carried by said cap. 58. The method of claim 56 wherein said step of visually observing includes the steps of generating an electronic representation of an image of said test strip and processing said electronic representation to determine the presence of a specific chemical component.

Inventors: BIRKNER DAVID A, GOODIN JOHN W, LAPPE MURRY I, PATTEN KEITH, WHITFORD BILL, BIRKNER, DAVID, A., GOODIN, JOHN, W., LAPPE, MURRY, I., PATTEN, KEITH, WHITFORD, BILL
Applicants: NAT MEDICAL REVIEW OFFICES INC, NATIONAL MEDICAL REVIEW OFFICES, INC.
Application year: 2000
Main classification: G01N33
IPC codes: B01L3, G01N1, G01N21, G01N31, G01N33, G01N35