{"openapi":"3.1.0","info":{"title":"Clinexia API","version":"v1","description":"Clinical calculators and unit conversions. A calculation and reference aid for qualified clinicians: results must be verified independently; this is not a diagnostic device. Send no identifiers: the API needs only the numbers a formula uses, and it does not log, store or analyse inputs or results. Drug-dosing and oncology calculators are not listed here; they require an API key that has been explicitly granted the calculate:dosing scope."},"servers":[{"url":"/api/v1"}],"security":[{"bearerAuth":[]}],"paths":{"/calculators/bmi/calculate":{"post":{"operationId":"calculate_bmi","summary":"BMI (Body Mass Index)","description":"Calculates body mass index from weight and height.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_bmi"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/bsa/calculate":{"post":{"operationId":"calculate_bsa","summary":"Body Surface Area","description":"Estimates body surface area using the Mosteller formula.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_bsa"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/ideal-body-weight/calculate":{"post":{"operationId":"calculate_ideal_body_weight","summary":"Ideal Body Weight","description":"Estimates ideal body weight using the Devine formula.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_ideal-body-weight"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/bmr/calculate":{"post":{"operationId":"calculate_bmr","summary":"Basal Metabolic Rate","description":"Estimates basal metabolic rate using the Mifflin-St Jeor equation.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_bmr"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/adjusted-body-weight/calculate":{"post":{"operationId":"calculate_adjusted_body_weight","summary":"Adjusted Body Weight","description":"Estimates adjusted body weight for dosing in obese patients, using actual and ideal body weight.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_adjusted-body-weight"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/estimated-calorie-requirement/calculate":{"post":{"operationId":"calculate_estimated_calorie_requirement","summary":"Estimated Calorie Requirement (TDEE)","description":"Estimates total daily energy expenditure from BMR and activity level.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_estimated-calorie-requirement"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/waist-to-height-ratio/calculate":{"post":{"operationId":"calculate_waist_to_height_ratio","summary":"Waist-to-Height Ratio","description":"Calculates the ratio of waist circumference to height, a marker of central adiposity.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_waist-to-height-ratio"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/waist-to-hip-ratio/calculate":{"post":{"operationId":"calculate_waist_to_hip_ratio","summary":"Waist-to-Hip Ratio","description":"Calculates the ratio of waist circumference to hip circumference, a marker of fat distribution.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_waist-to-hip-ratio"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/daily-water-intake/calculate":{"post":{"operationId":"calculate_daily_water_intake","summary":"Daily Water Intake","description":"Adequate daily total water intake for a healthy person by age and sex, with the extra needed in pregnancy and breastfeeding.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_daily-water-intake"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/estimated-due-date/calculate":{"post":{"operationId":"calculate_estimated_due_date","summary":"Estimated Due Date (EDD)","description":"Estimates the due date from the first day of the last menstrual period (Naegele's rule: 280 days), adjusted for cycle length.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_estimated-due-date"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/gestational-age/calculate":{"post":{"operationId":"calculate_gestational_age","summary":"Gestational Age","description":"Weeks and days of pregnancy on a chosen date, from either the last menstrual period or the due date.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_gestational-age"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/lean-body-mass/calculate":{"post":{"operationId":"calculate_lean_body_mass","summary":"Lean Body Mass (Boer)","description":"Estimates lean body mass from sex, weight and height with the Boer equations.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_lean-body-mass"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/target-heart-rate/calculate":{"post":{"operationId":"calculate_target_heart_rate","summary":"Target Heart Rate (Karvonen)","description":"Estimated maximum heart rate (Tanaka) and exercise target heart rates from heart rate reserve (Karvonen).","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_target-heart-rate"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/pack-years/calculate":{"post":{"operationId":"calculate_pack_years","summary":"Pack-Years (Smoking)","description":"Cumulative cigarette smoking exposure in pack-years.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_pack-years"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/alcohol-units/calculate":{"post":{"operationId":"calculate_alcohol_units","summary":"Alcohol Units (UK)","description":"UK alcohol units in a drink from its volume and strength, with the pure alcohol it contains.","tags":["general"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_alcohol-units"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/creatinine-clearance/calculate":{"post":{"operationId":"calculate_creatinine_clearance","summary":"Creatinine Clearance (Cockcroft-Gault)","description":"Estimates creatinine clearance using the Cockcroft-Gault equation.","tags":["renal"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_creatinine-clearance"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/egfr-ckd-epi/calculate":{"post":{"operationId":"calculate_egfr_ckd_epi","summary":"eGFR (CKD-EPI 2021)","description":"Estimates glomerular filtration rate using the race-free 2021 CKD-EPI creatinine equation.","tags":["renal"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_egfr-ckd-epi"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/bun-creatinine-ratio/calculate":{"post":{"operationId":"calculate_bun_creatinine_ratio","summary":"BUN/Creatinine Ratio","description":"Calculates the ratio of blood urea nitrogen to serum creatinine, both in mg/dL.","tags":["renal"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_bun-creatinine-ratio"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/egfr-mdrd/calculate":{"post":{"operationId":"calculate_egfr_mdrd","summary":"eGFR (MDRD)","description":"Estimates glomerular filtration rate using the race-free 4-variable MDRD equation.","tags":["renal"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_egfr-mdrd"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/fena/calculate":{"post":{"operationId":"calculate_fena","summary":"Fractional Excretion of Sodium","description":"Calculates the fractional excretion of sodium, used to distinguish prerenal from intrinsic renal causes of AKI.","tags":["renal"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_fena"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/feurea/calculate":{"post":{"operationId":"calculate_feurea","summary":"Fractional Excretion of Urea","description":"Calculates the fractional excretion of urea  -  useful when FeNa is unreliable (e.g. diuretic use).","tags":["renal"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_feurea"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/ldl-friedewald/calculate":{"post":{"operationId":"calculate_ldl_friedewald","summary":"LDL Cholesterol (Friedewald)","description":"Estimates LDL cholesterol from total cholesterol, HDL, and triglycerides.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_ldl-friedewald"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/non-hdl-cholesterol/calculate":{"post":{"operationId":"calculate_non_hdl_cholesterol","summary":"Non-HDL Cholesterol","description":"Calculates non-HDL cholesterol (total cholesterol minus HDL).","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_non-hdl-cholesterol"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/vldl-estimate/calculate":{"post":{"operationId":"calculate_vldl_estimate","summary":"VLDL Estimation","description":"Estimates VLDL cholesterol from triglycerides.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_vldl-estimate"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/anion-gap/calculate":{"post":{"operationId":"calculate_anion_gap","summary":"Anion Gap","description":"Calculates the serum anion gap, with optional albumin correction.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_anion-gap"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/corrected-calcium/calculate":{"post":{"operationId":"calculate_corrected_calcium","summary":"Corrected Calcium","description":"Corrects total serum calcium for abnormal albumin concentration.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_corrected-calcium"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/total-hdl-ratio/calculate":{"post":{"operationId":"calculate_total_hdl_ratio","summary":"Total Cholesterol/HDL Ratio","description":"Calculates the ratio of total cholesterol to HDL cholesterol, a cardiovascular risk indicator.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_total-hdl-ratio"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/calcium-phosphate-product/calculate":{"post":{"operationId":"calculate_calcium_phosphate_product","summary":"Calcium-Phosphate Product","description":"Calculates the calcium-phosphate product, used to assess risk of soft tissue/vascular calcification (especially in CKD).","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_calcium-phosphate-product"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/ldl-hdl-ratio/calculate":{"post":{"operationId":"calculate_ldl_hdl_ratio","summary":"LDL/HDL Ratio","description":"Calculates the ratio of LDL cholesterol to HDL cholesterol.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_ldl-hdl-ratio"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/delta-ratio/calculate":{"post":{"operationId":"calculate_delta_ratio","summary":"Delta Gap / Delta Ratio","description":"Calculates the delta gap and delta ratio from Na, Cl, and HCO3 to help classify mixed acid-base disorders.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_delta-ratio"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/estimated-osmolality/calculate":{"post":{"operationId":"calculate_estimated_osmolality","summary":"Estimated Serum Osmolality","description":"Estimates serum osmolality from sodium, glucose, and BUN, with an optional osmolar gap if measured osmolality is known.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_estimated-osmolality"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/hba1c-eag/calculate":{"post":{"operationId":"calculate_hba1c_eag","summary":"HbA1c ↔ Estimated Average Glucose","description":"Converts between HbA1c and estimated average glucose (eAG) using the ADAG study formula.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_hba1c-eag"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/corrected-sodium-hyperglycemia/calculate":{"post":{"operationId":"calculate_corrected_sodium_hyperglycemia","summary":"Corrected Sodium for Hyperglycemia","description":"Estimates corrected sodium from measured sodium and glucose using an explicitly selected correction factor.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_corrected-sodium-hyperglycemia"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/bun-from-urea/calculate":{"post":{"operationId":"calculate_bun_from_urea","summary":"Urea ↔ BUN Conversion","description":"Converts blood urea nitrogen and urea between common reporting units.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_bun-from-urea"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/albumin-corrected-anion-gap/calculate":{"post":{"operationId":"calculate_albumin_corrected_anion_gap","summary":"Albumin-Corrected Anion Gap","description":"Corrects the calculated anion gap for an albumin concentration below the reference value.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_albumin-corrected-anion-gap"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/creatinine-unit-conversion/calculate":{"post":{"operationId":"calculate_creatinine_unit_conversion","summary":"Creatinine Unit Conversion","description":"Converts serum creatinine between mg/dL and µmol/L.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_creatinine-unit-conversion"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/red-cell-indices/calculate":{"post":{"operationId":"calculate_red_cell_indices","summary":"Red Cell Indices","description":"Calculates MCV, MCH, and MCHC from hemoglobin, hematocrit, and RBC count.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_red-cell-indices"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/absolute-cell-count/calculate":{"post":{"operationId":"calculate_absolute_cell_count","summary":"Absolute Cell Count","description":"Calculates an absolute white cell count (e.g. ANC, ALC) from total WBC and differential percentage.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_absolute-cell-count"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/corrected-wbc/calculate":{"post":{"operationId":"calculate_corrected_wbc","summary":"Corrected WBC Count","description":"Corrects the total WBC count for the presence of nucleated red blood cells (nRBCs).","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_corrected-wbc"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/hematocrit-estimate/calculate":{"post":{"operationId":"calculate_hematocrit_estimate","summary":"Hematocrit Estimation","description":"Estimates hematocrit from hemoglobin using the commonly cited 'rule of three'.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_hematocrit-estimate"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/inr/calculate":{"post":{"operationId":"calculate_inr","summary":"International Normalized Ratio","description":"Calculates INR from prothrombin time, laboratory mean normal PT, and the reagent ISI.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_inr"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/corrected-count-increment/calculate":{"post":{"operationId":"calculate_corrected_count_increment","summary":"Platelet Corrected Count Increment","description":"Calculates platelet corrected count increment after transfusion using platelet increment, body surface area, and platelet dose.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_corrected-count-increment"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/estimated-blood-volume/calculate":{"post":{"operationId":"calculate_estimated_blood_volume","summary":"Estimated Blood Volume","description":"Estimates circulating blood volume from body weight using an explicitly selected adult estimate.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_estimated-blood-volume"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/international-prognostic-index/calculate":{"post":{"operationId":"calculate_international_prognostic_index","summary":"International Prognostic Index","description":"Calculates the five-factor International Prognostic Index used in aggressive non-Hodgkin lymphoma risk assessment.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_international-prognostic-index"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/reticulocyte-production-index/calculate":{"post":{"operationId":"calculate_reticulocyte_production_index","summary":"Reticulocyte Production Index","description":"Adjusts the reticulocyte percentage for the patient's hematocrit and an explicit maturation correction.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_reticulocyte-production-index"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/aptt-ratio/calculate":{"post":{"operationId":"calculate_aptt_ratio","summary":"aPTT Ratio","description":"Calculates the ratio of patient activated partial thromboplastin time to the laboratory control or mean normal aPTT.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_aptt-ratio"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/estimated-rbc-transfusion-volume/calculate":{"post":{"operationId":"calculate_estimated_rbc_transfusion_volume","summary":"Estimated RBC Transfusion Volume","description":"Estimates packed red-cell volume from an estimated blood volume, current and target hematocrit, and product hematocrit.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_estimated-rbc-transfusion-volume"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/revised-international-prognostic-index/calculate":{"post":{"operationId":"calculate_revised_international_prognostic_index","summary":"Revised International Prognostic Index","description":"Calculates the five-factor revised IPI score using age, stage, LDH, performance status and extranodal disease.","tags":["hematology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_revised-international-prognostic-index"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/molarity/calculate":{"post":{"operationId":"calculate_molarity","summary":"Molarity Calculator","description":"Calculates the molar concentration of a solution from mass, molecular weight, and volume.","tags":["lab-solutions"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_molarity"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/normality/calculate":{"post":{"operationId":"calculate_normality","summary":"Normality Calculator","description":"Calculates normality from mass, equivalent weight, and volume.","tags":["lab-solutions"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_normality"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/c1v1-c2v2-dilution/calculate":{"post":{"operationId":"calculate_c1v1_c2v2_dilution","summary":"C1V1 = C2V2 Dilution","description":"Solves a single-step dilution equation when three of concentration or volume values are known.","tags":["lab-solutions"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_c1v1-c2v2-dilution"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/percent-solution/calculate":{"post":{"operationId":"calculate_percent_solution","summary":"Percent Solution Preparation","description":"Calculates solute amount required for common w/v, v/v, or w/w percentage solutions.","tags":["lab-solutions"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_percent-solution"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/molarity-preparation/calculate":{"post":{"operationId":"calculate_molarity_preparation","summary":"Molar Solution Preparation","description":"Calculates the mass of solute required to prepare a target molar solution.","tags":["lab-solutions"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_molarity-preparation"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/reagent-dilution-volume/calculate":{"post":{"operationId":"calculate_reagent_dilution_volume","summary":"Reagent Dilution & Solvent Volume","description":"Calculates stock volume and solvent volume for a target diluted solution using C1V1 = C2V2.","tags":["lab-solutions"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_reagent-dilution-volume"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/beer-lambert-law/calculate":{"post":{"operationId":"calculate_beer_lambert_law","summary":"Beer–Lambert Law","description":"Calculates absorbance, concentration, path length, or molar absorptivity from the Beer–Lambert relationship using a selected solve direction.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_beer-lambert-law"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/absorbance-transmittance/calculate":{"post":{"operationId":"calculate_absorbance_transmittance","summary":"Absorbance ↔ Transmittance","description":"Converts between absorbance and percent transmittance using the logarithmic relationship.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_absorbance-transmittance"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-standard-curve/calculate":{"post":{"operationId":"calculate_spectro_standard_curve","summary":"Spectrophotometry Standard Curve","description":"Calculates the linear calibration relationship and estimates an unknown concentration from absorbance using two-point or slope/intercept data.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-standard-curve"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-dilution-corrected-concentration/calculate":{"post":{"operationId":"calculate_spectro_dilution_corrected_concentration","summary":"Spectrophotometry Dilution-Corrected Concentration","description":"Applies a documented dilution factor to a concentration calculated from a linear absorbance-versus-concentration equation.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-dilution-corrected-concentration"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-wavelength-frequency/calculate":{"post":{"operationId":"calculate_spectro_wavelength_frequency","summary":"Wavelength ↔ Frequency","description":"Converts electromagnetic wavelength and frequency using the speed of light.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-wavelength-frequency"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-photon-energy/calculate":{"post":{"operationId":"calculate_spectro_photon_energy","summary":"Photon Energy from Wavelength","description":"Calculates photon energy from wavelength using E = hc/λ.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-photon-energy"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-wavenumber/calculate":{"post":{"operationId":"calculate_spectro_wavenumber","summary":"Wavelength ↔ Wavenumber","description":"Converts wavelength in nanometres to wavenumber in reciprocal centimetres and back.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-wavenumber"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-blank-corrected-absorbance/calculate":{"post":{"operationId":"calculate_spectro_blank_corrected_absorbance","summary":"Blank-Corrected Absorbance","description":"Subtracts a documented blank absorbance from a sample absorbance.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-blank-corrected-absorbance"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-replicate-statistics/calculate":{"post":{"operationId":"calculate_spectro_replicate_statistics","summary":"Spectrophotometry Replicate Statistics","description":"Calculates mean, sample standard deviation and coefficient of variation from three replicate readings.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-replicate-statistics"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-calibration-regression/calculate":{"post":{"operationId":"calculate_spectro_calibration_regression","summary":"Spectrophotometry Calibration Regression","description":"Performs an ordinary least-squares linear regression on five standards and estimates an unknown concentration from absorbance.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-calibration-regression"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/spectro-photometric-linearity/calculate":{"post":{"operationId":"calculate_spectro_photometric_linearity","summary":"Photometric Linearity Check","description":"Compares an observed absorbance with an expected absorbance and reports percentage deviation.","tags":["spectrophotometry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_spectro-photometric-linearity"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/cfu-per-ml/calculate":{"post":{"operationId":"calculate_cfu_per_ml","summary":"CFU/mL Estimation","description":"Estimates colony-forming units per mL from a plated colony count.","tags":["microbiology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_cfu-per-ml"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/dilution-factor/calculate":{"post":{"operationId":"calculate_dilution_factor","summary":"Dilution Factor","description":"Calculates the dilution factor from initial and final volumes (or concentrations).","tags":["microbiology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_dilution-factor"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/concentration-after-dilution/calculate":{"post":{"operationId":"calculate_concentration_after_dilution","summary":"Concentration After Dilution","description":"Calculates the resulting concentration after a single dilution step.","tags":["microbiology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_concentration-after-dilution"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/serial-dilution-total-factor/calculate":{"post":{"operationId":"calculate_serial_dilution_total_factor","summary":"Serial Dilution Total Factor","description":"Calculates the overall dilution factor from multiple serial dilution steps.","tags":["microbiology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_serial-dilution-total-factor"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/microbiology-concentration-dilution/calculate":{"post":{"operationId":"calculate_microbiology_concentration_dilution","summary":"Microbiology Concentration After Dilution","description":"Calculates the concentration after a documented dilution factor; useful for serial-dilution laboratory workflows.","tags":["microbiology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_microbiology-concentration-dilution"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/pooled-cfu-per-ml/calculate":{"post":{"operationId":"calculate_pooled_cfu_per_ml","summary":"Pooled CFU/mL Estimation","description":"Estimates CFU/mL when multiple plates from the same dilution are pooled, using total colonies and total plated volume.","tags":["microbiology"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_pooled-cfu-per-ml"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/mean-arterial-pressure/calculate":{"post":{"operationId":"calculate_mean_arterial_pressure","summary":"Mean Arterial Pressure","description":"Estimates mean arterial pressure from systolic and diastolic blood pressure.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_mean-arterial-pressure"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/ejection-fraction/calculate":{"post":{"operationId":"calculate_ejection_fraction","summary":"Left Ventricular Ejection Fraction","description":"Calculates ejection fraction from end-diastolic and end-systolic ventricular volumes.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_ejection-fraction"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/cha2ds2-vasc/calculate":{"post":{"operationId":"calculate_cha2ds2_vasc","summary":"CHA₂DS₂-VASc Score","description":"Calculates the CHA₂DS₂-VASc thromboembolic risk score for atrial fibrillation/flutter risk assessment.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_cha2ds2-vasc"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/dapt-score/calculate":{"post":{"operationId":"calculate_dapt_score","summary":"DAPT Score","description":"Calculates the Dual Antiplatelet Therapy score from the documented clinical and PCI factors used in the original score.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_dapt-score"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/qtc-correction/calculate":{"post":{"operationId":"calculate_qtc_correction","summary":"QTc Correction","description":"Calculates corrected QT using Bazett and Fridericia methods from QT interval and heart rate.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_qtc-correction"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/atherogenic-index-plasma/calculate":{"post":{"operationId":"calculate_atherogenic_index_plasma","summary":"Atherogenic Index of Plasma","description":"Calculates the logarithm of the triglyceride-to-HDL cholesterol ratio using mmol/L inputs.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_atherogenic-index-plasma"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/pulse-pressure/calculate":{"post":{"operationId":"calculate_pulse_pressure","summary":"Pulse Pressure","description":"Calculates pulse pressure from systolic and diastolic blood pressure.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_pulse-pressure"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/cardiac-index/calculate":{"post":{"operationId":"calculate_cardiac_index","summary":"Cardiac Index","description":"Calculates cardiac index from cardiac output and body surface area.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_cardiac-index"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/has-bled/calculate":{"post":{"operationId":"calculate_has_bled","summary":"HAS-BLED Bleeding Risk Score","description":"Calculates the HAS-BLED score from its documented bleeding-risk factors.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_has-bled"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/af-ventricular-rate/calculate":{"post":{"operationId":"calculate_af_ventricular_rate","summary":"Atrial Fibrillation Ventricular Rate","description":"Estimates ventricular rate from an ECG strip using the number of QRS complexes and strip duration.","tags":["cardiovascular"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_af-ventricular-rate"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/hct-ci/calculate":{"post":{"operationId":"calculate_hct_ci","summary":"HCT-Specific Comorbidity Index","description":"Calculates the HCT-specific comorbidity index from the documented comorbidity definitions and age component.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_hct-ci"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/conditioning-transplant-day/calculate":{"post":{"operationId":"calculate_conditioning_transplant_day","summary":"Conditioning / Transplant Day Tracker","description":"Tracks an explicitly documented conditioning or transplant day relative to day 0 without inferring a protocol schedule.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_conditioning-transplant-day"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/stem-cell-collection-yield/calculate":{"post":{"operationId":"calculate_stem_cell_collection_yield","summary":"Stem Cell Collection Yield","description":"Calculates total collected CD34-positive cells and the collection dose per recipient kilogram from product concentration and volume.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_stem-cell-collection-yield"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/cd34-cell-dose/calculate":{"post":{"operationId":"calculate_cd34_cell_dose","summary":"CD34+ Cell Dose","description":"Calculates CD34-positive cell dose per kilogram from a documented total product cell count and recipient weight.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_cd34-cell-dose"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/neutrophil-engraftment-day/calculate":{"post":{"operationId":"calculate_neutrophil_engraftment_day","summary":"Neutrophil Engraftment Timing","description":"Calculates elapsed transplant days from day 0 to an explicitly documented engraftment day.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_neutrophil-engraftment-day"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/donor-chimerism/calculate":{"post":{"operationId":"calculate_donor_chimerism","summary":"Donor Chimerism","description":"Calculates donor chimerism as a percentage of the total measured cell population.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_donor-chimerism"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/stem-cell-collection-target/calculate":{"post":{"operationId":"calculate_stem_cell_collection_target","summary":"Stem Cell Collection Target","description":"Calculates the total CD34+ cell target required from a planned dose per kilogram and recipient weight.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_stem-cell-collection-target"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/viable-cd34-cell-dose/calculate":{"post":{"operationId":"calculate_viable_cd34_cell_dose","summary":"Viable CD34+ Cell Dose","description":"Calculates the post-processing viable CD34+ cell dose per kilogram from total CD34+ cells, viability and recipient weight.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_viable-cd34-cell-dose"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/engraftment-duration/calculate":{"post":{"operationId":"calculate_engraftment_duration","summary":"Engraftment Duration","description":"Calculates elapsed days from transplant day to a documented engraftment day.","tags":["stem-cell-transplant"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_engraftment-duration"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/ldl-sampson/calculate":{"post":{"operationId":"calculate_ldl_sampson","summary":"LDL Cholesterol (Sampson / NIH equation)","description":"Estimates LDL cholesterol from total cholesterol, HDL and triglycerides when triglycerides are up to 800 mg/dL (9.0 mmol/L). Use it when a direct LDL measurement is not available and Friedewald cannot be used.","tags":["chemistry"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inputs"],"properties":{"inputs":{"$ref":"#/components/schemas/Inputs_ldl-sampson"}}}}}},"responses":{"200":{"description":"Calculation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators":{"get":{"operationId":"listCalculators","summary":"Catalog of the calculators this key may use","tags":["catalog"],"security":[{"bearerAuth":[]}],"x-required-scope":"read:catalog","parameters":[{"name":"category","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Catalog"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/{id}":{"get":{"operationId":"getCalculator","summary":"One calculator definition","tags":["catalog"],"security":[{"bearerAuth":[]}],"x-required-scope":"read:catalog","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","enum":["bmi","bsa","ideal-body-weight","bmr","adjusted-body-weight","estimated-calorie-requirement","waist-to-height-ratio","waist-to-hip-ratio","daily-water-intake","estimated-due-date","gestational-age","lean-body-mass","target-heart-rate","pack-years","alcohol-units","creatinine-clearance","egfr-ckd-epi","bun-creatinine-ratio","egfr-mdrd","fena","feurea","ldl-friedewald","non-hdl-cholesterol","vldl-estimate","anion-gap","corrected-calcium","total-hdl-ratio","calcium-phosphate-product","ldl-hdl-ratio","delta-ratio","estimated-osmolality","hba1c-eag","corrected-sodium-hyperglycemia","bun-from-urea","albumin-corrected-anion-gap","creatinine-unit-conversion","red-cell-indices","absolute-cell-count","corrected-wbc","hematocrit-estimate","inr","corrected-count-increment","estimated-blood-volume","international-prognostic-index","reticulocyte-production-index","aptt-ratio","estimated-rbc-transfusion-volume","revised-international-prognostic-index","molarity","normality","c1v1-c2v2-dilution","percent-solution","molarity-preparation","reagent-dilution-volume","beer-lambert-law","absorbance-transmittance","spectro-standard-curve","spectro-dilution-corrected-concentration","spectro-wavelength-frequency","spectro-photon-energy","spectro-wavenumber","spectro-blank-corrected-absorbance","spectro-replicate-statistics","spectro-calibration-regression","spectro-photometric-linearity","cfu-per-ml","dilution-factor","concentration-after-dilution","serial-dilution-total-factor","microbiology-concentration-dilution","pooled-cfu-per-ml","mean-arterial-pressure","ejection-fraction","cha2ds2-vasc","dapt-score","qtc-correction","atherogenic-index-plasma","pulse-pressure","cardiac-index","has-bled","af-ventricular-rate","hct-ci","conditioning-transplant-day","stem-cell-collection-yield","cd34-cell-dose","neutrophil-engraftment-day","donor-chimerism","stem-cell-collection-target","viable-cd34-cell-dose","engraftment-duration","ldl-sampson"]}}],"responses":{"200":{"description":"Definition"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"Unknown calculator id"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/calculators/batch":{"post":{"operationId":"calculateBatch","summary":"Up to 25 calculations in one request","tags":["calculate"],"security":[{"bearerAuth":[]}],"x-required-scope":"calculate:general","description":"Each item is answered separately in `results` with its own status (200, 403, 404 or 422). The request itself counts once toward the rate limit.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["calculations"],"properties":{"calculations":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"object","required":["id","inputs"],"properties":{"id":{"type":"string"},"inputs":{"type":"object"}}}}}}}}},"responses":{"200":{"description":"Per-item results"},"401":{"$ref":"#/components/responses/Unauthorized"},"422":{"$ref":"#/components/responses/ValidationFailed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/conversions":{"get":{"operationId":"listConversions","summary":"Unit categories, units (with UCUM codes) and analytes","tags":["convert"],"security":[{"bearerAuth":[]}],"x-required-scope":"convert","responses":{"200":{"description":"Conversions"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}}}},"/conversions/convert":{"post":{"operationId":"convert","summary":"Convert a value between units, or a concentration between mass and molar units for an analyte","tags":["convert"],"security":[{"bearerAuth":[]}],"x-required-scope":"convert","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["value","from","to"],"properties":{"category":{"type":"string"},"analyte":{"type":"string"},"value":{"type":"number"},"from":{"type":"string"},"to":{"type":"string"}}}}}},"responses":{"200":{"description":"Converted value"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationFailed"}}}},"/health":{"get":{"operationId":"health","summary":"Service status and build id (no key needed)","tags":["meta"],"security":[],"responses":{"200":{"description":"OK"}}}},"/openapi.json":{"get":{"operationId":"openapi","summary":"This document (no key needed)","tags":["meta"],"security":[],"responses":{"200":{"description":"OpenAPI 3.1 document"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"cx_live_<key>"}},"schemas":{"ValueWithUnit":{"type":"object","required":["value","unit"],"additionalProperties":false,"properties":{"value":{"type":"number"},"unit":{"type":"string","description":"Unit symbol or UCUM code, e.g. umol/L, lb, [in_i]."}}},"CalculationResponse":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string","description":"Formula version (semver)"},"result":{"type":"object"},"conversions":{"type":"array","items":{"type":"object"}},"references":{"type":"array","items":{"type":"object"}},"referenceStatus":{"type":["string","null"],"enum":["current","supporting","review-needed",null]},"disclaimer":{"type":"string"},"intendedUse":{"type":"string"},"requestId":{"type":"string"}}},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"fields":{"type":"array","items":{"type":"object"}}}},"requestId":{"type":"string"}}},"Inputs_bmi":{"type":"object","additionalProperties":false,"properties":{"weight":{"description":"Weight Unit: kg. UCUM: kg. LOINC: 29463-7 (unverified). A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"weightUnit":{"type":"string","enum":["kg","lb"],"description":"Weight unit"},"height":{"description":"Height Unit: cm. UCUM: cm. LOINC: 8302-2 (unverified). A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"heightUnit":{"type":"string","enum":["cm","m","ft","in"],"description":"Height unit"}},"required":["weight","height"]},"Inputs_bsa":{"type":"object","additionalProperties":false,"properties":{"height":{"description":"Height Unit: cm. UCUM: cm. LOINC: 8302-2 (unverified). A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"weight":{"description":"Weight Unit: kg. UCUM: kg. LOINC: 29463-7 (unverified). A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["height","weight"]},"Inputs_ideal-body-weight":{"type":"object","additionalProperties":false,"properties":{"sex":{"type":"string","enum":["male","female"],"description":"Sex"},"height":{"description":"Height Unit: cm. UCUM: cm. LOINC: 8302-2 (unverified). A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["sex","height"]},"Inputs_bmr":{"type":"object","additionalProperties":false,"properties":{"sex":{"type":"string","enum":["male","female"],"description":"Sex"},"weight":{"description":"Weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"height":{"description":"Height Unit: cm. A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"age":{"description":"Age Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["sex","weight","height","age"]},"Inputs_adjusted-body-weight":{"type":"object","additionalProperties":false,"properties":{"sex":{"type":"string","enum":["male","female"],"description":"Sex"},"height":{"description":"Height Unit: cm. UCUM: cm. LOINC: 8302-2 (unverified). A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"actualWeight":{"description":"Actual weight Unit: kg. UCUM: kg. LOINC: 29463-7 (unverified). A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["sex","height","actualWeight"]},"Inputs_estimated-calorie-requirement":{"type":"object","additionalProperties":false,"properties":{"sex":{"type":"string","enum":["male","female"],"description":"Sex"},"weight":{"description":"Weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"height":{"description":"Height Unit: cm. A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"age":{"description":"Age Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"activityLevel":{"type":"string","enum":["sedentary","light","moderate","active","extra"],"description":"Activity level"}},"required":["sex","weight","height","age","activityLevel"]},"Inputs_waist-to-height-ratio":{"type":"object","additionalProperties":false,"properties":{"waist":{"description":"Waist circumference Unit: cm. A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"height":{"description":"Height Unit: cm. A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["waist","height"]},"Inputs_waist-to-hip-ratio":{"type":"object","additionalProperties":false,"properties":{"sex":{"type":"string","enum":["male","female"],"description":"Sex"},"waist":{"description":"Waist circumference Unit: cm. A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hip":{"description":"Hip circumference Unit: cm. A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["sex","waist","hip"]},"Inputs_daily-water-intake":{"type":"object","additionalProperties":false,"properties":{"age":{"description":"Age Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":2,"maximum":120},{"$ref":"#/components/schemas/ValueWithUnit"}]},"sex":{"type":"string","enum":["male","female"],"description":"Sex"},"status":{"type":"string","enum":["none","pregnant","lactating"],"description":"Pregnancy or breastfeeding"}},"required":["age","sex","status"]},"Inputs_estimated-due-date":{"type":"object","additionalProperties":false,"properties":{"lmp":{"type":"string","format":"date","description":"First day of last menstrual period (LMP)"},"cycleLength":{"description":"Average cycle length Unit: days. A plain number is read in days; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":21,"maximum":45},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["lmp"]},"Inputs_gestational-age":{"type":"object","additionalProperties":false,"properties":{"lmp":{"type":"string","format":"date","description":"First day of last menstrual period (LMP)"},"edd":{"type":"string","format":"date","description":"Estimated due date (EDD)"},"asOf":{"type":"string","format":"date","description":"Calculate for this date"},"cycleLength":{"description":"Average cycle length (LMP method only) Unit: days. A plain number is read in days; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":21,"maximum":45},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":[]},"Inputs_lean-body-mass":{"type":"object","additionalProperties":false,"properties":{"sex":{"type":"string","enum":["male","female"],"description":"Sex"},"weight":{"description":"Weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"weightUnit":{"type":"string","enum":["kg","lb"],"description":"Weight unit"},"height":{"description":"Height Unit: cm. A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"heightUnit":{"type":"string","enum":["cm","m","ft","in"],"description":"Height unit"}},"required":["sex","weight","height"]},"Inputs_target-heart-rate":{"type":"object","additionalProperties":false,"properties":{"age":{"description":"Age Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":18,"maximum":100},{"$ref":"#/components/schemas/ValueWithUnit"}]},"restingHr":{"description":"Resting heart rate Unit: bpm. A plain number is read in bpm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":30,"maximum":120},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["age","restingHr"]},"Inputs_pack-years":{"type":"object","additionalProperties":false,"properties":{"cigarettesPerDay":{"description":"Cigarettes per day","oneOf":[{"type":"number","minimum":0}]},"yearsSmoked":{"description":"Years smoked Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":90},{"$ref":"#/components/schemas/ValueWithUnit"}]},"cigarettesPerPack":{"description":"Cigarettes per pack","oneOf":[{"type":"number","minimum":1}]}},"required":["cigarettesPerDay","yearsSmoked"]},"Inputs_alcohol-units":{"type":"object","additionalProperties":false,"properties":{"volume":{"description":"Volume of one drink Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"abv":{"description":"Alcohol strength (ABV) Unit: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":100},{"$ref":"#/components/schemas/ValueWithUnit"}]},"drinks":{"description":"Number of drinks","oneOf":[{"type":"number","minimum":0}]}},"required":["volume","abv"]},"Inputs_creatinine-clearance":{"type":"object","additionalProperties":false,"properties":{"age":{"description":"Age Unit: years. UCUM: a. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"weight":{"description":"Weight Unit: kg. UCUM: kg. LOINC: 29463-7 (unverified). A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"creatinine":{"description":"Serum Creatinine Unit: mg/dL. UCUM: mg/dL. LOINC: 2160-0 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"sex":{"type":"string","enum":["male","female"],"description":"Sex"}},"required":["age","weight","creatinine","sex"]},"Inputs_egfr-ckd-epi":{"type":"object","additionalProperties":false,"properties":{"age":{"description":"Age Unit: years. UCUM: a. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":18},{"$ref":"#/components/schemas/ValueWithUnit"}]},"creatinine":{"description":"Serum Creatinine Unit: mg/dL. UCUM: mg/dL. LOINC: 2160-0 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"sex":{"type":"string","enum":["male","female"],"description":"Sex"}},"required":["age","creatinine","sex"]},"Inputs_bun-creatinine-ratio":{"type":"object","additionalProperties":false,"properties":{"bun":{"description":"BUN Unit: mg/dL. UCUM: mg/dL. LOINC: 3094-0 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"creatinine":{"description":"Serum Creatinine Unit: mg/dL. UCUM: mg/dL. LOINC: 2160-0 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["bun","creatinine"]},"Inputs_egfr-mdrd":{"type":"object","additionalProperties":false,"properties":{"age":{"description":"Age Unit: years. UCUM: a. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":18},{"$ref":"#/components/schemas/ValueWithUnit"}]},"creatinine":{"description":"Serum Creatinine Unit: mg/dL. UCUM: mg/dL. LOINC: 2160-0 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"sex":{"type":"string","enum":["male","female"],"description":"Sex"}},"required":["age","creatinine","sex"]},"Inputs_fena":{"type":"object","additionalProperties":false,"properties":{"urineNa":{"description":"Urine Sodium Unit: mmol/L. A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"plasmaNa":{"description":"Plasma Sodium Unit: mmol/L. A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"urineCr":{"description":"Urine Creatinine Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"plasmaCr":{"description":"Plasma Creatinine Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["urineNa","plasmaNa","urineCr","plasmaCr"]},"Inputs_feurea":{"type":"object","additionalProperties":false,"properties":{"urineUrea":{"description":"Urine Urea Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"plasmaUrea":{"description":"Plasma Urea (BUN) Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"urineCr":{"description":"Urine Creatinine Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"plasmaCr":{"description":"Plasma Creatinine Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["urineUrea","plasmaUrea","urineCr","plasmaCr"]},"Inputs_ldl-friedewald":{"type":"object","additionalProperties":false,"properties":{"unit":{"type":"string","enum":["mg/dL","mmol/L"],"description":"Units"},"tc":{"description":"Total Cholesterol LOINC: 2093-3 (unverified).","oneOf":[{"type":"number","minimum":0}]},"hdl":{"description":"HDL LOINC: 2085-9 (unverified).","oneOf":[{"type":"number","minimum":0}]},"tg":{"description":"Triglycerides LOINC: 2571-8 (unverified).","oneOf":[{"type":"number","minimum":0}]}},"required":["unit","tc","hdl","tg"]},"Inputs_non-hdl-cholesterol":{"type":"object","additionalProperties":false,"properties":{"tc":{"description":"Total Cholesterol Unit: mg/dL. UCUM: mg/dL. LOINC: 2093-3 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hdl":{"description":"HDL Unit: mg/dL. UCUM: mg/dL. LOINC: 2085-9 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["tc","hdl"]},"Inputs_vldl-estimate":{"type":"object","additionalProperties":false,"properties":{"tg":{"description":"Triglycerides Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["tg"]},"Inputs_anion-gap":{"type":"object","additionalProperties":false,"properties":{"na":{"description":"Sodium Unit: mmol/L. UCUM: mmol/L. LOINC: 2951-2 (unverified). A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"cl":{"description":"Chloride Unit: mmol/L. UCUM: mmol/L. LOINC: 2075-0 (unverified). A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hco3":{"description":"Bicarbonate Unit: mmol/L. UCUM: mmol/L. LOINC: 1963-8 (unverified). A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"albumin":{"description":"Albumin (optional, for correction) Unit: g/dL. UCUM: g/dL. LOINC: 1751-7 (unverified). A plain number is read in g/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["na","cl","hco3"]},"Inputs_corrected-calcium":{"type":"object","additionalProperties":false,"properties":{"calcium":{"description":"Measured Calcium Unit: mg/dL. UCUM: mg/dL. LOINC: 17861-6 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"albumin":{"description":"Albumin Unit: g/dL. UCUM: g/dL. LOINC: 1751-7 (unverified). A plain number is read in g/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["calcium","albumin"]},"Inputs_total-hdl-ratio":{"type":"object","additionalProperties":false,"properties":{"tc":{"description":"Total Cholesterol Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hdl":{"description":"HDL Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["tc","hdl"]},"Inputs_calcium-phosphate-product":{"type":"object","additionalProperties":false,"properties":{"calcium":{"description":"Calcium Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"phosphate":{"description":"Phosphate Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["calcium","phosphate"]},"Inputs_ldl-hdl-ratio":{"type":"object","additionalProperties":false,"properties":{"ldl":{"description":"LDL Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hdl":{"description":"HDL Unit: mg/dL. A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["ldl","hdl"]},"Inputs_delta-ratio":{"type":"object","additionalProperties":false,"properties":{"na":{"description":"Sodium Unit: mmol/L. A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"cl":{"description":"Chloride Unit: mmol/L. A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hco3":{"description":"Bicarbonate Unit: mmol/L. A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["na","cl","hco3"]},"Inputs_estimated-osmolality":{"type":"object","additionalProperties":false,"properties":{"na":{"description":"Sodium Unit: mmol/L. UCUM: mmol/L. LOINC: 2951-2 (unverified). A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"glucose":{"description":"Glucose Unit: mg/dL. UCUM: mg/dL. LOINC: 2345-7 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"bun":{"description":"BUN Unit: mg/dL. UCUM: mg/dL. LOINC: 3094-0 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"measuredOsmolality":{"description":"Measured osmolality (optional, for osmolar gap) Unit: mOsm/kg. UCUM: mosm/kg. A plain number is read in mOsm/kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["na","glucose","bun"]},"Inputs_hba1c-eag":{"type":"object","additionalProperties":false,"properties":{"direction":{"type":"string","enum":["hba1c-to-eag","eag-to-hba1c"],"description":"Direction"},"value":{"description":"Value","oneOf":[{"type":"number","minimum":0}]}},"required":["direction","value"]},"Inputs_corrected-sodium-hyperglycemia":{"type":"object","additionalProperties":false,"properties":{"sodium":{"description":"Measured sodium Unit: mmol/L. UCUM: mmol/L. LOINC: 2951-2 (unverified). A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":250},{"$ref":"#/components/schemas/ValueWithUnit"}]},"glucose":{"description":"Glucose Unit: mg/dL. UCUM: mg/dL. LOINC: 2345-7 (unverified). A plain number is read in mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":2000},{"$ref":"#/components/schemas/ValueWithUnit"}]},"factor":{"description":"Correction factor Unit: mmol/L per 100 mg/dL. A plain number is read in mmol/L per 100 mg/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1.6,"maximum":2.4},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["sodium","glucose","factor"]},"Inputs_bun-from-urea":{"type":"object","additionalProperties":false,"properties":{"direction":{"type":"string","enum":["urea-to-bun","bun-to-urea"],"description":"Direction"},"value":{"description":"Value","oneOf":[{"type":"number","minimum":0}]}},"required":["direction","value"]},"Inputs_albumin-corrected-anion-gap":{"type":"object","additionalProperties":false,"properties":{"sodium":{"description":"Sodium Unit: mmol/L. UCUM: mmol/L. LOINC: 2951-2 (unverified). A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":250},{"$ref":"#/components/schemas/ValueWithUnit"}]},"chloride":{"description":"Chloride Unit: mmol/L. UCUM: mmol/L. LOINC: 2075-0 (unverified). A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":250},{"$ref":"#/components/schemas/ValueWithUnit"}]},"bicarbonate":{"description":"Bicarbonate Unit: mmol/L. UCUM: mmol/L. LOINC: 1963-8 (unverified). A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":100},{"$ref":"#/components/schemas/ValueWithUnit"}]},"albumin":{"description":"Albumin Unit: g/dL. UCUM: g/dL. LOINC: 1751-7 (unverified). A plain number is read in g/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1,"maximum":10},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["sodium","chloride","bicarbonate","albumin"]},"Inputs_creatinine-unit-conversion":{"type":"object","additionalProperties":false,"properties":{"direction":{"type":"string","enum":["mgdl-to-umol","umol-to-mgdl"],"description":"Direction"},"value":{"description":"Creatinine","oneOf":[{"type":"number","minimum":0}]}},"required":["direction","value"]},"Inputs_red-cell-indices":{"type":"object","additionalProperties":false,"properties":{"hgb":{"description":"Hemoglobin Unit: g/dL. UCUM: g/dL. LOINC: 718-7 (unverified). A plain number is read in g/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hct":{"description":"Hematocrit Unit: %. UCUM: %. LOINC: 4544-3 (unverified). A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"rbc":{"description":"RBC Count Unit: 10¹²/L. UCUM: 10*12/L. LOINC: 789-8 (unverified). A plain number is read in 10¹²/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["hgb","hct","rbc"]},"Inputs_absolute-cell-count":{"type":"object","additionalProperties":false,"properties":{"cellType":{"type":"string","enum":["neutrophil","lymphocyte","eosinophil","monocyte"],"description":"Cell type"},"wbc":{"description":"Total WBC Unit: x10⁹/L. UCUM: 10*9/L. LOINC: 6690-2 (unverified). A plain number is read in x10⁹/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"percent":{"description":"Differential % Unit: %. UCUM: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":100},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["cellType","wbc","percent"]},"Inputs_corrected-wbc":{"type":"object","additionalProperties":false,"properties":{"wbc":{"description":"Uncorrected WBC Unit: x10⁹/L. A plain number is read in x10⁹/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"nrbc":{"description":"nRBC per 100 WBC","oneOf":[{"type":"number","minimum":0}]}},"required":["wbc","nrbc"]},"Inputs_hematocrit-estimate":{"type":"object","additionalProperties":false,"properties":{"hgb":{"description":"Hemoglobin Unit: g/dL. A plain number is read in g/dL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["hgb"]},"Inputs_inr":{"type":"object","additionalProperties":false,"properties":{"pt":{"description":"Patient PT Unit: seconds. UCUM: s. LOINC: 5902-2 (unverified). A plain number is read in seconds; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"meanNormalPt":{"description":"Mean normal PT Unit: seconds. UCUM: s. A plain number is read in seconds; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"isi":{"description":"ISI","oneOf":[{"type":"number","minimum":0.1,"maximum":5}]}},"required":["pt","meanNormalPt","isi"]},"Inputs_corrected-count-increment":{"type":"object","additionalProperties":false,"properties":{"prePlatelet":{"description":"Pre-transfusion platelets Unit: /µL. A plain number is read in /µL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"postPlatelet":{"description":"Post-transfusion platelets Unit: /µL. A plain number is read in /µL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"bsa":{"description":"Body surface area Unit: m². A plain number is read in m²; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1,"maximum":5},{"$ref":"#/components/schemas/ValueWithUnit"}]},"plateletDose":{"description":"Platelet dose transfused Unit: ×10¹¹ platelets. A plain number is read in ×10¹¹ platelets; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.01},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["prePlatelet","postPlatelet","bsa","plateletDose"]},"Inputs_estimated-blood-volume":{"type":"object","additionalProperties":false,"properties":{"weightKg":{"description":"Weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"bloodVolumePerKg":{"description":"Blood volume factor Unit: mL/kg. A plain number is read in mL/kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":120},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["weightKg","bloodVolumePerKg"]},"Inputs_international-prognostic-index":{"type":"object","additionalProperties":false,"properties":{"age":{"description":"Age Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":120},{"$ref":"#/components/schemas/ValueWithUnit"}]},"stage34":{"type":"string","enum":["no","yes"],"description":"Ann Arbor stage III/IV"},"performance":{"type":"string","enum":["no","yes"],"description":"Performance status 2–4"},"ldh":{"type":"string","enum":["normal","1to3","gt3"],"description":"LDH relative to upper limit of normal"},"extranodal":{"type":"string","enum":["no","yes"],"description":"≥2 extranodal sites"}},"required":["age","stage34","performance","ldh","extranodal"]},"Inputs_reticulocyte-production-index":{"type":"object","additionalProperties":false,"properties":{"reticPercent":{"description":"Reticulocyte percentage Unit: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":50},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hematocrit":{"description":"Patient hematocrit Unit: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":80},{"$ref":"#/components/schemas/ValueWithUnit"}]},"referenceHematocrit":{"description":"Reference hematocrit Unit: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":80},{"$ref":"#/components/schemas/ValueWithUnit"}]},"maturationFactor":{"description":"Maturation correction","oneOf":[{"type":"number","minimum":1,"maximum":4}]}},"required":["reticPercent","hematocrit","referenceHematocrit","maturationFactor"]},"Inputs_aptt-ratio":{"type":"object","additionalProperties":false,"properties":{"patientAptt":{"description":"Patient aPTT Unit: seconds. A plain number is read in seconds; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"controlAptt":{"description":"Laboratory control / mean normal aPTT Unit: seconds. A plain number is read in seconds; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["patientAptt","controlAptt"]},"Inputs_estimated-rbc-transfusion-volume":{"type":"object","additionalProperties":false,"properties":{"weightKg":{"description":"Weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"bloodVolumePerKg":{"description":"Blood volume factor Unit: mL/kg. A plain number is read in mL/kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":120},{"$ref":"#/components/schemas/ValueWithUnit"}]},"currentHct":{"description":"Current hematocrit Unit: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":80},{"$ref":"#/components/schemas/ValueWithUnit"}]},"targetHct":{"description":"Target hematocrit Unit: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":80},{"$ref":"#/components/schemas/ValueWithUnit"}]},"productHct":{"description":"RBC product hematocrit Unit: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":10,"maximum":90},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["weightKg","bloodVolumePerKg","currentHct","targetHct","productHct"]},"Inputs_revised-international-prognostic-index":{"type":"object","additionalProperties":false,"properties":{"age":{"description":"Age Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":120},{"$ref":"#/components/schemas/ValueWithUnit"}]},"stage34":{"type":"string","enum":["no","yes"],"description":"Ann Arbor stage III/IV"},"performance":{"type":"string","enum":["no","yes"],"description":"Performance status ≥2"},"ldh":{"type":"string","enum":["no","yes"],"description":"LDH above upper limit of normal"},"extranodal":{"type":"string","enum":["no","yes"],"description":"≥2 extranodal sites"}},"required":["age","stage34","performance","ldh","extranodal"]},"Inputs_molarity":{"type":"object","additionalProperties":false,"properties":{"mass":{"description":"Mass of solute Unit: g. A plain number is read in g; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"molecularWeight":{"description":"Molecular weight Unit: g/mol. A plain number is read in g/mol; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"volume":{"description":"Solution volume Unit: L. A plain number is read in L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["mass","molecularWeight","volume"]},"Inputs_normality":{"type":"object","additionalProperties":false,"properties":{"mass":{"description":"Mass of solute Unit: g. A plain number is read in g; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"equivalentWeight":{"description":"Equivalent weight Unit: g/eq. A plain number is read in g/eq; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"volume":{"description":"Solution volume Unit: L. A plain number is read in L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["mass","equivalentWeight","volume"]},"Inputs_c1v1-c2v2-dilution":{"type":"object","additionalProperties":false,"properties":{"solveFor":{"type":"string","enum":["v1","c2","v2","c1"],"description":"Solve for"},"c1":{"description":"Stock concentration (C1)","oneOf":[{"type":"number","minimum":0}]},"v1":{"description":"Stock volume (V1) Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"c2":{"description":"Final concentration (C2)","oneOf":[{"type":"number","minimum":0}]},"v2":{"description":"Final volume (V2) Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["solveFor","c1","c2","v2"]},"Inputs_percent-solution":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["wv","vv","ww"],"description":"Solution type"},"percent":{"description":"Target percentage","oneOf":[{"type":"number","minimum":0,"maximum":100}]},"finalAmount":{"description":"Final amount","oneOf":[{"type":"number","minimum":0}]}},"required":["type","percent","finalAmount"]},"Inputs_molarity-preparation":{"type":"object","additionalProperties":false,"properties":{"targetMolarity":{"description":"Target molarity Unit: mol/L. A plain number is read in mol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"molecularWeight":{"description":"Molecular weight Unit: g/mol. A plain number is read in g/mol; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"finalVolume":{"description":"Final volume Unit: L. A plain number is read in L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["targetMolarity","molecularWeight","finalVolume"]},"Inputs_reagent-dilution-volume":{"type":"object","additionalProperties":false,"properties":{"stockConcentration":{"description":"Stock concentration","oneOf":[{"type":"number","minimum":0}]},"targetConcentration":{"description":"Target concentration","oneOf":[{"type":"number","minimum":0}]},"finalVolume":{"description":"Final volume Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["stockConcentration","targetConcentration","finalVolume"]},"Inputs_beer-lambert-law":{"type":"object","additionalProperties":false,"properties":{"solveFor":{"type":"string","enum":["absorbance","concentration","pathLength","epsilon"],"description":"Solve for"},"absorbance":{"description":"Absorbance","oneOf":[{"type":"number","minimum":0}]},"epsilon":{"description":"Molar absorptivity Unit: L·mol⁻¹·cm⁻¹. A plain number is read in L·mol⁻¹·cm⁻¹; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.000001},{"$ref":"#/components/schemas/ValueWithUnit"}]},"pathLength":{"description":"Path length Unit: cm. A plain number is read in cm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.0001},{"$ref":"#/components/schemas/ValueWithUnit"}]},"concentration":{"description":"Concentration Unit: mol/L. A plain number is read in mol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1e-7},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["solveFor"]},"Inputs_absorbance-transmittance":{"type":"object","additionalProperties":false,"properties":{"solveFor":{"type":"string","enum":["transmittance","absorbance"],"description":"Convert to"},"absorbance":{"description":"Absorbance","oneOf":[{"type":"number","minimum":0}]},"percentTransmittance":{"description":"Percent transmittance","oneOf":[{"type":"number","minimum":0,"maximum":100}]}},"required":["solveFor","absorbance","percentTransmittance"]},"Inputs_spectro-standard-curve":{"type":"object","additionalProperties":false,"properties":{"standard1Concentration":{"description":"Standard 1 concentration","oneOf":[{"type":"number","minimum":0}]},"standard1Absorbance":{"description":"Standard 1 absorbance","oneOf":[{"type":"number","minimum":0}]},"standard2Concentration":{"description":"Standard 2 concentration","oneOf":[{"type":"number","minimum":0}]},"standard2Absorbance":{"description":"Standard 2 absorbance","oneOf":[{"type":"number","minimum":0}]},"unknownAbsorbance":{"description":"Unknown absorbance","oneOf":[{"type":"number","minimum":0}]}},"required":["standard1Concentration","standard1Absorbance","standard2Concentration","standard2Absorbance","unknownAbsorbance"]},"Inputs_spectro-dilution-corrected-concentration":{"type":"object","additionalProperties":false,"properties":{"absorbance":{"description":"Sample absorbance","oneOf":[{"type":"number","minimum":0}]},"slope":{"description":"Calibration slope","oneOf":[{"type":"number"}]},"intercept":{"description":"Calibration intercept","oneOf":[{"type":"number"}]},"dilutionFactor":{"description":"Documented dilution factor","oneOf":[{"type":"number","minimum":1}]}},"required":["absorbance","slope","intercept","dilutionFactor"]},"Inputs_spectro-wavelength-frequency":{"type":"object","additionalProperties":false,"properties":{"solveFor":{"type":"string","enum":["frequency","wavelength"],"description":"Solve for"},"wavelengthNm":{"description":"Wavelength Unit: nm. A plain number is read in nm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.000001},{"$ref":"#/components/schemas/ValueWithUnit"}]},"frequencyHz":{"description":"Frequency Unit: Hz. A plain number is read in Hz; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.000001},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["solveFor","wavelengthNm","frequencyHz"]},"Inputs_spectro-photon-energy":{"type":"object","additionalProperties":false,"properties":{"wavelengthNm":{"description":"Wavelength Unit: nm. A plain number is read in nm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.000001},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["wavelengthNm"]},"Inputs_spectro-wavenumber":{"type":"object","additionalProperties":false,"properties":{"solveFor":{"type":"string","enum":["wavenumber","wavelength"],"description":"Solve for"},"wavelengthNm":{"description":"Wavelength Unit: nm. A plain number is read in nm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.000001},{"$ref":"#/components/schemas/ValueWithUnit"}]},"wavenumberCm1":{"description":"Wavenumber Unit: cm⁻¹. A plain number is read in cm⁻¹; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.000001},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["solveFor","wavelengthNm","wavenumberCm1"]},"Inputs_spectro-blank-corrected-absorbance":{"type":"object","additionalProperties":false,"properties":{"sampleAbsorbance":{"description":"Sample absorbance","oneOf":[{"type":"number","minimum":0}]},"blankAbsorbance":{"description":"Blank absorbance","oneOf":[{"type":"number","minimum":0}]}},"required":["sampleAbsorbance","blankAbsorbance"]},"Inputs_spectro-replicate-statistics":{"type":"object","additionalProperties":false,"properties":{"reading1":{"description":"Reading 1","oneOf":[{"type":"number","minimum":0}]},"reading2":{"description":"Reading 2","oneOf":[{"type":"number","minimum":0}]},"reading3":{"description":"Reading 3","oneOf":[{"type":"number","minimum":0}]}},"required":["reading1","reading2","reading3"]},"Inputs_spectro-calibration-regression":{"type":"object","additionalProperties":false,"properties":{"x1":{"description":"Standard 1 concentration","oneOf":[{"type":"number","minimum":0}]},"y1":{"description":"Standard 1 absorbance","oneOf":[{"type":"number","minimum":0}]},"x2":{"description":"Standard 2 concentration","oneOf":[{"type":"number","minimum":0}]},"y2":{"description":"Standard 2 absorbance","oneOf":[{"type":"number","minimum":0}]},"x3":{"description":"Standard 3 concentration","oneOf":[{"type":"number","minimum":0}]},"y3":{"description":"Standard 3 absorbance","oneOf":[{"type":"number","minimum":0}]},"x4":{"description":"Standard 4 concentration","oneOf":[{"type":"number","minimum":0}]},"y4":{"description":"Standard 4 absorbance","oneOf":[{"type":"number","minimum":0}]},"x5":{"description":"Standard 5 concentration","oneOf":[{"type":"number","minimum":0}]},"y5":{"description":"Standard 5 absorbance","oneOf":[{"type":"number","minimum":0}]},"unknownAbsorbance":{"description":"Unknown absorbance","oneOf":[{"type":"number","minimum":0}]}},"required":["x1","y1","x2","y2","x3","y3","x4","y4","x5","y5","unknownAbsorbance"]},"Inputs_spectro-photometric-linearity":{"type":"object","additionalProperties":false,"properties":{"expectedAbsorbance":{"description":"Expected absorbance","oneOf":[{"type":"number","minimum":0.000001}]},"observedAbsorbance":{"description":"Observed absorbance","oneOf":[{"type":"number","minimum":0}]}},"required":["expectedAbsorbance","observedAbsorbance"]},"Inputs_cfu-per-ml":{"type":"object","additionalProperties":false,"properties":{"colonies":{"description":"Colonies counted","oneOf":[{"type":"number","minimum":0}]},"volumePlated":{"description":"Volume plated Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"dilutionFactor":{"description":"Dilution factor","oneOf":[{"type":"number","minimum":1}]}},"required":["colonies","volumePlated","dilutionFactor"]},"Inputs_dilution-factor":{"type":"object","additionalProperties":false,"properties":{"aliquotVolume":{"description":"Aliquot (sample) volume Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"finalVolume":{"description":"Final total volume Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["aliquotVolume","finalVolume"]},"Inputs_concentration-after-dilution":{"type":"object","additionalProperties":false,"properties":{"initialConcentration":{"description":"Initial concentration","oneOf":[{"type":"number","minimum":0}]},"dilutionFactor":{"description":"Dilution factor","oneOf":[{"type":"number","minimum":1}]}},"required":["initialConcentration","dilutionFactor"]},"Inputs_serial-dilution-total-factor":{"type":"object","additionalProperties":false,"properties":{"factor1":{"description":"Dilution factor  -  step 1","oneOf":[{"type":"number","minimum":1}]},"factor2":{"description":"Dilution factor  -  step 2","oneOf":[{"type":"number","minimum":1}]},"factor3":{"description":"Dilution factor  -  step 3","oneOf":[{"type":"number","minimum":1}]},"factor4":{"description":"Dilution factor  -  step 4","oneOf":[{"type":"number","minimum":1}]}},"required":["factor1"]},"Inputs_microbiology-concentration-dilution":{"type":"object","additionalProperties":false,"properties":{"initialConcentration":{"description":"Initial concentration","oneOf":[{"type":"number","minimum":0}]},"dilutionFactor":{"description":"Dilution factor","oneOf":[{"type":"number","minimum":1}]}},"required":["initialConcentration","dilutionFactor"]},"Inputs_pooled-cfu-per-ml":{"type":"object","additionalProperties":false,"properties":{"totalColonies":{"description":"Total colonies counted","oneOf":[{"type":"number","minimum":0}]},"totalVolumeMl":{"description":"Total plated volume Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.001},{"$ref":"#/components/schemas/ValueWithUnit"}]},"dilutionFactor":{"description":"Dilution factor","oneOf":[{"type":"number","minimum":1}]}},"required":["totalColonies","totalVolumeMl","dilutionFactor"]},"Inputs_mean-arterial-pressure":{"type":"object","additionalProperties":false,"properties":{"sbp":{"description":"Systolic BP Unit: mmHg. UCUM: mm[Hg]. LOINC: 8480-6 (unverified). A plain number is read in mmHg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":400},{"$ref":"#/components/schemas/ValueWithUnit"}]},"dbp":{"description":"Diastolic BP Unit: mmHg. UCUM: mm[Hg]. LOINC: 8462-4 (unverified). A plain number is read in mmHg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":300},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["sbp","dbp"]},"Inputs_ejection-fraction":{"type":"object","additionalProperties":false,"properties":{"edv":{"description":"End-diastolic volume Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"esv":{"description":"End-systolic volume Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["edv","esv"]},"Inputs_cha2ds2-vasc":{"type":"object","additionalProperties":false,"properties":{"chf":{"type":"string","enum":["no","yes"],"description":"Heart failure / LV dysfunction"},"hypertension":{"type":"string","enum":["no","yes"],"description":"Hypertension"},"age":{"description":"Age Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":18,"maximum":120},{"$ref":"#/components/schemas/ValueWithUnit"}]},"diabetes":{"type":"string","enum":["no","yes"],"description":"Diabetes"},"stroke":{"type":"string","enum":["no","yes"],"description":"Prior stroke / TIA / systemic embolism"},"vascular":{"type":"string","enum":["no","yes"],"description":"Vascular disease"},"sex":{"type":"string","enum":["male","female"],"description":"Sex"}},"required":["chf","hypertension","age","diabetes","stroke","vascular","sex"]},"Inputs_dapt-score":{"type":"object","additionalProperties":false,"properties":{"age":{"description":"Age Unit: years. A plain number is read in years; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":18,"maximum":120},{"$ref":"#/components/schemas/ValueWithUnit"}]},"smoker":{"type":"string","enum":["no","yes"],"description":"Current cigarette smoker"},"diabetes":{"type":"string","enum":["no","yes"],"description":"Diabetes mellitus"},"miPresentation":{"type":"string","enum":["no","yes"],"description":"MI at presentation"},"priorPciMi":{"type":"string","enum":["no","yes"],"description":"Prior PCI or prior MI"},"smallStent":{"type":"string","enum":["no","yes"],"description":"Stent diameter <3 mm"},"paclitaxelStent":{"type":"string","enum":["no","yes"],"description":"Paclitaxel-eluting stent"},"chfLowEf":{"type":"string","enum":["no","yes"],"description":"CHF or LVEF <30%"},"veinGraft":{"type":"string","enum":["no","yes"],"description":"Saphenous vein graft PCI"}},"required":["age","smoker","diabetes","miPresentation","priorPciMi","smallStent","paclitaxelStent","chfLowEf","veinGraft"]},"Inputs_qtc-correction":{"type":"object","additionalProperties":false,"properties":{"qt":{"description":"QT interval Unit: ms. UCUM: ms. A plain number is read in ms; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"heartRate":{"description":"Heart rate Unit: bpm. UCUM: /min. LOINC: 8867-4 (unverified). A plain number is read in bpm; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":300},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["qt","heartRate"]},"Inputs_atherogenic-index-plasma":{"type":"object","additionalProperties":false,"properties":{"triglycerides":{"description":"Triglycerides Unit: mmol/L. A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.001},{"$ref":"#/components/schemas/ValueWithUnit"}]},"hdl":{"description":"HDL cholesterol Unit: mmol/L. A plain number is read in mmol/L; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.001},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["triglycerides","hdl"]},"Inputs_pulse-pressure":{"type":"object","additionalProperties":false,"properties":{"sbp":{"description":"Systolic BP Unit: mmHg. A plain number is read in mmHg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":400},{"$ref":"#/components/schemas/ValueWithUnit"}]},"dbp":{"description":"Diastolic BP Unit: mmHg. A plain number is read in mmHg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":300},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["sbp","dbp"]},"Inputs_cardiac-index":{"type":"object","additionalProperties":false,"properties":{"cardiacOutput":{"description":"Cardiac output Unit: L/min. A plain number is read in L/min; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"bsa":{"description":"Body surface area Unit: m². A plain number is read in m²; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1,"maximum":5},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["cardiacOutput","bsa"]},"Inputs_has-bled":{"type":"object","additionalProperties":false,"properties":{"hypertension":{"type":"string","enum":["no","yes"],"description":"Uncontrolled hypertension (systolic >160 mmHg)"},"renal":{"type":"string","enum":["no","yes"],"description":"Abnormal renal function"},"liver":{"type":"string","enum":["no","yes"],"description":"Abnormal liver function"},"stroke":{"type":"string","enum":["no","yes"],"description":"Previous stroke"},"bleeding":{"type":"string","enum":["no","yes"],"description":"Prior major bleeding / bleeding predisposition"},"labileInr":{"type":"string","enum":["no","yes"],"description":"Labile INR"},"age":{"type":"string","enum":["no","yes"],"description":"Age >65 years"},"drugs":{"type":"string","enum":["no","yes"],"description":"Drugs predisposing to bleeding"},"alcohol":{"type":"string","enum":["no","yes"],"description":"Excess alcohol use"}},"required":["hypertension","renal","liver","stroke","bleeding","labileInr","age","drugs","alcohol"]},"Inputs_af-ventricular-rate":{"type":"object","additionalProperties":false,"properties":{"qrsCount":{"description":"QRS complexes counted","oneOf":[{"type":"number","minimum":1,"maximum":100}]},"durationSeconds":{"description":"Strip duration Unit: seconds. A plain number is read in seconds; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":1,"maximum":60},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["qrsCount","durationSeconds"]},"Inputs_hct-ci":{"type":"object","additionalProperties":false,"properties":{"age40":{"type":"string","enum":["no","yes"],"description":"Age ≥40 years"},"arrhythmia":{"type":"string","enum":["no","yes"],"description":"Arrhythmia"},"cardiac":{"type":"string","enum":["no","yes"],"description":"Cardiac disease / MI / CHF / EF ≤50%"},"ibd":{"type":"string","enum":["no","yes"],"description":"Inflammatory bowel disease"},"diabetes":{"type":"string","enum":["no","yes"],"description":"Diabetes requiring medication"},"cerebrovascular":{"type":"string","enum":["no","yes"],"description":"Cerebrovascular disease"},"psychiatric":{"type":"string","enum":["no","yes"],"description":"Psychiatric disorder requiring treatment"},"mildLiver":{"type":"string","enum":["no","yes"],"description":"Mild hepatic disease"},"obesity":{"type":"string","enum":["no","yes"],"description":"BMI >35 kg/m²"},"infection":{"type":"string","enum":["no","yes"],"description":"Active infection requiring treatment beyond day 0"},"moderatePulmonary":{"type":"string","enum":["no","yes"],"description":"Moderate pulmonary disease"},"rheumatologic":{"type":"string","enum":["no","yes"],"description":"Rheumatologic disease"},"pepticUlcer":{"type":"string","enum":["no","yes"],"description":"Peptic ulcer disease"},"renal":{"type":"string","enum":["no","yes"],"description":"Moderate/severe renal disease"},"priorTumor":{"type":"string","enum":["no","yes"],"description":"Prior solid/other qualifying tumor"},"heartValve":{"type":"string","enum":["no","yes"],"description":"Heart valve disease"},"severePulmonary":{"type":"string","enum":["no","yes"],"description":"Severe pulmonary disease"},"severeLiver":{"type":"string","enum":["no","yes"],"description":"Severe hepatic disease"}},"required":["age40","arrhythmia","cardiac","ibd","diabetes","cerebrovascular","psychiatric","mildLiver","obesity","infection","moderatePulmonary","rheumatologic","pepticUlcer","renal","priorTumor","heartValve","severePulmonary","severeLiver"]},"Inputs_conditioning-transplant-day":{"type":"object","additionalProperties":false,"properties":{"day":{"description":"Documented treatment day Unit: day. A plain number is read in day; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":-100,"maximum":100},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["day"]},"Inputs_stem-cell-collection-yield":{"type":"object","additionalProperties":false,"properties":{"cd34PerUl":{"description":"CD34+ concentration Unit: cells/µL. A plain number is read in cells/µL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0},{"$ref":"#/components/schemas/ValueWithUnit"}]},"volumeMl":{"description":"Product volume Unit: mL. A plain number is read in mL; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"weightKg":{"description":"Recipient weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["cd34PerUl","volumeMl","weightKg"]},"Inputs_cd34-cell-dose":{"type":"object","additionalProperties":false,"properties":{"totalCd34":{"description":"Total CD34+ cells Unit: ×10⁶ cells. A plain number is read in ×10⁶ cells; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.001},{"$ref":"#/components/schemas/ValueWithUnit"}]},"weightKg":{"description":"Recipient weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["totalCd34","weightKg"]},"Inputs_neutrophil-engraftment-day":{"type":"object","additionalProperties":false,"properties":{"engraftmentDay":{"description":"Documented engraftment day Unit: day. A plain number is read in day; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":200},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["engraftmentDay"]},"Inputs_donor-chimerism":{"type":"object","additionalProperties":false,"properties":{"donorSignal":{"description":"Donor signal / cells","oneOf":[{"type":"number","minimum":0}]},"totalSignal":{"description":"Total signal / cells","oneOf":[{"type":"number","minimum":0.01}]}},"required":["donorSignal","totalSignal"]},"Inputs_stem-cell-collection-target":{"type":"object","additionalProperties":false,"properties":{"targetDose":{"description":"Target CD34+ dose Unit: ×10⁶/kg. A plain number is read in ×10⁶/kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]},"weightKg":{"description":"Recipient weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["targetDose","weightKg"]},"Inputs_viable-cd34-cell-dose":{"type":"object","additionalProperties":false,"properties":{"totalCd34":{"description":"Total CD34+ cells Unit: ×10⁶ cells. A plain number is read in ×10⁶ cells; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.01},{"$ref":"#/components/schemas/ValueWithUnit"}]},"viability":{"description":"CD34+ viability Unit: %. A plain number is read in %; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0,"maximum":100},{"$ref":"#/components/schemas/ValueWithUnit"}]},"weightKg":{"description":"Recipient weight Unit: kg. A plain number is read in kg; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":0.1},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["totalCd34","viability","weightKg"]},"Inputs_engraftment-duration":{"type":"object","additionalProperties":false,"properties":{"transplantDay":{"description":"Transplant day Unit: day. A plain number is read in day; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":-100,"maximum":100},{"$ref":"#/components/schemas/ValueWithUnit"}]},"engraftmentDay":{"description":"Engraftment day Unit: day. A plain number is read in day; send {\"value\",\"unit\"} to use another supported unit.","oneOf":[{"type":"number","minimum":-100,"maximum":365},{"$ref":"#/components/schemas/ValueWithUnit"}]}},"required":["transplantDay","engraftmentDay"]},"Inputs_ldl-sampson":{"type":"object","additionalProperties":false,"properties":{"unit":{"type":"string","enum":["mg/dL","mmol/L"],"description":"Units"},"tc":{"description":"Total cholesterol","oneOf":[{"type":"number","minimum":0}]},"hdl":{"description":"HDL cholesterol","oneOf":[{"type":"number","minimum":0}]},"tg":{"description":"Triglycerides","oneOf":[{"type":"number","minimum":0}]}},"required":["unit","tc","hdl","tg"]}},"responses":{"Unauthorized":{"description":"Missing, invalid or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The key lacks the scope this endpoint or calculator needs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"ValidationFailed":{"description":"Field-level validation errors in error.fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Too many requests; see the Retry-After header","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}