Patent ID: 6937257

Claim:
A computer-implemented method for maintaining consistent unit relationships in a pharmacological computational model editor, comprising: (a) presenting a graphical user interface having a plurality of objects, each object representing one or both of a pharmacokinetic element and a pharmacodynamic element; (b) receiving instructions via the graphical user interface for connection of at least two of the objects; (c) displaying the at least two objects connected in accordance with the received instructions, the connected objects having an input and an output; (d) receiving units-specifying data for at least one of an input and an output for the connected objects; (e) converting the at least two connected objects and the received units specifying data into an internal format corresponding to the pharmacokinetic and pharmacodynamic elements represented by the at least two connected objects, wherein the converting step (e) occurs substantially coincident with the object displaying step (c), the internal format comprising statements having terms, at least one of the terms having an associated multidimensional unit type corresponding to the received units-specifying data; (f) propagating the multidimensional unit type data for each statement; (g) identifying inconsistent units in the propagated multidimensional unit type data; and (h) displaying one or more warning messages on the graphical user interface regarding the identified inconsistent units.