// Numbas version: exam_results_page_options {"name": "Lois's copy of Nursing Question 3", "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)"}, "s": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "s", "definition": "random(1,2,5,10)"}, "j": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "j", "definition": "if(g,\"mcg\",\"mg\")"}, "h": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "h", "definition": "f<2"}, "c": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "c", "definition": "random(1,2)"}, "d": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "d", "definition": "random(1,2,5,10)"}, "m": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "m", "definition": "if(g,(b*d)/1000,b*d*1000)"}, "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)"}, "l": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "l", "definition": "g = h"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b", "definition": "random(10,15,20,25,30)"}, "g": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "g", "definition": "c<2"}}, "advice": "

In order to calculate the amount of drug, you need to use the following formula:

\n

Prescribed amount $\\times$ Weight.

\n

If 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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n

Dose →

\n

Prescribed ↓

\n
mgmcg
mg x1x1000
mcg÷1000 x1
", "preamble": {"css": "", "js": ""}, "tags": [], "parts": [{"steps": [{"customMarkingAlgorithm": "", "marks": 0, "unitTests": [], "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "information", "showFeedbackIcon": true, "variableReplacements": [], "showCorrectAnswer": true, "prompt": "

In order to calculate the amount of drug, you need to use the following formula:

\n

Prescribed amount $\\times$ Weight.

\n

If 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": "{ans}", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "numberentry", "showFeedbackIcon": true, "variableReplacements": [], "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "{ans}", "scripts": {}, "mustBeReduced": false, "correctAnswerStyle": "plain", "customName": "", "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "marks": 1, "unitTests": [], "displayAnswer": "{k}", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "patternmatch", "showFeedbackIcon": true, "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "matchMode": "regex", "answer": "{k}", "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 {k} does the patient require for each dose?

\n

[[0]][[1]]

\n

Put 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 Nursing Question 3", "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/"}]}