ToolAssay

Weiss 2014 Community ED Overcrowding Scale (CEDOCS) reduced model

Weiss 2014 Community ED Overcrowding Scale (CEDOCS) reduced model: critical-care patients, longest admitted-patient hours since admission, waiting-room count, ED patients indexed to ED beds, and annual ED visits with a restricted cubic spline. Returns the 1-decimal score on the paper's 0-100 scale without clamping or named class bands. Caller supplies counts and hours; magent does not count patients or wait times. Not a medical device and not a diversion or ambulance-bypass order.

Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
282 msmedian answer time
$0.005listed price per call
$0.007price it asked us

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/cedocs

CategoryEverything else
Provider hostapi.magentlab.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.007 282 ms

Example input (from the provider)

{
  "body": {
    "items": [
      {
        "admit_time_hours": 0,
        "critical_care_patients": 0,
        "ed_beds": 20,
        "ed_patients": 0,
        "ed_visits_per_year": 46000,
        "waiting_room_patients": 0
      },
      {
        "admit_time_hours": 0,
        "critical_care_patients": 0,
        "ed_beds": 20,
        "ed_patients": 0,
        "ed_visits_per_year": 46000,
        "waiting_room_patients": 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 admission (0-120). Weiss 2014 reduced-model B. Not time since registration. magent does not measure wait times.",
                    "type": "number"
                  },
                  "critical_care_patients": {
                    "description": "Critical-care patients in the ED (integer 0-20). Weiss 2014 reduced-model A. magent does not count patients.",
                    "type": "integer"
                  },
                  "ed_beds": {
                    "description": "Number of ED beds (integer 1-300). Weiss 2014 occupancy denominator. magent does not count beds.",
                    "type": "integer"
                  },
                  "ed_patients": {
                    "description": "Total patients in the ED (integer 0-200). Weiss 2014 occupancy numerator (beds plus doubled-up or hallway). magent does not count patients.",
                    "type": "integer"
                  },
                  "ed_visits_per_year": {
                    "description": "ED visits per year (integer 1000-200000). Weiss 2014 reduced-model E with restricted cubic spline knots at 18811, 43012, 49466, and 67273. The paper's spline worked example uses 46000. magent does not count visits.",
                    "type": "integer"
                  },
                  "waiting_room_patients": {
                    "description": "Patients in the waiting room (integer 0-200). Weiss 2014 reduced-model C. magent does not count waiting-room patients.",
                    "type": "integer"
                  }
                },
                "required": [
                  "critical_care_patients",
                  "admit_time_hours",
                  "waiting_room_patients",
                  "ed_patients",
                  "ed_beds",
                  "ed_visits_per_year"
                ],
                "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"
}

This page as JSON