{
  "address": "29db81f3b2a592cc1113628031103100",
  "category": "other",
  "question": "What is the BMI and WHO category for a person weighing 70 kg at a height of 175 cm?",
  "answer": "BMI 22.9 (Normal weight)",
  "askedBy": {
    "kind": "guest",
    "display": "method deck",
    "stamped": false,
    "id": null
  },
  "answeredBy": "method",
  "madeAt": "2026-09-30T22:39:30.722Z",
  "validUntil": null,
  "validityClass": "forever",
  "sources": [
    {
      "label": "Exact pound and inch conversion factors",
      "url": null
    },
    {
      "label": "Body mass index - BMI",
      "url": "https://www.who.int/europe/news-room/fact-sheets/item/a-healthy-lifestyle---who-recommendations"
    }
  ],
  "supersedes": null,
  "supersededBy": null,
  "isSeed": false,
  "seedSource": null,
  "seedAttribution": null,
  "duplicateOfQid": null,
  "publishedAt": null,
  "unpublishedAt": null,
  "voteCount": 0,
  "queuedForSubstrate": false,
  "answerMethod": "method",
  "unsourced": false,
  "source": {
    "kind": "edition_page",
    "value": "International Yard and Pound Agreement, 1959",
    "retrieved_utc": "2026-09-30T19:00:00Z"
  },
  "qsha256": "9a6271630442dec1ea625d886331564dde0f0f60c8037b283e45a70cb840dd67",
  "runOne": null,
  "cardContractVersion": "card_contract/1",
  "deck_id": "method-deck",
  "deck_title": "Method Deck",
  "method": {
    "name": "BMI and WHO weight category",
    "version": "1",
    "source_url_or_file": "methods/bmi-and-category.cjs",
    "sha256_of_method_file": "b922d276e357dad1102ca02bb3684f001fb50b539697711b549a4a2d1c758db8"
  },
  "receipt": {
    "inSubstrate": false,
    "local": true,
    "modelCallsAtMint": 0,
    "tokensAtMint": 0
  },
  "method_deck": {
    "inputs": [
      {
        "name": "weight",
        "type": "number",
        "unit": "kg or lb",
        "required": true,
        "description": "Body weight",
        "min": 0
      },
      {
        "name": "weight_unit",
        "type": "string",
        "required": true,
        "description": "Unit of the weight value",
        "enum": [
          "kg",
          "lb"
        ]
      },
      {
        "name": "height",
        "type": "number",
        "unit": "cm or in",
        "required": true,
        "description": "Height",
        "min": 0
      },
      {
        "name": "height_unit",
        "type": "string",
        "required": true,
        "description": "Unit of the height value",
        "enum": [
          "cm",
          "in"
        ]
      }
    ],
    "outputs": [
      {
        "name": "bmi",
        "unit": "kg/m^2",
        "description": "Body mass index"
      },
      {
        "name": "category",
        "unit": null,
        "description": "WHO adult weight category"
      }
    ],
    "steps": [
      "Convert weight to kilograms: kg = lb * 0.45359237 if given in pounds.",
      "Convert height to meters: first cm = in * 2.54 if given in inches, then m = cm / 100.",
      "bmi = weight_kg / (height_m ^ 2), rounded to 1 decimal.",
      "Category from the WHO adult thresholds: underweight below 18.5, normal weight 18.5 to below 25, overweight 25 to below 30, obese 30 and above."
    ],
    "constants": [
      {
        "name": "lb_to_kg",
        "value": 0.45359237,
        "unit": "kg per lb",
        "source": 0
      },
      {
        "name": "in_to_cm",
        "value": 2.54,
        "unit": "cm per in",
        "source": 0
      },
      {
        "name": "underweight_upper",
        "value": 18.5,
        "unit": "kg/m^2",
        "source": 1
      },
      {
        "name": "normal_upper",
        "value": 25,
        "unit": "kg/m^2",
        "source": 1
      },
      {
        "name": "overweight_upper",
        "value": 30,
        "unit": "kg/m^2",
        "source": 1
      }
    ],
    "examples": [
      {
        "name": "worked example",
        "inputs": {
          "weight": 70,
          "weight_unit": "kg",
          "height": 175,
          "height_unit": "cm"
        },
        "expected": {
          "answer": "BMI 22.9 (Normal weight)"
        },
        "check": "70 / (1.75^2) = 70 / 3.0625 = 22.857..., rounds to 22.9, which is within WHO 18.5-24.9 normal range."
      },
      {
        "name": "test vector: imperial units, obese range",
        "inputs": {
          "weight": 220,
          "weight_unit": "lb",
          "height": 66,
          "height_unit": "in"
        },
        "expected": {
          "answer": "BMI 35.5 (Obese)"
        },
        "check": "220 lb * 0.45359237 = 99.7903 kg; 66 in * 2.54 = 167.64 cm = 1.6764 m; 99.7903 / 1.6764^2 = 99.7903 / 2.81032 = 35.5074, rounds to 35.5, which is >= 30 (Obese)."
      }
    ],
    "disclaimer": "General formula only. Not medical advice. Dosing decisions belong to a licensed clinician and the product's label.",
    "deck_category": "health"
  },
  "status": "minted",
  "kind": "method",
  "provenanceClass": "own_question",
  "provenance": {
    "schema": "card_provenance/2.0.0",
    "chain": [
      {
        "source": {
          "kind": "edition_page",
          "value": "International Yard and Pound Agreement, 1959",
          "retrieved_utc": "2026-09-30T19:00:00Z"
        },
        "sha256": "3c7e4fe78c6f11dc15f276e040f33c8af5f1b5c7ed84f734a0d4a4a9479e4900",
        "supersedes": null,
        "added_utc": "2026-09-30T22:39:30.722Z",
        "added_by": "method:BMI and WHO weight category",
        "why": "the method that computed this answer",
        "check": null,
        "status_label": "pending",
        "signature": null
      }
    ]
  }
}
