{"id":124,"date":"2025-08-06T21:31:59","date_gmt":"2025-08-06T21:31:59","guid":{"rendered":"https:\/\/sahidawai.com\/?page_id=124"},"modified":"2025-08-06T21:31:59","modified_gmt":"2025-08-06T21:31:59","slug":"child-dose-calculator","status":"publish","type":"page","link":"https:\/\/sahidawai.com\/?page_id=124","title":{"rendered":"Child Dose Calculator"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n    <div style=\"max-width: 500px; margin: 20px auto; padding: 20px; border: 1px solid #ccc; border-radius: 10px; font-family: sans-serif;\">\n        <h3>Child Dose Calculator<\/h3>\n        <form method=\"post\">\n            <label>Choose a formula:<\/label><br>\n            <select name=\"formula\" required onchange=\"toggleInputs(this.value)\">\n                <option value=\"\">--Select--<\/option>\n                <option value=\"young\">Young's Formula<\/option>\n                <option value=\"dilling\">Dilling's Formula<\/option>\n                <option value=\"clark\">Clark's Formula<\/option>\n            <\/select><br><br>\n\n            <div id=\"ageInput\" style=\"display:none;\">\n                <label>Child's Age (in years):<\/label><br>\n                <input type=\"number\" name=\"age\" min=\"0\" step=\"0.1\"><br><br>\n            <\/div>\n\n            <div id=\"weightInput\" style=\"display:none;\">\n                <label>Child's Weight (in kg):<\/label><br>\n                <input type=\"number\" name=\"weight\" min=\"0\" step=\"0.1\"><br><br>\n            <\/div>\n\n            <label>Adult Dose (in mg or ml):<\/label><br>\n            <input type=\"number\" name=\"adult_dose\" min=\"0\" step=\"0.1\" required><br><br>\n\n            <input type=\"submit\" name=\"calculate\" value=\"Calculate Dose\">\n        <\/form>\n\n        <script>\n        function toggleInputs(formula) {\n            document.getElementById('ageInput').style.display = (formula === 'young' || formula === 'dilling') ? 'block' : 'none';\n            document.getElementById('weightInput').style.display = (formula === 'clark') ? 'block' : 'none';\n        }\n        <\/script>\n\n                <div style=\"margin-top: 20px; font-size: 0.9em; color: #555;\">\n            <strong>Disclaimer:<\/strong> This tool is for informational purposes only. Always consult a licensed medical professional before administering any medication.\n        <\/div>\n    <\/div>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-124","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sahidawai.com\/index.php?rest_route=\/wp\/v2\/pages\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sahidawai.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sahidawai.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sahidawai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sahidawai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":1,"href":"https:\/\/sahidawai.com\/index.php?rest_route=\/wp\/v2\/pages\/124\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/sahidawai.com\/index.php?rest_route=\/wp\/v2\/pages\/124\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/sahidawai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}