ZeqPharma — Pharmacokinetics
Biosignals, pharmacokinetics, diagnostics, genomics — all 1.287 Hz pulse-coherent.
- Protocol ID —
zeq-pharma - Category — Healthcare
- Endpoint —
POST /api/health/pharma/simulate - Auth — api-key
- Rate limit — 20/min
- Version —
1.0 - Precision — ≤0.1% (KO42-enforced)
What it does
Drug absorption, distribution, metabolism, and excretion modeling via the HULYAS ODE solver. Compartmental PK models integrated with RK4 on the Zeqond timebase.
Signature
Request
POST /api/health/pharma/simulate
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
drugName | string | ✓ | — | Drug identifier. |
doseAmount | number | ✓ | — | Dose in mg. |
route | string | "oral" | 'oral', 'iv', 'im', 'sc'. Default: 'oral'. | |
bodyMassKg | number | 70 | Patient body mass. Default: 70. | |
tMaxHours | number | 24 | Simulation duration in hours. Default: 24. |
Response
{ concentration: [{ t, plasma, tissue }], tMax, cMax, halfLife, auc, clearance }
Runnable example
curl -sS -X POST \
-H "Authorization: Bearer $ZEQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"drugName": "<value>",
"doseAmount": 0,
"route": "oral",
"bodyMassKg": 70,
"tMaxHours": 24
}' \
"https://api.zeq.dev/api/health/pharma/simulate"
Integrate
- Domain solver — compose with
KO42+ two additional operators from the matching family for pulse-coherent results. - Digital twin — pipe sensor data into this protocol every Zeqond to keep the model phase-locked with the system.
- Alert threshold — flag results whose
error_pctexceeds 0.1% as out-of-spec events for the operations layer.
Seeds
- Near — wrap
/api/health/pharma/simulatein a language SDK so builders can call it in three lines. - Medium — publish a reference integration demonstrating ZeqPharma — Pharmacokinetics alongside a real workload, with pulse-aligned metrics.
- Far — propose ZeqPharma — Pharmacokinetics as an open reference standard so other runtimes can implement it verbatim against the Zeq paper.
Papers
- Zeq paper — https://doi.org/10.5281/zenodo.18158152
- Framework paper — https://doi.org/10.5281/zenodo.15825138
Middleware active. Kernel on the 1.287 Hz HulyaPulse. Awaiting next Zeqond.