5D Library › Polypharmacy Supplement Interactions, Chronotherapy Dosing Windows and Cytochrome Enzyme Competition · 中文
Chapter 8. Adherence, and the Gate
A schedule that is not kept delivers nothing
Every number in the previous chapters assumed the schedule was followed. Claxton, Cramer and Pierce’s systematic review of dose regimens against measured compliance found what everyone who has run a clinic expects: compliance falls as the number of daily doses rises, and the fall is steepest at the doses in the middle of the day, which have no meal or bedtime to attach themselves to (Claxton et al. 2001). An optimisation that ignores this optimises the wrong quantity.
Evidence
Published. Claxton, Cramer and Pierce reviewed the relation between dose regimens and measured compliance and found compliance decreasing with the number of daily doses (Claxton et al. 2001). Ito and colleagues give the interaction equation whose bound governs which co-medications matter (Ito et al. 1998).
Calculation
# Chapter 8. p15: A schedule that is not kept delivers nothing. The
# three-slot optimum of p11 scores 0.8605 when every slot is taken, and
# the single breakfast pile scores 0.5394. But a slot in the middle of a
# working day is the one people miss, and a slot that is missed delivers
# nothing at all for the items in it. The per-slot sums below are read
# off p11's solution. Thirty days are simulated for four thousand
# people, each slot taken or missed independently on each day, seed 96.
import random
SEED, PEOPLE, DAYS, N_ITEMS = 96, 4000, 30, 11
SLOT_SUM = (5.6499, 1.0000, 2.8160) # from p11's best schedule
SLOT_NAME = ("breakfast", "afternoon", "evening")
ADHERE = (0.92, 0.62, 0.80)
ONE_SLOT_SUM = 0.5394 * N_ITEMS # p11's all-at-breakfast score
ONE_SLOT_ADHERE = 0.95
def q(v, a):
s = sorted(v)
return s[int(a * (len(s) - 1))]
def run(rng, sums, adhere):
got = 0.0
for _ in range(DAYS):
for s, p in zip(sums, adhere):
if rng.random() < p:
got += s
return got / (DAYS * N_ITEMS)
if __name__ == "__main__":
rng = random.Random(SEED)
three = [run(rng, SLOT_SUM, ADHERE) for _ in range(PEOPLE)]
one = [run(rng, (ONE_SLOT_SUM,), (ONE_SLOT_ADHERE,))
for _ in range(PEOPLE)]
print(" three slots, adherence {}: perfect score {:.4f}"
.format(ADHERE, sum(SLOT_SUM) / N_ITEMS))
print(" realised: median {:.4f}, 10% to 90% {:.4f} to {:.4f}"
.format(q(three, 0.5), q(three, 0.1), q(three, 0.9)))
print(" one slot, adherence {:.2f}: perfect score {:.4f}"
.format(ONE_SLOT_ADHERE, ONE_SLOT_SUM / N_ITEMS))
print(" realised: median {:.4f}, 10% to 90% {:.4f} to {:.4f}"
.format(q(one, 0.5), q(one, 0.1), q(one, 0.9)))
print(" the three-slot schedule still wins by {:+.4f}"
.format(q(three, 0.5) - q(one, 0.5)))
wins = sum(1 for a, b in zip(three, one) if b > a)
print(" people for whom the one-slot pile did better: {} of {}"
.format(wins, PEOPLE))
never = (SLOT_SUM[0] + SLOT_SUM[2]) / N_ITEMS
print(" three slots with the afternoon never taken at all:"
" {:.4f}".format(never))
print(" which is still above the one-slot perfect score of {:.4f},"
.format(ONE_SLOT_SUM / N_ITEMS))
print(" so no level of afternoon adherence makes the single pile")
print(" the better choice, and the question is only whether the")
print(" middle slot is worth keeping at all")
print(" loss from adherence alone, three slots: {:.4f}"
.format(1.0 - q(three, 0.5) / (sum(SLOT_SUM) / N_ITEMS)))
print(" loss from adherence alone, one slot: {:.4f}"
.format(1.0 - q(one, 0.5) / (ONE_SLOT_SUM / N_ITEMS)))
print(" the middle slot carries only {:.4f} of the day's value"
.format(SLOT_SUM[1] / sum(SLOT_SUM)))
print(" so moving its single item into the evening would cost")
print(" little and remove the slot people miss, which is the")
print(" practical recommendation of this chapter")
# three slots, adherence (0.92, 0.62, 0.8): perfect score 0.8605
# realised: median 0.7362, 10% to 90% 0.6924 to 0.7735
# one slot, adherence 0.95: perfect score 0.5394
# realised: median 0.5214, 10% to 90% 0.4855 to 0.5394
# the three-slot schedule still wins by +0.2148
# people for whom the one-slot pile did better: 0 of 4000
# three slots with the afternoon never taken at all: 0.7696
# which is still above the one-slot perfect score of 0.5394,
# so no level of afternoon adherence makes the single pile
# the better choice, and the question is only whether the
# middle slot is worth keeping at all
# loss from adherence alone, three slots: 0.1445
# loss from adherence alone, one slot: 0.0333
# the middle slot carries only 0.1056 of the day's value
# so moving its single item into the evening would cost
# little and remove the slot people miss, which is the
# practical recommendation of this chapterWith adherence of 0.92 in the morning, 0.62 in the afternoon and 0.80 in the evening, the three-slot schedule that scores 0.8605 on paper realises a median 0.7362, with a ten to ninety range of 0.6924 to 0.7735. The loss from adherence alone is 0.1445, against 0.0333 for a single pile taken at 0.95. Adherence costs more than any single interaction in this book.
It does not, however, reverse the ranking. Even with the afternoon slot never taken at all the three-slot schedule delivers 0.7696, still above the 0.5394 that a perfect single breakfast pile would deliver, and not one of the four thousand simulated people did better on the single pile. The conclusion is not that schedules are futile but that the middle slot is. It carries 0.1056 of the day’s value, which is close to what its single item, zinc, contributes, and it is the slot people miss. Moving that one item into the evening gives up little and removes the failure point, which is what Chapter 3 already suggested on different grounds.
Hypothesis · not established
The author’s interpretation (not yet tested): for supplement schedules the optimal number of daily slots is two for almost everyone, because the third slot’s marginal delivery is smaller than the adherence it costs, and published three-times-daily schedules therefore under-deliver relative to the two-slot version they are meant to improve on. What would show it wrong: in a trial of two-slot against three-slot schedules with pill counts and a status marker, if the three-slot arm delivered more measured nutrient despite lower counted adherence, the marginal calculation here would be wrong.
Who must not take this cupboard
The last computation is the one a product built on this book would have to put first. Several of these items are not neutral in the presence of common medicines, and two of the pairs can cause serious harm.
Calculation
# Chapter 8. p16: Who must not take this cupboard. Several items in the
# stack are not neutral in the presence of common medicines, and two of
# the interactions can kill. The prevalences below are rounded from
# published population figures for adults in a developed country and
# are applied independently, which overstates how many people carry
# exactly one flag. For each flag the item it conflicts with is named,
# because the useful output is not a number but a list of pairs a
# reader can check against their own medicine cabinet. Twenty thousand
# synthetic adults, seed 96.
import random
SEED, N = 96, 20000
STOP = (
("warfarin", 0.0130, "vitamin K2"),
("a direct oral anticoagulant", 0.0220, "high-dose fish oil"),
("kidney function below 30", 0.0060, "magnesium and potassium"),
("digoxin", 0.0040, "calcium"),
("lithium", 0.0030, "caffeine"),
("a thiazide diuretic", 0.0900, "calcium and vitamin D3"),
("haemochromatosis", 0.0030, "iron"),
)
CARE = (
("levothyroxine", 0.0700, "calcium, iron, magnesium"),
("a proton pump inhibitor", 0.0900, "iron and vitamin B12"),
("a tetracycline or quinolone", 0.0250, "calcium, zinc, iron, magnesium"),
("metformin", 0.0700, "vitamin B12"),
("an SSRI", 0.1100, "curcumin and high-dose fish oil"),
("a statin", 0.2000, "curcumin through the same enzyme"),
("pregnant or breastfeeding", 0.0300, "vitamin A, iodine, caffeine"),
)
if __name__ == "__main__":
rng = random.Random(SEED)
stop_n = care_n = clear_n = multi = 0
sc = [0] * len(STOP)
cc = [0] * len(CARE)
for _ in range(N):
s = [rng.random() < p for _, p, _ in STOP]
c = [rng.random() < p for _, p, _ in CARE]
for i, v in enumerate(s):
sc[i] += v
for i, v in enumerate(c):
cc[i] += v
if any(s):
stop_n += 1
if sum(s) > 1:
multi += 1
elif any(c):
care_n += 1
else:
clear_n += 1
print(" {} synthetic adults".format(N))
print(" absolute conflicts: what the person takes, and with what")
for (name, p, item), k in zip(STOP, sc):
print(" {:<28}{:<9.4f}{}".format(name, k / N, item))
print(" conflicts of timing or dose, needing a doctor's view:")
for (name, p, item), k in zip(CARE, cc):
print(" {:<28}{:<9.4f}{}".format(name, k / N, item))
print(" carrying at least one absolute conflict: {:.4f}"
.format(stop_n / N))
print(" of those, with more than one: {:.4f}".format(multi / stop_n))
print(" needing a doctor's view but not an outright stop: {:.4f}"
.format(care_n / N))
print(" free to take the cupboard as written: {:.4f}"
.format(clear_n / N))
print(" so the gate stops or refers {:.4f} of adults"
.format((stop_n + care_n) / N))
worst = max(zip(STOP, sc), key=lambda z: z[1])
print(" the commonest absolute conflict is {} at {:.4f}"
.format(worst[0][0], worst[1] / N))
print(" and it conflicts with {}".format(worst[0][2]))
print(" the two that can kill are warfarin against vitamin K2,")
print(" carried by {:.4f}, and an anticoagulant against a high"
.format(sc[0] / N))
print(" dose of fish oil, carried by {:.4f}".format(sc[1] / N))
print(" together {:.4f} before allowing for people who have both"
.format((sc[0] + sc[1]) / N))
# 20000 synthetic adults
# absolute conflicts: what the person takes, and with what
# warfarin 0.0123 vitamin K2
# a direct oral anticoagulant 0.0221 high-dose fish oil
# kidney function below 30 0.0057 magnesium and potassium
# digoxin 0.0042 calcium
# lithium 0.0032 caffeine
# a thiazide diuretic 0.0896 calcium and vitamin D3
# haemochromatosis 0.0026 iron
# conflicts of timing or dose, needing a doctor's view:
# levothyroxine 0.0675 calcium, iron, magnesium
# a proton pump inhibitor 0.0909 iron and vitamin B12
# a tetracycline or quinolone 0.0246 calcium, zinc, iron, magnesium
# metformin 0.0694 vitamin B12
# an SSRI 0.1113 curcumin and high-dose fish oil
# a statin 0.1948 curcumin through the same enzyme
# pregnant or breastfeeding 0.0274 vitamin A, iodine, caffeine
# carrying at least one absolute conflict: 0.1346
# of those, with more than one: 0.0368
# needing a doctor's view but not an outright stop: 0.4017
# free to take the cupboard as written: 0.4637
# so the gate stops or refers 0.5363 of adults
# the commonest absolute conflict is a thiazide diuretic at 0.0896
# and it conflicts with calcium and vitamin D3
# the two that can kill are warfarin against vitamin K2,
# carried by 0.0123, and an anticoagulant against a high
# dose of fish oil, carried by 0.0221
# together 0.0344 before allowing for people who have bothAcross 20000 synthetic adults, 0.1346 carry at least one absolute conflict, and of those 0.0368 carry more than one. A further 0.4017 carry something that calls for a doctor’s view rather than a prohibition, which leaves 0.4637 free to take the cupboard as written. The gate stops or refers 0.5363 of adults.
Note
The two that can kill, and the commonest. Vitamin K2 opposes warfarin directly, and a person on warfarin who adds it without telling anyone can lose anticoagulation; 0.0123 of this sample are on warfarin. A high dose of fish oil beside a direct oral anticoagulant adds to bleeding risk; 0.0221 are on one. Together that is 0.0344 before allowing for people who have both. The commonest absolute conflict is not either of those but a thiazide diuretic, carried by 0.0896, which with calcium and vitamin D3 can raise calcium in the blood. The commonest conflict of timing is levothyroxine, which binds to calcium, iron and magnesium in the gut and must be separated from them by hours; it is in the referral list rather than the stop list only because separation genuinely solves it.
The independence assumption overstates how many people carry exactly one flag and understates how many carry several, since these conditions cluster. That does not make the gate smaller. The number that matters, 0.1346 stopped outright, counts people with any flag, and clustering lowers it only slightly while making the people it does catch sicker.
Summary
Adherence pulls the optimal three-slot schedule from 0.8605 to a median 0.7362, a loss of 0.1445, which is larger than any interaction computed in this book; but the schedule still wins, since even with the afternoon slot never taken it delivers 0.7696 against 0.5394. The middle slot carries only 0.1056 of the day’s value and should be abolished. The safety gate stops 0.1346 of adults outright and refers 0.4017, leaving 0.4637. The arithmetic in this book is therefore a description of a mechanism and a bound on its size, and the list of conflicts in p16 is the part a reader should actually act on, by taking it to a pharmacist.
References
Fan, Y. (2026). Polypharmacy Supplement Interactions, Chronotherapy Dosing Windows and Cytochrome Enzyme Competition: Michaelis-Menten Inhibition Matrices, Chelation Absorption Losses and Circadian Receptor Sensitivity [复合补剂相互作用、时间疗法给药窗口与代谢酶竞争] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090250 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).