Let me revise that, the previous would give the same fraction as lost for any time point after dosing
#ID TIME AMT CMT EVID IND
1 0 100 1 1 1
1 4 ; . -1 2 0
1 4 100 1 1 2
$PK
IF(IND.EQ.1) THEN
F1 = 1 ; DON'T NEED TO CHANGE THIS, AMT AFTER EMESIS WILL VANISH WITH CMT = -1
ALAG1 = THETA(1)
ELSE
F1 = EXP(TIME*(-KA))*THETA(2) ; EXP(TIME*(-KA)) SHOULD BE FRACTION REMAINING AT
; TIME =4, THEN SOME FRACTION OF THIS (THETA(2)
ALAG1 = THETA(3)
END IF
I think this will put the full amount into CMT 1 at T=0, then have it vanish at T=4 (effectively reducing F1), then put the remaining fraction (EXP((TIME*(-KA))) back, put only some estimate fraction of it (THETA(2), and give it some different lag time - I think. I think it could be adapted easily enough for multiple emesis events.
Alternatively, you could put the doses into seperate compartments, but this will get cumbesome if you have multiple emesis events.
Mark
Mark Sale MD
Next Level Solutions, LLC
www.NextLevelSolns.com
919-846-9185
-------- Original Message --------
Subject: [NMusers] How to code vomit event as absorption lag and lost
of amount in administration comp.
From: Galadriel <wyxiong m
To:
(image/png attachment: left.letterhead)