API Reference


POST /nela-risk

Calculate predicted mortality risk following emergency laparotomy

{
  "age": 65,
  "asa": "3",
  "systolicBP": 120,
  "pulse": 80,
  "gcs": 15,
  "urea": 7.5,
  "wbc": 12,
  "soiling": "none",
  "malignancy": "none",
  "respiratory": false,
  "albumin": 35,
  "urgency": "3",
  "indicationForSurgery": "obstruction"
}
{
  "predictedRisk": 22.151,
  "debug": {
    "ageComponent": 0.0666,
    "asaComponent": 1.13007,
    "asaAgeInteraction": -0.03021,
    "albuminComponent": -1.2969,
    "pulseComponent": -0.08022,
    "systolicBP_Component": -0.0195,
    "lnUreaComponent": 0.01744677484400017,
    "lnWBCComponent": 0.0034741681078890863,
    "gcsComponent": 0.41557,
    "malignancyComponent": 0.5061,
    "respiratoryComponent": 0.607,
    "urgencyComponent": 0.14779,
    "indicationComponent": 0.02812,
    "soilingComponent": 0.29453
  }
}

Request data (JSON)

Parameter Type Example Description
{{ index }} {{ field.type }}
{{ option }}
true
false
{{ field.value }}
{{ field.name }}

Demo


Please fix the validation errors before submitting

Result

Predicted mortality risk: {{ result.predictedRisk }}%
Request sent:
{{ request }}
Response received:
{{ result }}