Abstract:
A computerized method of analyzing measurements obtained from the gastrointestinal tract of subject comprising the steps of providing an ingestible capsule ( 20 ) having a sensor ( 22, 23, 24 ) for measuring a parameter of the gastrointestinal tract of a subject, having a subject ingest ( 118 ) the capsule, recording ( 130 ) measurements from the sensor as the capsule passes through the gastrointestinal tract of the subject, transmitting ( 131, 122 ) the measurements to a processor ( 31 ), conditioning ( 132 ) the measurements to provide data as a function of a time interval, plotting ( 133 ) the data on a display ( 32 ), providing a query ( 205, 216, 234 ), on the display, receiving input ( 207   a  or  207   b ,  218   a  or  218   b ,  237   a  or  237   b ) from a user in response to the query, setting a marker ( 50 - 53 ) on the plot ( 40 ) at a location as a function of the input, and determining ( 238 ) a capsule transit time for a selected portion of the gastrointestinal tract as a function of the location of the marker.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
     This application claims the benefit of U.S. Provisional Patent Application No. 61/132,379, filed Jun. 18, 2008. The entire content of such application is incorporated by reference herein. 
    
    
     TECHNICAL FIELD 
     The present invention relates generally to ingestible capsules and, more particularly, to a system and process for assisting a user in the evaluation of the gastrointestinal tract of a subject with an ingestible capsule. 
     BACKGROUND ART 
     Ingestible capsules are well-known in the prior art. Such capsules are generally small pill-like devices that can be ingested or swallowed by a patient. It is known that such capsules may include one or more sensors for determining physiological parameters of the gastrointestinal tract, such as sensors for detecting temperature, pH and pressure. 
     A number of methods of determining location of an ingestible capsule are known in the prior art. For example, it is known that signal strength or signal triangulation may be used to attempt to determine the location of an ingested capsule. However, the use of an RF signal has a number of disadvantages, including that it generally requires multiple antennas, various tissues may impact the signal differently, and patient movement may skew the results. It is also known that accelerometers may be used to attempt to determine location, but such methods also have disadvantages, such as drift, non-linear progression and rotational inaccuracy. 
     It is also known that certain physiological parameters may be associated with regions of the gastrointestinal tract. For example, a 1988 article entitled “Measurement of Gastrointestinal pH Profiles in Normal Ambulant Human Subjects” discloses pH measurements recorded by a capsule passing through the gastrointestinal tract. It is known that pH has been correlated with transitions from the stomach to the small bowel (gastric emptying) and from the distal small bowel to the colon (ileo-caecal junction). 
     U.S. Patent Publication No. US2006/0149140 discloses a software program configured to interpret patient input data, diagnose the patient&#39;s condition, and recommend treatment options. U.S. Patent Publication No. US2002/0181680 discloses a data collection and management system for patient-worn medical devices in which data modems are used to provide for remote data collection and management of a wearable cardiac defibrillator monitor. 
     DISCLOSURE OF THE INVENTION 
     With parenthetical reference to corresponding parts, portions or surfaces of the disclosed embodiment, merely for the purposes of illustration and not by way of limitation, the present invention provides a computerized method of analyzing measurements obtained from the gastrointestinal tract of subject comprising the steps of providing an ingestible capsule ( 20 ) having a sensor ( 22 ,  23 ,  24 ) for measuring a parameter of the gastrointestinal tract of a subject, having a subject ingest ( 118 ) the capsule, recording ( 130 ) measurements from the sensor as the capsule passes through the gastrointestinal tract of the subject, transmitting ( 131 ,  122 ) the measurements to a processor ( 31 ), conditioning ( 132 ) the measurements to provide data as a function of a time interval, plotting ( 133 ) the data on a display ( 32 ), providing a query ( 205 ,  216 ,  234 ) on the display, receiving input ( 207   a  or  207   b ,  218   a  or  218   b ,  237   a  or  237   b ) from a user in response to the query, setting a marker ( 50 - 53 ) on the plot ( 40 ) at a location as a function of the input, and determining ( 238 ) a capsule transit time for a selected portion of the gastrointestinal tract as a function of the location of the marker. 
     The sensor may be selected from a group consisting of a pH sensor ( 22 ), a pressure sensor ( 23 ) and a temperature sensor. The step of transmitting the measurements to a processor may comprise the steps of transmitting the measurements from the capsule to a receiver ( 17 ), and downloading the measurements from the receiver to the processor. The step of conditioning the measurements to provide data as a function of a time interval may comprise the steps of screening the measurements to verify that they are valid. The plot may be a graph ( 40 ). The step of providing a query may comprise the steps of showing a suggested marker on the plot at a location and seeking confirmation from the user that the suggested marker is at a desired location ( 205 ,  216 ,  234 ). The input may comprise confirmation by the user that the suggested marker is at the desired location ( 207   a ,  218   a ,  237   a ). The step of providing a query may comprise the steps of showing a suggested marker on the plot at a location and allowing the user to move the suggested marker by way of an input device  33  communicating with the processor ( 207   b ,  218   b ,  237   b ). The input may comprise movement of the suggested marker by the user with the input device. The step of providing a query may comprise the step of allowing the user to position a marker at a desired location on the plot with an input device communicating with the processor and the input may comprise placement of the marker by the user with the input device. The data may be plotted in a first color and the marker may be shown on the plot in a second color different from the first color. 
     The location of the marker on the plot may correspond to an event selected from a group consisting of ingestion ( 50 ), gastric emptying ( 51 ), colonic entry ( 52 ), and body exit ( 53 ). The transit time may be selected from a group consisting of gastric emptying time, small bowel transit time, colonic transit time, whole gut transit time, and oral caecal transit time. The transit time may be displayed on the display. The method may further comprise the step of comparing the transit time to a standard transit time and a result of the comparison may be displayed on the display. The method may further comprise the step of comparing the data to a standard, and the standard may be selected from a group consisting of stomach pH, pH rise from stomach to small bowel, pressure in a portion of the gastrointestinal tract, and a temperature fluctuation. 
     The method may further comprise the steps of recording an event ( 134 ) associated with the subject during transit of the capsule, correlating the event with the data ( 201 ), and notating the event on the plot ( 202 ). The event may be selected from a group consisting of the subject ingesting the capsule, ingesting food, ingesting liquid, experiencing pain, experiencing nausea, experiencing gas, experiencing bloating, exercising, moving actively, vomiting, resting, waking up, and experiencing a bowel movement. The method may further comprise the step of entering a notation or comments associated with the plot ( 204 ). 
     In another aspect, a computer-readable medium is provided having computer-executable instructions for performing a method comprising receiving measurements of a parameter of a gastrointestinal tract of a subject recorded by a sensor on an ingestible capsule ingested by the subject, conditioning the measurements to provide data as a function of a time interval, plotting the data on a display, providing a query on the display, receiving input from a user in response to the query, setting a marker on the plot at a location as a function of the input, and determining a capsule transit time for a selected portion of the gastrointestinal tract as a function of the location of the marker. 
     In another aspect, a system for analyzing measurements obtained from the gastrointestinal tract of a subject is provided comprising an ingestible capsule having a sensor adapted to record measurements as the capsule passes through at least a portion of a subject&#39;s gastrointestinal tract, a receiver adapted to receive the measurements when transmitted from the capsule, a processor adapted to communicate with the receiver, a display in communication with the processor, an input device in communication with the processor, the processor programmed to receive the measurements, condition the measurements to provide data as a function of a time interval, plot the data on the display, provide a query on the display, receive input from the input device in response to the query, set a marker on the plot at a location as a function of the input, and determine a capsule transit time for a selected portion of the gastrointestinal tract as a function of the location of the marker. 
     Accordingly, the general object is to provide a method for assisting a user in the evaluation of a subject. 
     Another object is to provide a method for guiding a user in evaluating a subject. 
     Another object is to provide a system for guiding a user in evaluating a subject. 
     These and other objects and advantages will become apparent from the foregoing and ongoing written specification, the drawings, and the claims. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is a sectional view of an ingestible capsule adapted to record pressure, pH and temperature measurements in a gastrointestinal tract. 
         FIG. 2  is a schematic of an embodiment of the improved system. 
         FIG. 3  is a flow chart of an embodiment of the improved method. 
         FIG. 4A  and  FIG. 4B  are a flow chart of the data analysis step shown in  FIG. 3 . 
         FIG. 5  is a graphical display of data with markers applied. 
     
    
    
     DESCRIPTION OF PREFERRED EMBODIMENTS 
     At the outset, it should be clearly understood that like reference numerals are intended to identify the same structural elements, portions or surfaces consistently throughout the several drawing figures, as such elements, portions or surfaces may be further described or explained by the entire written specification, of which this detailed description is an integral part. Unless otherwise indicated, the drawings are intended to be read (e.g., cross-hatching, arrangement of parts, proportion, degree, etc.) together with the specification, and are to be considered a portion of the entire written description of this invention. As used in the following description, the terms “horizontal”, “vertical”, “left”, “right”, “up” and “down”, as well as adjectival and adverbial derivatives thereof (e.g., “horizontally”, “rightwardly”, “upwardly”, etc.), simply refer to the orientation of the illustrated structure as the particular drawing figure faces the reader. Similarly, the terms “inwardly” and “outwardly” generally refer to the orientation of a surface relative to its axis of elongation, or axis of rotation, as appropriate. 
     Referring now to the drawings and, more particularly, to  FIG. 2  thereof, this invention provides a new system for evaluating the gastrointestinal tract of a subject with an ingestible capsule, of which the presently preferred embodiment is generally indicated at  15 . As shown in  FIG. 2 , system  15  generally includes an ingestible capsule  20  having a pressure sensor assembly  23  for taking pressure measurements of a subject&#39;s gastrointestinal tract, a pH sensor  22  for taking pH measurements of a subject&#39;s gastrointestinal tract, and a transmitter  16  for transmitting the measurements, a receiver  17  for receiving signals sent from transmitter  16 , and a workstation  19  for processing measurements from sensors  22  and  23 . 
     As shown in  FIG. 1 , capsule  20  is an elongated ellipsoid-shaped device, somewhat resembling a medicament capsule. The capsule generally has a hard shell or casing which houses the transmitting electronics, battery compartment and sensors. Capsule  20  is adapted to be ingested or otherwise positioned within a tract to sense pressure, pH and temperature within the tract and to transmit such readings. As shown, capsule  20  is generally a cylindrical member elongated about axis y-y and having generally rounded closed ends. The capsule is generally provided with an outer surface to facilitate easy swallowing of the capsule. In the preferred embodiment, capsule  20  is an autonomous swallowable capsule and is self-contained. Thus, capsule  20  does not require any wires or cables to, for example, receive power or transmit information. The pH, pressure and temperature data are transmitted from within the GI tract to data receiver  17 . 
     Capsule  20  includes a pressure sensor assembly  23  comprising a flexible sleeve  26  affixed to the shell of the capsule and defining a chamber  28  between the shell and the sleeve. A pressure sensor  29  is operatively arranged to sense pressure within chamber  28  and communicates with the chamber through a fluid port  30  at one end of the shell of the capsule. As shown, the pressure sleeve  26  of capsule  20  extends from a point below the middle of the capsule up over the top end of the capsule. 
     On the opposite end of capsule  20  to pressure sensor  23  is pH sensor  22 . In the preferred embodiment, pH sensor  22  is a conventional ISFET type pH sensor. ISFET stands for ion-selective field effect transistor and the sensor is derived from MOSFET technology (metal oxide screen field effect transistor). A current between a source and a drain is controlled by a gate voltage. The gate is composed of a special chemical layer which is sensitive to free hydrogen ions (pH). Versions of this layer have been developed using aluminum oxide, silicon nitride and titanium oxide. Free hydrogen ions influence the voltage between the gate and the source. The effect on the drain current is based solely on electrostatic effects, so the hydrogen ions do not need to migrate through the pH sensitive layer. This allows equilibrium, and thus pH measurement, to be achieved in a matter of seconds. The sensor is an entirely solid state sensor, unlike glass bulb sensors which require a bulb filled with buffer solution. Only the gate surface is exposed to the sample. 
     After activation and ingestion, capsule  20  senses and transmits measurements for at least 120 hours after activation. In the preferred embodiment, the range and accuracy of the sensors are generally 1 to 9.0 pH units with an accuracy of ±0.5 pH units, 0 to 350 mmHg with an accuracy of 5 mmHg, or 10% above 100 mmHg, and 25° to 49° C. with an accuracy of ±1° C. 
     In the preferred embodiment, the capsule transmits measurements at about 434 MHz and measures 26.8 mm long by 11.7 mm in diameter. As shown in  FIG. 2 , portable data receiver  17  worn by the subject receives and stores measurements transmitted by transmitter  16  in capsule  20 . Data receiver  17  contains rechargeable batteries and when seated in a docking station allows for battery charging and data download. Data receiver includes an internal processor and a small display window  18 . Data is downloaded from data receiver  17  through a docking station via a USB connection to computer  19 . In this embodiment, computer  19  is a conventional Windows PC compatible laptop or desktop. 
     In the preferred embodiment, personal computer  19  includes a processor  31 , data processing storage  34 , a monitor or display  32 , a user interface  33 , and a printer  35 . In the preferred embodiment, monitor  32  is a computer screen. However, monitor  32  may be any other device capable of providing an image or other data. In the preferred embodiment, user interface  33  includes a keyboard and a mouse. However, user input could be a touch-sensitive display device, a control panel or any other suitable device for interfacing with data processor  31 . 
     The processing of the measurements from capsule  20  and the instructions for the user is generally provided using computer-executable instructions executed by a general-propose computer, such as a server or personal computer  19 . However, it should be noted that this processing may be practiced with other computer system configurations, including internet appliances, hand-held devices, wearable computers, multi-processor systems, programmable consumer electronics, network PCs, mainframe computers and the like. The term computer or processor as used herein refers to any of the above devices as well as any other data processor. Some examples of processors are microprocessors, microcontrollers, CPUs, PICs, PLCs, PCs or microcomputers. A computer-readable medium comprises a medium configured to store or transport computer readable code, or in which computer readable code may be embedded. Some examples of computer-readable medium are CD-ROM disks, ROM cards, floppy disks, flash ROMS, RAM, nonvolatile ROM, magnetic tapes, computer hard drives, conventional hard disks, and servers on a network. The computer systems described above are for purposes of example only. An embodiment of the invention may be implemented in any type of computer system or programming or processing environment. In addition, it is meant to encompass processing that is performed in a distributed computing environment, were tasks or modules are performed by more than one processing device or by remote processing devices that are run through a communications network, such as a local area network, a wide area network or the internet. Thus, the term processor is to be interpreted expansively. 
     Processor  31  is programmed to interact with the user of system  15  and to guide the user in evaluating the gastrointestinal tract of a subject. Processor  31  provides step by step instructions to the user via monitor  32 . With mouse the user clicks on images or links on monitor  32  in response to questions or instructions. Thus, the user proceeds through a series of screens. The user indicates that each task has been completed by clicking a “Next” button at the bottom of each screen. Only when this input is provided does the system allow the user to continue on to the next task or step, thereby helping assure that no critical step is missed in the process. The user can be a physician, a physician&#39;s assistant, a veterinarian, or anyone who is administering or testing a subject. 
     As shown in  FIG. 3 , the method of this embodiment includes a number of general phases, including a setup phase  101 , a data receiver  102 , a calibration phase  112 , a testing phase  116 , an evaluation phase  120 , and a documentation phase  128 . 
     In setup phase  101 , data receiver  17  is first turned on by pressing an “Event” button on the receiver. A receiver docking station is connected to processor  31  via a USB port and data receiver  17  is placed in the docking station. An audio signal lets the user know that processor  31  has recognized the USB connection to the data receiver. The system then instructs the user to enter information  103  about the subject undergoing the test via user interface  33 . These fields may include name, date of birth, gender, height, weight and user name. Required information, such as the name and date of birth of the subject, is marked with an asterisk. A “search for patient” button may be used to access existing records. In addition, certain contraindications for use are asked of the user, such as whether the subject has any implanted electromechanical devices, whether the subject has any GI obstructions, strictures or fistulas, whether the subject has a history of gastric bezoars, whether the subject has undergone GI surgery, whether the subject has difficulty swallowing, and whether the subject has Crohn&#39;s disease or diverticulosis. If one of these boxes is checked, a warning screen appears and the user may select to end the test or enter a justification for continuing and select to proceed. The “Next” button is not available until the user completes the contraindications step. Other questions that may be asked at this step include whether the subject is scheduled for an MRI in the following two weeks, whether the subject has taken motility medications, proton pump inhibitors, histamine2 blockers or antacids in the past 48 hours, whether the subject has had any abdominal surgery, whether the subject has any allergies, whether the subject is on any other medications, whether the subject is suffering with any medical symptoms, such as pain or constipation, and whether the subject smokes, is diabetic or pregnant. 
     Next, the user is prompted to select  104  a folder into which the test data is to be saved or stored. While the user may choose a folder to store the test records, a current default folder will be automatically selected, although the user may choose an alternative location. 
     The user is then instructed  105  to ensure that the necessary parts of system  15  are ready for use. These parts include a capsule activation fixture, capsule  20  and its container, and a buffer. Each item is illustrated on monitor  32 , and the user must check off each item before the “Next” button becomes available. 
     The user is then instructed on how to activate  106  and select  111  capsule  20 , and these instructions may include illustrations. The user is instructed to place capsule  20  in its container on the power activation fixture  107 , to properly align the capsule with the fixtures “On” mark and to press down on the container and hold for five seconds  108 . The user is then instructed to remove the container from the activation fixture  109  and to then place the capsule in the docking station well. 
     The user is then informed that the system is scanning for activated capsules. The serial number, signal strength and used status of capsules within range of the receiver are then displayed to the user. The user is asked to select from the screen the capsule matching the serial code on the container. A capsule having the status of “used” may not be selected. Only when a capsule with a “not used” status is selected does the “Next” button become available to the user. The time and the non-calibrated pressure and pH data for the selected capsule are then displayed. 
     The user is then directed  112  to calibrate pressure sensor  23  and pH sensor  22 . The user is directed  113  to enter a pressure calibration code found on the lid of the capsule container and the location of that code is shown. The user is then instructed with step by step illustrations to remove the lid of the container, to pour a pH calibration buffer into the capsule container  114 , to remove the capsule from its seat by gently rocking it from side to side, and to then reinsert it into the container, with the pH sensor 110 degrees clockwise to the diamond-shaped window of the container. The capsule then automatically calibrates  115 . The calibration is complete when the capsule pH reading remains stable at 6.0, and the message screen will change from “calibrating capsule” to “pH calibration complete”. Also, a status bar will change from red to green. The “test in progress” icon will then appear in the status bar. 
     Capsule  20  is then used in testing phase  116  to measure parameters of the gastrointestinal tract of the subject. The user is directed to undock data receiver  17  and to position it on the subject using a lanyard or belt clip. The user is then instructed  117  to have the subject ingest a meal. In this embodiment a standard meal of an egg substitute, two slices of bread and water is ingested. Immediately after the subject finishes eating, the user is instructed to remove the capsule from the buffer, to rinse it in water, and to have the subject ingest the capsule  118  with a half cup of water. The user is then asked to verify that the receiver and capsule are communicating by observing a solid black block to the right of the pH value on the display. 
     A discharge checklist  119  is then provided to the user and the user is instructed to check each instruction to the subject after it is given. The checklist includes the user reviewing the patient instruction sheet with the subject, reviewing the patient diary usage with the subject, scheduling a date for data receiver return, and providing the subject with physician/office contact information in case of emergencies and questions. The box next to each task on the discharge checklist  119  must be checked before the user is able to click the “Finish” button. 
     As the capsule passes through the gastrointestinal tract of the subject, pH sensor  22  and pressure sensor  23  take measurements  130  and capsule  20  transmits  131  the measurements to receiver  17  being worn by the subject. The measurements are stored in receiver  17 . In addition, an event button on receiver  17  allows the subject to electronically record a diary event  134 , described further below, and to include a brief description of the event. 
     Once the receiver has been returned by the subject, the data is evaluated  120 . When the subject has passed the capsule and returned receiver  17  to the user, the user dockets it in the docking station and the system automatically detects that there is data on the receiver  122  and displays a message asking if the user wishes to open the subject&#39;s previously created test file stored on computer  31 . Once the subject&#39;s test file is open, the user is prompted to select “Download Data” and the download screen appears. 
     Once the download is completed, the system conditions the downloaded measurements  132 . In this embodiment, the pressure data from the subject is conditioned to distinguish real contraction data from artifacts or “noise” within the data set, as well as to discount physiologically improbable values. In the preferred embodiment, both concerns are addressed as part of a process which inspects each data value in the pressure measurement data set provided by the capsule. Because the conditioning utilizes constant minimum and maximum threshold values to determine and eliminate data spikes and artifacts, the input pressure data is baseline compensated. As mentioned above, the pressure data is then conditioned by filtering out those sets of data points or contractions whose peaks are above a predetermined threshold or limit. In the preferred embodiment, this threshold is about 200 mmHg. In addition, those contraction patterns whose peaks are less than a predetermined threshold or limit are also filtered out. In the preferred embodiment, this minimum threshold is about 9 mmHg. Thus, in the preferred embodiment the process considers a set of baseline compensated pressure measurements and begins evaluating each value in linear sequence from beginning to end. If a point is found to exceed the defined maximum, then the high value or spike is removed with its associated ascending and descending artifact values by traversing the data set both behind and ahead of the detected spike and zeroing the spike and any associated values, until either its termination or a new contraction is detected. The determination that an artifact has terminated is defined as any data point below a minimum pressure value. Contrarily, finding the next contraction from the high value is based on the detection of three consecutive ascending values, which is interpreted as an ascent in pressure, indicating the edge of a different contraction. Thus, in determining, for example, the area under the curve for a given time interval, a pressure point is included in the calculation only if its value is greater than or equal to the sum of the baseline pressure and the minimum threshold and is below the sum of the baseline pressure and the maximum threshold. 
     The conditioned data is then plotted  133  in graphical form  40  on screen  32  with a “Test Summary” overlay window. The software allows the user to selectively display pH versus time  60 , pressure versus time  61  and temperature versus time  62  on the graph  40 . The user may display these graphs separately or all three may be displayed in any combination or all together on the same graph. The user can also select to see just data from a specific region of the gastrointestinal tract of the subject. 
     The system then guides the user through a step-by-step analysis of the recorded data  123 . The interactive analysis of the data includes a number of general steps, including matching subject diary events to the data  201 , marking and confirming capsule ingestion  205 , analyzing gastric pH baseline  208 , identifying procedural violations such as the ingestion of an additional meal  212 , marking and confirming gastric emptying  216 , analyzing duodenal pH baseline  219 , analyzing a pH change from the antrum to duodenum  223 , determining rapid capsule emptying possibility  226 , marking and confirming the ileo-cecal junction, marking and confirming body exit  234 , and providing a complete test analysis  238 , including segment transit times. To navigate through the program the user uses a “Go to previous” and “Go to next” button. A “Help” icon is available to assist the user with additional information on the step being viewed. As further described below, at the end the user may review the user&#39;s analysis of the test by clicking a “Finish” button and displaying a test summary. 
     The system first instructs  201  the user to match diary events recorded by the subject with the data recorded by capsule  20 . At the beginning of the test the subject is directed to hit the event button on receiver  17  and record in a diary any events that may effect the data, such as the subject ingesting the capsule, the subject ingesting food, the subject ingesting a liquid, the subject experiencing abdominal pain or cramping, the subject experiencing nausea, the subject experiencing bloating or gas, the subject exercising or moving actively, the subject vomiting, the subject experiencing a bowel movement, the subject resting, and the subject waking up. A drop down menu of typical events is available to the user. The specific times that the event button on receiver  17  was pressed by the user are listed on the screen and the user is directed to select an event type from the menu  202  for each event. The user may also edit that description  203  if desired to more closely match it to the subject&#39;s written entries in the diary. The user may also enter notes  204  if desired. Annotating the graph with information from the subject&#39;s diary may help facilitate data analysis and interpretation. Thus, the user is allowed to select common events from the event icon drop down list or type in the user&#39;s own event caption and notes. 
     System  15  instructs the user in marking and confirming on graph  40  a number of transitional events for the capsule as it passed through the gastrointestinal tract. These events include ingestion of the capsule or the ingestion event time (IET), the capsule emptying from the stomach or the gastric emptying time (GET), the capsule entering the colon or passing the ileo-caecal junction (ICJ), and the capsule exiting the body or body exit time (BET). These times and their confirmation then allow the program to calculate transit time through different portions of the gastrointestinal tract of the subject, including gastric emptying time, small bowel transit time, colonic transit time, whole gut transit time and oral caecal transit time. The program identifies the stomach region of the subjects gastrointestinal tract as the span of data between entry of the capsule into the stomach, and the emptying of the capsule into the bowels. The program identifies the antrum region of the gastrointestinal tract as the span of data starting half an hour before gastric emptying to the gastric emptying event. The program identifies the duodenal region of the gastrointestinal tract as the span of data starting from gastric emptying to one half hour after gastric emptying. The small and large bowel region of the gastrointestinal tract are identified as being the span of data between gastric emptying and capsule body exit, differentiated by passage through the ICJ. 
     The first marker applied indicates the time the subject ingested the capsule or the IET. The user is instructed to confirm the time of capsule ingestion  205 . System  15  performs its own computation for the IET and provides this information to the user  206  by placing a suggested marker  50  on graph  40 . The information may also be provided by showing the coordinates. The user is then provided the option of agreeing and confirming  207   a  the suggested IET, or the user may disagree and move the marker to a different location  207   b  on graph  40 . 
     The computed IET characterizes the ingestion event as two distinct event points: the point in time at which the capsule is swallowed by the subject, and the point in time in which the capsule enters the stomach. This distinction is made for the purpose of computational accuracy. The first point is used to track the beginning and duration of the test itself relative to the activation of the capsule and the physical act of being swallowed, whereas the second is used in conjunction with the algorithm which analysis the values for pH, temperature and pressure. Both points are found and used, but are maintained and referenced differently. The typical pH profile for the beginning of the test is characterized by the calibration phase, followed by a period of exposure to air, and concluded by a gastric phase. The calibration period is defined as the beginning of the test when pH values are at 6.0. When the capsule is exposed to air, the pH value will typically show a rapid increase to values well above 14. The gastric phase is identified by a sustained drop in pH values to well below the calibration value, generally between 1.0 and 4.0. The system first determines the average temperature across an entire test to establish baseline body temperature. The point within the temperature data set at or above the average is found, and the corresponding pH data point is found and used throughout the remainder of the program as a potential capsule stomach entry point. The program then proceeds to search the pH data set below the first value in the pH value set and this potential stomach entry point to locate a maximum pH value. The maximum value is then used as a boundary point. The pH minimum located between the beginning of the data set and the maximum point is defined as the physical swallow of the capsule. The pH minimum located between the potential stomach entry point and the pH maximum point becomes the final stomach entry point. 
     The user is then asked to analyze the gastric pH baseline  208 . A baseline below 4 indicates normal acidic conditions and a baseline above 4 may need further characterization. The user is asked  209  whether gastric pH reached a baseline below 4. If the user response  210  is “No”, a default annotation is inserted  211  into the “Notes” box indicating that a stomach pH below 4 was not observed. This annotation may be edited or comments and observations added by the user by typing in the “Notes” box. If the user answers “Yes”, the user is instructed to proceed to the next step. 
     The user is then asked about any procedural deviations, particularly whether the subject had any additional meals within 6 hours of ingestion  212 . The subject eating additional meals before 6 hours has elapsed can affect the validity of the test result. An additional meal is defined as anything other than limited quantities of water. Since snacks or meals should be recorded in the patient diary with an event notation, this information is used to provide analysis  212 . The user is asked  213  to check the event history and whether the subject ate an additional meal within 6 hours of ingestion. If the user responds  214  “Yes”, a corresponding marker is indicated  215  on graph  40 . In this embodiment, the user is asked to insert this meal marker with a point annotation on graph  40 . The program also reminds the user that the additional meal would not include the standard meal at the start of the test. If more than one additional meal is indicated, additional markers may be used to identify the time of each meal on graph  40 . 
     Next, the user is instructed to confirm the time of gastric emptying  216 . System  15  performs its own computation for GET and provides this information to the user  217  by placing a suggested marker  51  on graph  40 . The information may also be provided by showing the coordinates. The user is then provided the option of agreeing and confirming  218   a  the suggested GET, or the user may disagree and move the marker to a different location  218   b  on graph  40 . 
     The gastric emptying time is the elapsed time between ingestion of the capsule and the start of a sustained pH rise. The pH profile of gastric emptying is typically characterized by a sharp rise in pH from very low values, followed by a slight drop, and concluded by a substained pH at around neutral value. This corresponds with the exit of the capsule from the highly acidic environment of the stomach into the small bowel, where pH is at a neutral level for healthy subjects. The sustained pH rise typically will have no transient drops longer than ten minutes that exceed 50% of the pH change observed during the pH rise. To compute GET, the program looks at the data collected in reverse, starting at the end of the test and working towards the beginning of the test. The software detects gastric emptying by first filtering the pH profile to exclude predefined, physiologically improbably values and adjusting the raw data against the test&#39;s maximum and minimum to provide a more uniform trend, for the purpose of eliminating multiple artifact point that may result in a false reading. After filtration, the pH data set is traversed backwards to locate the demarcation between the sustained pH values of the bowel area and the small spike that immediately follows gastric emptying. After the stomach-bowel transition point is found, the data is then analyzed from the post-emptying spike to the next sustained low pH reading for a sharp sustained drop in the pH slope. The beginning point of the drop, with respect to the low (stomach) pH portion of the slope, is used as the point of gastric emptying and a suggested marker  51  is applied. 
     To assess the accuracy of GET, the pH data may be further analyzed with the user by looking closely at the duodenal pH baseline  219  and the pH change from the antrum to the duodenum  223 . First, the user is asked  220  whether the rise in pH is sustained within 30 minutes after the indicated  51  GET. If the user selects  221  “No”, a note is automatically entered  222  on graph  40  indicating that the duodenal pH baseline was not observed. If the user answers “Yes”, the user is instructed to proceed to the next step. 
     The pH change from the antrum to the duodenum is then analyzed  223 . The pH baseline 30 minutes before emptying is shown to the user, the pH baseline 30 minutes after emptying is shown to the user  224 , and the user is shown the median pH in the antrum and the duodenum  224 . The user is also instructed that typically a pH rise of 3 should be observed between the two. The user is requested to accept the pH change  225   a  and proceed to the next step or to select to have a note automatically inserted  225   b  on graph  40  indicating that an unusual pH difference was observed. 
     The user is then requested to indicate whether a rapid capsule emptying appears to have occurred  226 . The user is informed that rapid emptying of the capsule may be related to emptying of the test meal  227 . Based on the selected IET and GET, the program calculates the duration of gastric emptying. Typically, a preliminary cutoff for a normal subject is 4 hours and the minimum cutoff for a valid test is 30 minutes. The user is asked  228  whether they observed an unexpected rapid emptying, or emptying occurring within 30 minutes of IET. If the user responds  229  “Yes”, a note is automatically entered  230  on graph  40 . In an alternative embodiment, the user is also asked whether the user observes an unexpectedly slow emptying, typically emptying occurring outside 6 hours. Again, if the user responds “Yes”, a note to that effect is automatically shown on graph  40 . This annotation may be supplemented with comments or edited by the user. 
     Based on the answers provided by the user and the position of markers  50  and  51  on graph  40 , statistics for pressure and pH for 30 minutes prior to GET and 30 minutes after GET are calculated. The user is provided with a query as to whether the user wishes to automatically annotate graph  40  with respect to gastric emptying and to compute the motility statistics  232 . If the response  233   a  is “No”, the user proceeds to the next step. If the response  233   b  is “Yes”, the motility statistics are computed and provided on display for view to the user. In the preferred embodiment, for 30 minutes prior to GET the median pH is shown together with a minimum pH for the 30 minute time period and a maximum pH. In addition, the mean pressure is shown together with the maximum pressure. Motility index is also shown. The same information and calculations are shown on display screen  32  for the 30 minutes after the marked GET. U.S. Patent Publication No. 2008/0064938, entitled “Method of Determining Location of an Ingested Capsule”, the entire contents of which are incorporated herein my reference, discloses the computation of motility index. 
     Next, the user is instructed to mark and confirm the ICJ time  250 . System  15  performs its own computation for the ICJ and provides this information to the user  251  by placing a suggested marker  52  on graph  40 . The information may also be provided by showing the coordinates. The user is then provided the option of agreeing and confirming  252   a  the suggested ICJ time, or the user may disagree and move the marker to a different location  252   b  on graph  40 . 
     In this embodiment, a combined change in pH and motility index is used by the program to mark  52  the transition between the distal ileum and the caecum. A change in pH and a change in either frequency of contractions or motility index that correlates with variations in a template are used to compute the suggested ICJ  52 , as further described in U.S. Patent Publication No. 2008/0064938, entitled “Method of Determining Location of an Ingested Capsule”, the entire contents of which are incorporated herein my reference. 
     With respect to both GET and ICJ, the program may also prompt the user to comment on any notable pressure characteristics around the event time. These comments may also be displayed on graph  40  or included in the test summary if desired by the user. 
     Based on the selected GET and ICJ, the program calculates the small bowel transit time (SBTT). A standard SBTT is shown to the user and the user is asked whether they observed an unexpected rapid or slow transit. If the user responds “Yes”, a note is automatically entered on graph  40 . This annotation may be supplemented with comments or edited by the user. 
     Next, the user is instructed to mark and confirm the body exit time (BET)  234 . System  15  performs its own computation for BET and provides this information to the user  235  by placing a suggested marker  53  on graph  40 . The information may also be provided by showing the coordinates. The user is then asked to refer to the event markers and any indicated bowel movement event marker to corroborate the BET  236 . The user is then provided the option of agreeing and confirming  237   a  the suggested BET, or the user may disagree and move the marker to a different location  237   b  on graph  40 . 
     In this embodiment, BET is computed from a set of data trends as the capsule exits the body and is exposed to a non-physiological environment. A typical graph will show the pressure decreases to near zero or its calibrated offset and temperature drops sharply. The program uses temperature to determine BET. The system first determines a range of temperatures which represent body temperature using a pre-defined temperature of 32° C. as a minimum threshold. The temperature data set is then inspected in reverse chronological order from the end of the test to locate the first data point which lies within the determined body temperature range and this is used. In the worst case scenario, where the temperature cannot be characterized, the pressure data set is analyzed in backwards chronological order for the first sharp rise in pressure values. The time of the detected pressure rise is then defined by the algorithm as the BET. 
     Based on the selected ICJ and BET, the program calculates the colonic transit time (CTT). A standard CTT is shown to the user and the user is asked whether they observed an unexpected rapid or slow transit. If the user responds “Yes”, a note is automatically entered on graph  40 . This annotation may be supplemented with comments or edited by the user. 
     Whole gut transit time or total transit time (TTT) is the time from capsule ingestion to body exit and this may also be provided to the user for analysis in comparison to a standard. 
     In this embodiment, system  15  will also provide the user with a number of warnings or alerts during the process. If gastric emptying occurs within 30 minutes of capsule ingestion, a warning is provided to the user indicating that the test results are probably not valid. If a pH change of less than 3 units is indicated from the antrum to the duodenum, then the program provides the user with a warning that further clarification may be needed. If low voltage is detected in capsule  20 , an alert is provided to the user. This alert advises the user to disregard or question all data collected after the start of the alert as the temperature readings may be artificially low. 
     Once BET has been confirmed  234 , the test analysis is completed  238 . The user is informed that a test summary is available for display  239 . The user is also given the chance to further edit any notes or annotations entered on graph  40 . The user may then elect to finish the analysis, in which case the test summary appears  240  over graph  40 . The test summary displays the subject transit times based on the user confirmed placement of markers  50 - 53 . In this embodiment, the test summary will also show the system computed transit times together with information regarding the transit times for a standard or healthy subject with respect to the indicated regions. In this embodiment, gastric emptying time GET is shown and a standard of about 4 hours and under is indicated. Small bowel transit time SBTT, colonic transit time CTT and whole gut transit time TTT are also shown. It is contemplated that other transit times may be shown, such as oral-caecal transit time (ingestion to the ICJ event). 
     After a completed test has been downloaded and reviewed  121 , the summary sheet may be reviewed by the user  124  on monitor  32 . In addition, events recorded in the patient diary may be entered  125  on the summary sheet. The user may then generate a PDF version of the summary sheet or print the summary sheet  126  on printer  35 . The information may be used to evaluate and diagnose the user  127 . Finally, the user may generate billing or file documentation  128 , including a reimbursement report  129  that is printable on printer  35 . 
     While this embodiment has been described in relation to the gastrointestinal tract of a human, it is contemplated that the system may be used in connection with the gastrointestinal tract of other animals. 
     The present invention contemplates that many changes and modifications may be made. Therefore, while the presently-preferred form of the improved method and system have been shown and described, and a number of alternatives discussed, persons skilled in this art will readily appreciate that various additional changes and modifications may be made without departing from the spirit of the invention, as defined and differentiated by the following claims.