// Numbas version: exam_results_page_options {"name": "Lois's copy of Lois's copy of Nursing Question 3 - mL", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"k": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "k", "definition": "if(h,\"mcg\",\"mg\")"}, "ans": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "ans", "definition": "if(l,b*d,m)"}, "a": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "a", "definition": "random(1,2,3,4,5,10,15)"}, "l": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "l", "definition": "g = h"}, "j": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "j", "definition": "if(g,\"mcg\",\"mg\")"}, "s": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "s", "definition": "random(1,2,5,10)"}, "c": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "c", "definition": "random(1,2)"}, "g": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "g", "definition": "c<2"}, "d": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "d", "definition": "random(1,2,5,10)"}, "t": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "t", "definition": "random(2,5, 10, 20, 50)"}, "f": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "f", "definition": "random(1,2)"}, "m": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "m", "definition": "if(g,(b*d)/1000,b*d*1000)"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b", "definition": "random(10,15,20,25,30)"}, "h": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "h", "definition": "f<2"}}, "advice": "
In order to calculate the amount of drug, you need to use the following formula:
\nPrescribed amount $\\times$ Weight.
\nIf the question then asks you for a dose that is in different units to what the prescribed amount is, you need to adjust accordingly by either multiplying or dividing by $1000$.
\n\n Dose → \nPrescribed ↓ \n | \nmg | \nmcg | \n
mg | \nx1 | \nx1000 | \n
mcg | \n÷1000 | \nx1 | \n
In order to calculate the amount of drug, you need to use the following formula:
\nPrescribed amount $\\times$ Weight.
\nIf the question then asks you for a dose that is in different units to what the prescribed amount is, you need to adjust accordingly by either multiplying or dividing by $1000$
", "scripts": {}, "customName": "", "extendBaseMarkingAlgorithm": true}], "customMarkingAlgorithm": "", "marks": 0, "unitTests": [], "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "gapfill", "showFeedbackIcon": true, "sortAnswers": false, "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"allowFractions": false, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "marks": "2", "unitTests": [], "showFractionHint": true, "minValue": "{s}*{ans}/{t}", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "numberentry", "showFeedbackIcon": true, "variableReplacements": [], "showCorrectAnswer": true, "notationStyles": ["plain", "si-en"], "mustBeReducedPC": 0, "maxValue": "{s}*{ans}/{t}", "scripts": {}, "mustBeReduced": false, "correctAnswerStyle": "plain", "customName": "", "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "marks": 1, "unitTests": [], "displayAnswer": "mL", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "patternmatch", "showFeedbackIcon": true, "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "matchMode": "regex", "answer": "mL", "customName": "", "extendBaseMarkingAlgorithm": true}], "prompt": "A patient who is $\\var{a}$ years old and weighs $\\var{b}$ kg has been prescribed $\\var{d}${j}/kg/dose of elixir X. The elixir is available as {t}{k} per {s}mL. How many mL does the patient require for each dose?
\n[[0]][[1]]
\nPut the number in the first box and the units in the second.
", "scripts": {}, "stepsPenalty": 0, "customName": "", "extendBaseMarkingAlgorithm": true}], "ungrouped_variables": ["a", "ans", "b", "d", "c", "f", "g", "h", "j", "k", "l", "m", "s", "t"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Drug Calculations
"}, "rulesets": {}, "statement": "Drug Calculations 3
", "variable_groups": [], "functions": {}, "extensions": [], "name": "Lois's copy of Lois's copy of Nursing Question 3 - mL", "type": "question", "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}]}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}