{
  "x402Version": 2,
  "id": 38927,
  "slug": "38927",
  "resource": "https://api.magentlab.com/api/calc/rdos",
  "description": "Campbell 2010 RDOS for patients unable to self-report dyspnea. Eight caller-assigned 0-2 integers (heart_rate, respiratory_rate, restlessness, paradoxical_breathing, accessory_muscle_use, grunting, nasal_flaring, look_of_fear). magent sums only (max 16); does not convert raw heart or respiratory rate or observe the patient. Campbell 2010 published the 0-16 instrument; magent does not apply later cutoff papers. Not a medical device and not an opioid or oxygen order.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "accessory_muscle_use": 0,
                "grunting": 0,
                "heart_rate": 0,
                "look_of_fear": 0,
                "nasal_flaring": 0,
                "paradoxical_breathing": 0,
                "respiratory_rate": 0,
                "restlessness": 0
              },
              {
                "accessory_muscle_use": 0,
                "grunting": 0,
                "heart_rate": 0,
                "look_of_fear": 0,
                "nasal_flaring": 0,
                "paradoxical_breathing": 0,
                "respiratory_rate": 0,
                "restlessness": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Campbell ML, Templin T, Walch J",
                  "doi": "10.1089/jpm.2009.0229",
                  "id": "campbell-2010",
                  "pmid": "20078243",
                  "source": "J Palliat Med. 2010;13(3):285-290",
                  "title": "A Respiratory Distress Observation Scale for patients unable to self-report dyspnea"
                },
                "components": [
                  {
                    "factor": "heart_rate",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "respiratory_rate",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "restlessness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "paradoxical_breathing",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "accessory_muscle_use",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "grunting",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "nasal_flaring",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "look_of_fear",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "rdos",
                "formula_expression": "RDOS = heart_rate + respiratory_rate + restlessness + paradoxical_breathing + accessory_muscle_use + grunting + nasal_flaring + look_of_fear; each caller-assigned 0-2; max 16",
                "max_score": 16,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Campbell ML, Templin T, Walch J",
                  "doi": "10.1089/jpm.2009.0229",
                  "id": "campbell-2010",
                  "pmid": "20078243",
                  "source": "J Palliat Med. 2010;13(3):285-290",
                  "title": "A Respiratory Distress Observation Scale for patients unable to self-report dyspnea"
                },
                "components": [
                  {
                    "factor": "heart_rate",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "respiratory_rate",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "restlessness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "paradoxical_breathing",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "accessory_muscle_use",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "grunting",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "nasal_flaring",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "look_of_fear",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "rdos",
                "formula_expression": "RDOS = heart_rate + respiratory_rate + restlessness + paradoxical_breathing + accessory_muscle_use + grunting + nasal_flaring + look_of_fear; each caller-assigned 0-2; max 16",
                "max_score": 16,
                "score": 0
              }
            ],
            "path": "/api/calc/rdos"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "accessory_muscle_use": {
                          "description": "Caller-assigned Campbell 2010 accessory_muscle_use (rise in clavicle during inspiration) points (integer 0-2): 0 none; 1 slight rise; 2 pronounced rise. magent does not observe the patient.",
                          "type": "integer"
                        },
                        "grunting": {
                          "description": "Caller-assigned Campbell 2010 grunting at end-expiration (guttural sound) points (integer 0-2). Paper scores 0 none or 2 present; there is no 1-point cell. magent does not observe the patient.",
                          "type": "integer"
                        },
                        "heart_rate": {
                          "description": "Caller-assigned Campbell 2010 heart_rate points (integer 0-2). Paper bins: ≤90 beats/min → 0; 91–110 → 1; ≥111 → 2. magent does not convert raw beats/min and does not observe the patient.",
                          "type": "integer"
                        },
                        "look_of_fear": {
                          "description": "Caller-assigned Campbell 2010 look_of_fear points (integer 0-2). Paper scores 0 none or 2 eyes wide open, facial muscles tense, brow furrowed, mouth open, teeth together; there is no 1-point cell. magent does not observe the patient.",
                          "type": "integer"
                        },
                        "nasal_flaring": {
                          "description": "Caller-assigned Campbell 2010 nasal_flaring (involuntary movement of nares) points (integer 0-2). Paper scores 0 none or 2 present; there is no 1-point cell. magent does not observe the patient.",
                          "type": "integer"
                        },
                        "paradoxical_breathing": {
                          "description": "Caller-assigned Campbell 2010 paradoxical_breathing points (integer 0-2). Paper scores 0 none or 2 present (abdomen moves in on inspiration); there is no 1-point cell. magent does not observe the patient.",
                          "type": "integer"
                        },
                        "respiratory_rate": {
                          "description": "Caller-assigned Campbell 2010 respiratory_rate points (integer 0-2). Paper bins: ≤18 breaths/min → 0; 19–28 → 1; ≥29 → 2. magent does not convert raw breaths/min and does not observe the patient.",
                          "type": "integer"
                        },
                        "restlessness": {
                          "description": "Caller-assigned Campbell 2010 restlessness (nonpurposeful movements) points (integer 0-2): 0 none; 1 occasional, slight movements; 2 frequent movements. magent does not observe the patient.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "heart_rate",
                        "respiratory_rate",
                        "restlessness",
                        "paradoxical_breathing",
                        "accessory_muscle_use",
                        "grunting",
                        "nasal_flaring",
                        "look_of_fear"
                      ],
                      "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"
      }
    }
  },
  "tags": [
    "rdos",
    "dyspnea",
    "respiratory",
    "palliative",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T12:06:46.005Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T12:06:45.879Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "accessory_muscle_use": 0,
                  "grunting": 0,
                  "heart_rate": 0,
                  "look_of_fear": 0,
                  "nasal_flaring": 0,
                  "paradoxical_breathing": 0,
                  "respiratory_rate": 0,
                  "restlessness": 0
                },
                {
                  "accessory_muscle_use": 0,
                  "grunting": 0,
                  "heart_rate": 0,
                  "look_of_fear": 0,
                  "nasal_flaring": 0,
                  "paradoxical_breathing": 0,
                  "respiratory_rate": 0,
                  "restlessness": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Campbell ML, Templin T, Walch J",
                    "doi": "10.1089/jpm.2009.0229",
                    "id": "campbell-2010",
                    "pmid": "20078243",
                    "source": "J Palliat Med. 2010;13(3):285-290",
                    "title": "A Respiratory Distress Observation Scale for patients unable to self-report dyspnea"
                  },
                  "components": [
                    {
                      "factor": "heart_rate",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "respiratory_rate",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "restlessness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "paradoxical_breathing",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "accessory_muscle_use",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "grunting",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "nasal_flaring",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "look_of_fear",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "rdos",
                  "formula_expression": "RDOS = heart_rate + respiratory_rate + restlessness + paradoxical_breathing + accessory_muscle_use + grunting + nasal_flaring + look_of_fear; each caller-assigned 0-2; max 16",
                  "max_score": 16,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Campbell ML, Templin T, Walch J",
                    "doi": "10.1089/jpm.2009.0229",
                    "id": "campbell-2010",
                    "pmid": "20078243",
                    "source": "J Palliat Med. 2010;13(3):285-290",
                    "title": "A Respiratory Distress Observation Scale for patients unable to self-report dyspnea"
                  },
                  "components": [
                    {
                      "factor": "heart_rate",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "respiratory_rate",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "restlessness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "paradoxical_breathing",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "accessory_muscle_use",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "grunting",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "nasal_flaring",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "look_of_fear",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "rdos",
                  "formula_expression": "RDOS = heart_rate + respiratory_rate + restlessness + paradoxical_breathing + accessory_muscle_use + grunting + nasal_flaring + look_of_fear; each caller-assigned 0-2; max 16",
                  "max_score": 16,
                  "score": 0
                }
              ],
              "path": "/api/calc/rdos"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "accessory_muscle_use": {
                            "description": "Caller-assigned Campbell 2010 accessory_muscle_use (rise in clavicle during inspiration) points (integer 0-2): 0 none; 1 slight rise; 2 pronounced rise. magent does not observe the patient.",
                            "type": "integer"
                          },
                          "grunting": {
                            "description": "Caller-assigned Campbell 2010 grunting at end-expiration (guttural sound) points (integer 0-2). Paper scores 0 none or 2 present; there is no 1-point cell. magent does not observe the patient.",
                            "type": "integer"
                          },
                          "heart_rate": {
                            "description": "Caller-assigned Campbell 2010 heart_rate points (integer 0-2). Paper bins: ≤90 beats/min → 0; 91–110 → 1; ≥111 → 2. magent does not convert raw beats/min and does not observe the patient.",
                            "type": "integer"
                          },
                          "look_of_fear": {
                            "description": "Caller-assigned Campbell 2010 look_of_fear points (integer 0-2). Paper scores 0 none or 2 eyes wide open, facial muscles tense, brow furrowed, mouth open, teeth together; there is no 1-point cell. magent does not observe the patient.",
                            "type": "integer"
                          },
                          "nasal_flaring": {
                            "description": "Caller-assigned Campbell 2010 nasal_flaring (involuntary movement of nares) points (integer 0-2). Paper scores 0 none or 2 present; there is no 1-point cell. magent does not observe the patient.",
                            "type": "integer"
                          },
                          "paradoxical_breathing": {
                            "description": "Caller-assigned Campbell 2010 paradoxical_breathing points (integer 0-2). Paper scores 0 none or 2 present (abdomen moves in on inspiration); there is no 1-point cell. magent does not observe the patient.",
                            "type": "integer"
                          },
                          "respiratory_rate": {
                            "description": "Caller-assigned Campbell 2010 respiratory_rate points (integer 0-2). Paper bins: ≤18 breaths/min → 0; 19–28 → 1; ≥29 → 2. magent does not convert raw breaths/min and does not observe the patient.",
                            "type": "integer"
                          },
                          "restlessness": {
                            "description": "Caller-assigned Campbell 2010 restlessness (nonpurposeful movements) points (integer 0-2): 0 none; 1 occasional, slight movements; 2 frequent movements. magent does not observe the patient.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "heart_rate",
                          "respiratory_rate",
                          "restlessness",
                          "paradoxical_breathing",
                          "accessory_muscle_use",
                          "grunting",
                          "nasal_flaring",
                          "look_of_fear"
                        ],
                        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}