LACE (van Walraven 2010 CMAJ Table 3) from length of stay in days (<1 0; 1 1; 2
LACE (van Walraven 2010 CMAJ Table 3) from length of stay in days (<1 0; 1 1; 2 2; 3 3; 4-6 4; 7-13 5; >=14 7), acute (emergent) admission (true 3), caller-supplied Charlson comorbidity index (0-3 identity; >=4 5), and ED visits in the previous 6 months (0-3 identity; >=4 4). Score 0-19 only; no unpublished high-risk class. Not a discharge order. magent does not compute Charlson.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
266 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/lace
| 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 | 266 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"acute_admission": false,
"charlson": 0,
"ed_visits_6mo": 0,
"length_of_stay_days": 1
},
{
"acute_admission": false,
"charlson": 0,
"ed_visits_6mo": 0,
"length_of_stay_days": 1
}
]
},
"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": {
"acute_admission": {
"description": "Acute (emergent) admission as assigned by the caller (true or false). van Walraven 2010 Table 3 A: true \u2192 3, false \u2192 0.",
"type": "boolean"
},
"charlson": {
"description": "Caller-supplied Charlson comorbidity index (integer 0-37). magent does not compute Charlson. van Walraven 2010 Table 3 C: 0 \u2192 0, 1 \u2192 1, 2 \u2192 2, 3 \u2192 3, \u22654 \u2192 5.",
"type": "integer"
},
"ed_visits_6mo": {
"description": "Emergency-department visits in the previous 6 months (integer 0-30). van Walraven 2010 Table 3 E: 0 \u2192 0, 1 \u2192 1, 2 \u2192 2, 3 \u2192 3, \u22654 \u2192 4.",
"type": "integer"
},
"length_of_stay_days": {
"description": "Length of stay in days (integer 0-365). van Walraven 2010 Table 3 L: <1 \u2192 0, 1 \u2192 1, 2 \u2192 2, 3 \u2192 3, 4-6 \u2192 4, 7-13 \u2192 5, \u226514 \u2192 7. 0 days is the <1 bin.",
"type": "integer"
}
},
"required": [
"length_of_stay_days",
"acute_admission",
"charlson",
"ed_visits_6mo"
],
"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"
}