{
  "x402Version": 2,
  "id": 39209,
  "slug": "39209",
  "resource": "https://api.magentlab.com/api/calc/dhaka",
  "description": "Levine 2015 DHAKA Dehydration Score (Table 3, not the Tree): appearance 0/2/4, respirations 0/2, skin pinch 0/2/4, tears 0/1/2. Max 12. Bands 0-1 / 2-3 / ≥4. Derived in children <5 with acute diarrhea. magent does not examine the child or order fluids. Not a WHO IMCI clone. Not a medical device.",
  "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": [
              {
                "general_appearance": "normal",
                "respirations": "normal",
                "skin_pinch": "normal",
                "tears": "normal"
              },
              {
                "general_appearance": "normal",
                "respirations": "normal",
                "skin_pinch": "normal",
                "tears": "normal"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Levine AC, Glavis-Bloom J, Modi P, Nasrin S, Rege S, Chu C, Schmid CH, Alam NH",
                  "doi": "10.9745/GHSP-D-15-00097",
                  "id": "levine-2015",
                  "pmid": "26374802",
                  "source": "Glob Health Sci Pract. 2015;3(3):405-418",
                  "title": "Empirically Derived Dehydration Scoring and Decision Tree Models for Children With Diarrhea: Assessment and Internal Validation in a Prospective Cohort Study in Dhaka, Bangladesh"
                },
                "components": [
                  {
                    "factor": "general_appearance",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "respirations",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "skin_pinch",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "tears",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  }
                ],
                "dhaka_band": "no_dehydration",
                "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": "dhaka",
                "formula_expression": "DHAKA = general_appearance (normal 0, restless_irritable 2, lethargic_unconscious 4) + respirations (normal 0, deep 2) + skin_pinch (normal 0, slow 2, very_slow 4) + tears (normal 0, decreased 1, absent 2); Levine 2015 Table 3; max 12",
                "general_appearance": "normal",
                "max_score": 12,
                "respirations": "normal",
                "score": 0,
                "skin_pinch": "normal",
                "tears": "normal"
              },
              {
                "citation": {
                  "authors": "Levine AC, Glavis-Bloom J, Modi P, Nasrin S, Rege S, Chu C, Schmid CH, Alam NH",
                  "doi": "10.9745/GHSP-D-15-00097",
                  "id": "levine-2015",
                  "pmid": "26374802",
                  "source": "Glob Health Sci Pract. 2015;3(3):405-418",
                  "title": "Empirically Derived Dehydration Scoring and Decision Tree Models for Children With Diarrhea: Assessment and Internal Validation in a Prospective Cohort Study in Dhaka, Bangladesh"
                },
                "components": [
                  {
                    "factor": "general_appearance",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "respirations",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "skin_pinch",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "tears",
                    "points": 0,
                    "present": true,
                    "value": "normal"
                  }
                ],
                "dhaka_band": "no_dehydration",
                "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": "dhaka",
                "formula_expression": "DHAKA = general_appearance (normal 0, restless_irritable 2, lethargic_unconscious 4) + respirations (normal 0, deep 2) + skin_pinch (normal 0, slow 2, very_slow 4) + tears (normal 0, decreased 1, absent 2); Levine 2015 Table 3; max 12",
                "general_appearance": "normal",
                "max_score": 12,
                "respirations": "normal",
                "score": 0,
                "skin_pinch": "normal",
                "tears": "normal"
              }
            ],
            "path": "/api/calc/dhaka"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "general_appearance": {
                          "description": "Caller-assigned Levine 2015 Table 3 general appearance: normal (0), restless_irritable (2), or lethargic_unconscious (4). magent does not examine the child.",
                          "enum": [
                            "normal",
                            "restless_irritable",
                            "lethargic_unconscious"
                          ],
                          "type": "string"
                        },
                        "respirations": {
                          "description": "Caller-assigned Levine 2015 Table 3 respirations: normal (0) or deep (2). Table 3 has no very-deep cell. magent does not examine the child.",
                          "enum": [
                            "normal",
                            "deep"
                          ],
                          "type": "string"
                        },
                        "skin_pinch": {
                          "description": "Caller-assigned Levine 2015 Table 3 skin pinch: normal (0), slow (2), or very_slow (4). magent does not examine the child.",
                          "enum": [
                            "normal",
                            "slow",
                            "very_slow"
                          ],
                          "type": "string"
                        },
                        "tears": {
                          "description": "Caller-assigned Levine 2015 Table 3 tears: normal (0), decreased (1), or absent (2). magent does not examine the child.",
                          "enum": [
                            "normal",
                            "decreased",
                            "absent"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "general_appearance",
                        "respirations",
                        "skin_pinch",
                        "tears"
                      ],
                      "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": [
    "dhaka",
    "dehydration",
    "pediatric",
    "diarrhea",
    "emergency",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T02:41:46.255Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T02:41:45.719Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "general_appearance": "normal",
                  "respirations": "normal",
                  "skin_pinch": "normal",
                  "tears": "normal"
                },
                {
                  "general_appearance": "normal",
                  "respirations": "normal",
                  "skin_pinch": "normal",
                  "tears": "normal"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Levine AC, Glavis-Bloom J, Modi P, Nasrin S, Rege S, Chu C, Schmid CH, Alam NH",
                    "doi": "10.9745/GHSP-D-15-00097",
                    "id": "levine-2015",
                    "pmid": "26374802",
                    "source": "Glob Health Sci Pract. 2015;3(3):405-418",
                    "title": "Empirically Derived Dehydration Scoring and Decision Tree Models for Children With Diarrhea: Assessment and Internal Validation in a Prospective Cohort Study in Dhaka, Bangladesh"
                  },
                  "components": [
                    {
                      "factor": "general_appearance",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "respirations",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "skin_pinch",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "tears",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    }
                  ],
                  "dhaka_band": "no_dehydration",
                  "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": "dhaka",
                  "formula_expression": "DHAKA = general_appearance (normal 0, restless_irritable 2, lethargic_unconscious 4) + respirations (normal 0, deep 2) + skin_pinch (normal 0, slow 2, very_slow 4) + tears (normal 0, decreased 1, absent 2); Levine 2015 Table 3; max 12",
                  "general_appearance": "normal",
                  "max_score": 12,
                  "respirations": "normal",
                  "score": 0,
                  "skin_pinch": "normal",
                  "tears": "normal"
                },
                {
                  "citation": {
                    "authors": "Levine AC, Glavis-Bloom J, Modi P, Nasrin S, Rege S, Chu C, Schmid CH, Alam NH",
                    "doi": "10.9745/GHSP-D-15-00097",
                    "id": "levine-2015",
                    "pmid": "26374802",
                    "source": "Glob Health Sci Pract. 2015;3(3):405-418",
                    "title": "Empirically Derived Dehydration Scoring and Decision Tree Models for Children With Diarrhea: Assessment and Internal Validation in a Prospective Cohort Study in Dhaka, Bangladesh"
                  },
                  "components": [
                    {
                      "factor": "general_appearance",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "respirations",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "skin_pinch",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "tears",
                      "points": 0,
                      "present": true,
                      "value": "normal"
                    }
                  ],
                  "dhaka_band": "no_dehydration",
                  "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": "dhaka",
                  "formula_expression": "DHAKA = general_appearance (normal 0, restless_irritable 2, lethargic_unconscious 4) + respirations (normal 0, deep 2) + skin_pinch (normal 0, slow 2, very_slow 4) + tears (normal 0, decreased 1, absent 2); Levine 2015 Table 3; max 12",
                  "general_appearance": "normal",
                  "max_score": 12,
                  "respirations": "normal",
                  "score": 0,
                  "skin_pinch": "normal",
                  "tears": "normal"
                }
              ],
              "path": "/api/calc/dhaka"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "general_appearance": {
                            "description": "Caller-assigned Levine 2015 Table 3 general appearance: normal (0), restless_irritable (2), or lethargic_unconscious (4). magent does not examine the child.",
                            "enum": [
                              "normal",
                              "restless_irritable",
                              "lethargic_unconscious"
                            ],
                            "type": "string"
                          },
                          "respirations": {
                            "description": "Caller-assigned Levine 2015 Table 3 respirations: normal (0) or deep (2). Table 3 has no very-deep cell. magent does not examine the child.",
                            "enum": [
                              "normal",
                              "deep"
                            ],
                            "type": "string"
                          },
                          "skin_pinch": {
                            "description": "Caller-assigned Levine 2015 Table 3 skin pinch: normal (0), slow (2), or very_slow (4). magent does not examine the child.",
                            "enum": [
                              "normal",
                              "slow",
                              "very_slow"
                            ],
                            "type": "string"
                          },
                          "tears": {
                            "description": "Caller-assigned Levine 2015 Table 3 tears: normal (0), decreased (1), or absent (2). magent does not examine the child.",
                            "enum": [
                              "normal",
                              "decreased",
                              "absent"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "general_appearance",
                          "respirations",
                          "skin_pinch",
                          "tears"
                        ],
                        "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"
  }
}