Weiss 2004 National ED Overcrowding Study (NEDOCS) reduced five-variable model
Weiss 2004 National ED Overcrowding Study (NEDOCS) reduced five-variable model: ED patients indexed to ED beds, boarding indexed to hospital beds, respirators, longest admitted-patient hours since registration, and last-called registration-to-bed hours. Returns the linear score (1 decimal) and the published ≥100 overcrowding cutoff. Caller supplies counts and hours; magent does not count beds or wait times. Not a medical device and not a diversion or ambulance-bypass order.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/nedocs
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 287 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"admit_time_hours": 0,
"boarding_patients": 0,
"ed_beds": 50,
"ed_patients": 0,
"hospital_beds": 500,
"reg_time_hours": 0,
"respirators": 0
},
{
"admit_time_hours": 0,
"boarding_patients": 0,
"ed_beds": 50,
"ed_patients": 0,
"hospital_beds": 500,
"reg_time_hours": 0,
"respirators": 0
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"admit_time_hours": {
"description": "Hours the longest-waiting admitted patient has been in the ED since registration (0-120). Weiss 2004 reduced-model admit time. Not time since the admission order (that bed-time variable was omitted). magent does not measure wait times.",
"type": "number"
},
"boarding_patients": {
"description": "Patients in the ED awaiting inpatient beds (integer 0-200). Weiss 2004 admit-index numerator. magent does not count boarding patients.",
"type": "integer"
},
"ed_beds": {
"description": "Number of ED beds (integer 1-300). Weiss 2004 patindex denominator. The paper's average academic ED was 50 ED beds. magent does not count beds.",
"type": "integer"
},
"ed_patients": {
"description": "Total patients in the ED (integer 0-200). Weiss 2004 patindex numerator (full rooms + hallways + doubled-up). magent does not count patients.",
"type": "integer"
},
"hospital_beds": {
"description": "Number of hospital beds (integer 1-3000). Weiss 2004 admit-index denominator. The paper's average academic hospital was 500 beds. magent does not count beds.",
"type": "integer"
},
"reg_time_hours": {
"description": "Hours from registration until the last patient called from the waiting room was called to a bed (0-48). Weiss 2004 reduced-model reg time. magent does not measure wait times.",
"type": "number"
},
"respirators": {
"description": "Patients on respirators in the ED (integer 0-20). Weiss 2004 reduced-model respirators term. magent does not count ventilators.",
"type": "integer"
}
},
"required": [
"ed_patients",
"ed_beds",
"boarding_patients",
"hospital_beds",
"respirators",
"admit_time_hours",
"reg_time_hours"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}