// Numbas version: exam_results_page_options {"name": "Nursing Question 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Nursing Question 2", "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "variables": {"g": {"name": "g", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "ceil((z)/c)"}, "wrong3": {"name": "wrong3", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(m='ml','tablets',\n if(m='ampoule','ml',\n if(m='mcl','ampoules',\n 'mcl')))"}, "z": {"name": "z", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "f/10"}, "h": {"name": "h", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "'ml'"}, "f": {"name": "f", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "a*b"}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random('single', 'daily')"}, "ans": {"name": "ans", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(d='daily', ceil((a*b)/10), ceil(((a*b)/10)/c))"}, "j": {"name": "j", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "'ampoule'"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(m='ml','mcl',\n if(m='ampoule','tablets',\n if(m='mcl','ml',\n 'ampoules')))"}, "units": {"name": "units", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(m='ml','ml',\n if(m='ampoule','ampoules',\n if(m='mcl','mcl',\n 'tablets')))"}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2,5,10)"}, "y": {"name": "y", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "z/c"}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(40,60,80,100)"}, "l": {"name": "l", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "'tablet'"}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2,4,5,10)"}, "m": {"name": "m", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(h,j,k,l)"}, "k": {"name": "k", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "'mcl'\n"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(m='ml','ampoules',\n if(m='ampoule','mcl',\n if(m='mcl','tablets',\n 'ml')))"}}, "tags": [], "variable_groups": [], "extensions": [], "advice": "

In order to calculate the amount of drug you need, we can use the following method:

\n

Amount of Drug $\\times$ Weight. -> $\\var{b}$mg$\\times \\var{a} = \\var{f}$mg

\n

As the dose comes in $10$mg per {m}, we need to divide $\\var{f}$ by $10$ to get $\\var{z}${units}.

\n

If the question then asks you for the single dose, you need to divide your answer by the number of doses given to the patient. -> $\\dfrac{\\var{z}}{\\var{c}} = \\var{y} = \\var{g}${units} (rounded up to the nearest whole number).

\n

Remember that you won't usually give the patient a decimal amount of drug so you may need to round your answer up to the nearest whole number.

\n

Also remember that the units given to the patient are always the units that the weight of drug comes in, which is always either ml, mcl, ampoules, or tablets.

", "parts": [{"sortAnswers": false, "useCustomName": false, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "scripts": {}, "customName": "", "gaps": [{"useCustomName": false, "minValue": "{ans}", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "scripts": {}, "customName": "", "correctAnswerFraction": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "unitTests": [], "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "type": "numberentry", "marks": "1", "mustBeReduced": false, "maxValue": "{ans}", "allowFractions": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": []}, {"choices": ["{units}", "{wrong1}", "{wrong2}", "{wrong3}"], "minMarks": 0, "useCustomName": false, "shuffleChoices": false, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "scripts": {}, "customName": "", "distractors": ["", "", "", ""], "displayColumns": 0, "displayType": "dropdownlist", "unitTests": [], "maxMarks": 0, "matrix": ["1", 0, 0, 0], "customMarkingAlgorithm": "", "type": "1_n_2", "marks": 0, "showCellAnswerState": true, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": []}], "unitTests": [], "customMarkingAlgorithm": "", "type": "gapfill", "marks": 0, "prompt": "

A patient, whose weight is $\\var{a}$kg, has been prescribed Drug X, $\\var{b}$mg/kg/day in $\\var{c}$ divided dose(s). The dose comes in $10$mg per {m}. Calculate the {d} dose given to the patient and the units that it is given in from the choices in the drop down list below.

\n

Give your answer to the nearest whole number.

\n

[[0]][[1]]

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": []}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Drug Calculation based on weight

"}, "rulesets": {}, "ungrouped_variables": ["a", "b", "c", "d", "ans", "f", "g", "h", "j", "k", "l", "m", "units", "wrong1", "wrong2", "wrong3", "z", "y"], "preamble": {"js": "", "css": ""}, "statement": "", "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}]}], "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}