Reconstitution math for one vial (paid)

Given a vial mass, the volume you want to draw per dose, and a target dose, returns the concentration to reconstitute to and what one dose looks like on a syringe. Costs $0.01 per call over x402; an unpaid call answers 402 (see the 402 response). There is NO compound context here: validation is structural, and the unit is taken from the field name.

post/v1/recon/calc

Request

  • Base URL: https://api.doseplot.com
  • URL: https://api.doseplot.com/v1/recon/calc
  • Auth: none declared

Request body

OR

Response

The reconstitution plan.

disclaimerstring required

Fixed disclaimer. Must be preserved when relaying any output to a human (terms clause 2).

intended_usestring required

Fixed intended-use statement. Must be preserved when relaying any output to a human.

concentration_mg_per_mlnumber required

target dose / draw_ml. The concentration the vial must be reconstituted to.

bac_water_mlnumber required

Bacteriostatic water to add to the vial, mL, so that draw_ml delivers the target dose.

units_per_dosenumber required

draw_ml expressed in insulin-syringe units (U-100: 100 units per mL).

doses_per_vialinteger required

Whole doses the vial yields. Partial doses are not counted.

residual_mgnumber required

Mass left after the last whole dose.

days_per_vialnumber required

doses_per_vial * frequency_days.

cost_per_dose_usdnumber nullable required

null when cost_usd was not supplied.

Changes

No recorded changes to this operation across all 1 revision of this API.