{
  "address": "5b69178cc705cfdb915828716cfe2c6a",
  "category": "other",
  "question": "Using this general formula, for a 20 kg child at 30 mg/kg/day divided into 3 doses per day, what is the amount per dose?",
  "answer": "200.00 mg per dose",
  "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": "General pediatric dosing-by-weight-and-frequency method",
      "url": null
    }
  ],
  "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": "Standard pediatric weight-based dosing arithmetic (total daily dose = weight x mg/kg/day, then divided evenly across the number of daily doses)",
    "retrieved_utc": "2026-09-30T19:30:00Z"
  },
  "qsha256": "d8596e638bd930dd1ef12baac8c3be843654f074c255da022aae31e81ef84328",
  "runOne": null,
  "cardContractVersion": "card_contract/1",
  "deck_id": "method-deck",
  "deck_title": "Method Deck",
  "method": {
    "name": "Pediatric per-dose amount from mg/kg/day divided",
    "version": "1",
    "source_url_or_file": "methods/pediatric-dose-per-kg-per-day-divided.cjs",
    "sha256_of_method_file": "762cafa1353b1c3dfacfe150f1c3441e29e6b8f5fea088c694e9f4cf601d45be"
  },
  "receipt": {
    "inSubstrate": false,
    "local": true,
    "modelCallsAtMint": 0,
    "tokensAtMint": 0
  },
  "method_deck": {
    "inputs": [
      {
        "name": "weight_kg",
        "type": "number",
        "unit": "kg",
        "required": true,
        "description": "Body weight in kilograms",
        "min": 0
      },
      {
        "name": "mg_per_kg_per_day",
        "type": "number",
        "unit": "mg/kg/day",
        "required": true,
        "description": "Total daily dose per kilogram of body weight",
        "min": 0
      },
      {
        "name": "doses_per_day",
        "type": "integer",
        "required": true,
        "description": "Number of equally divided doses given per day",
        "min": 1
      }
    ],
    "outputs": [
      {
        "name": "daily_total_mg",
        "unit": "mg",
        "description": "Total daily dose"
      },
      {
        "name": "per_dose_mg",
        "unit": "mg",
        "description": "Amount per individual dose"
      }
    ],
    "steps": [
      "daily_total_mg = weight_kg * mg_per_kg_per_day.",
      "per_dose_mg = daily_total_mg / doses_per_day.",
      "Round both results to 2 decimal places."
    ],
    "constants": [],
    "examples": [
      {
        "name": "worked example",
        "inputs": {
          "weight_kg": 20,
          "mg_per_kg_per_day": 30,
          "doses_per_day": 3
        },
        "expected": {
          "answer": "200.00 mg per dose"
        },
        "check": "20 * 30 = 600 mg/day total; 600 / 3 = 200.00 mg per dose."
      },
      {
        "name": "test vector: non-integer split",
        "inputs": {
          "weight_kg": 15,
          "mg_per_kg_per_day": 40,
          "doses_per_day": 4
        },
        "expected": {
          "answer": "150.00 mg per dose"
        },
        "check": "15 * 40 = 600 mg/day total; 600 / 4 = 150.00 mg per dose."
      }
    ],
    "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": "Standard pediatric weight-based dosing arithmetic (total daily dose = weight x mg/kg/day, then divided evenly across the number of daily doses)",
          "retrieved_utc": "2026-09-30T19:30:00Z"
        },
        "sha256": "3e2af84c52e8b0121bbcfb9631bd2ae0e1ad476b398a93aa744093ce8e748809",
        "supersedes": null,
        "added_utc": "2026-09-30T22:39:30.722Z",
        "added_by": "method:Pediatric per-dose amount from mg/kg/day divided",
        "why": "the method that computed this answer",
        "check": null,
        "status_label": "pending",
        "signature": null
      }
    ]
  }
}
