Research Article

Construction of a Drug Safety Assurance Information System Based on Clinical Genotyping

Algorithm 3

CreateDoseCurve algorithm (X and Y refer to coordinates in curve).
Input: drug interaction record (DI), patient’s weight (Weight), drug dose (Dose), multiplier (Mult)
Output: a 2-dimensional curve
(1) k .693/DI.Halflife
(2) Calculate peak plasma concentration (PPC) using Dose, DI.Bioavailibility, DI.VolDistribution, Weight, 𝑘 (1)
(3) if Mult 1 then
(4)  PPC PPC × Mult
(5)  DI.Halflife DI.Halflife × Mult
(6) end if
(7) Plot 1st part of curve using DI.PeakTime, PPC (Table 1)
(8) if Mult ≥ 1 then
(9)    Halflife5X last X + (DI.Halflife × 10)
(10) else
(11)  Halflife5X last X + ((DI.Halflife × 10)/Mult)
(12) end if
(13) while (X + (DrugInteraction.Halflife/5)) < Halflife5X do
(14)  X X + (DrugInteraction.Halflife/5); Y Y× 0.9
(15)  Add (X,Y) to curve
(16) end while
(17) return 2-dimensional curve