Difference between revisions of "MediaWiki:Gadget-calculator-drugDosage.js"
From WikiAnesthesia
Chris Rishel (talk | contribs) |
Chris Rishel (talk | contribs) |
||
| Line 2: | Line 2: | ||
var moduleId = 'drugDosages'; | var moduleId = 'drugDosages'; | ||
mw.calculators. | mw.calculators.addDrugCalculators( moduleId, { | ||
sedativeHypnotics: { | sedativeHypnotics: { | ||
name: 'Sedatives and hypnotics', | name: 'Sedatives and hypnotics', | ||
calculations: [ | calculations: [ | ||
' | 'propofol', | ||
' | 'etomidate', | ||
' | 'ketamine', | ||
' | 'midazolam', | ||
' | 'dexmedetomidine' | ||
] | ] | ||
}, | }, | ||
| Line 16: | Line 16: | ||
name: 'Opioids', | name: 'Opioids', | ||
calculations: [ | calculations: [ | ||
' | 'remifentanil', | ||
' | 'sufentanil' | ||
] | ] | ||
}, | }, | ||
| Line 23: | Line 23: | ||
name: 'Neuromuscular blockade', | name: 'Neuromuscular blockade', | ||
calculations: [ | calculations: [ | ||
' | 'rocuronium', | ||
' | 'vecuronium', | ||
' | 'succinylcholine', | ||
' | 'sugammadex', | ||
' | 'neostigmine', | ||
] | ] | ||
}, | }, | ||
| Line 33: | Line 33: | ||
name: 'Cardiovascular agonists', | name: 'Cardiovascular agonists', | ||
calculations: [ | calculations: [ | ||
' | 'phenylephrine', | ||
' | 'ephedrine' | ||
] | ] | ||
| Line 41: | Line 41: | ||
name: 'Postoperative nausea and vomiting', | name: 'Postoperative nausea and vomiting', | ||
calculations: [ | calculations: [ | ||
' | 'dexamethasone', | ||
' | 'ondansetron' | ||
] | ] | ||
| Line 49: | Line 49: | ||
name: 'Antibiotics', | name: 'Antibiotics', | ||
calculations: [ | calculations: [ | ||
' | 'cefazolin' | ||
] | ] | ||
} | } | ||
} | } ); | ||
}() ); | }() ); | ||
Revision as of 09:55, 15 August 2021
( function() {
var moduleId = 'drugDosages';
mw.calculators.addDrugCalculators( moduleId, {
sedativeHypnotics: {
name: 'Sedatives and hypnotics',
calculations: [
'propofol',
'etomidate',
'ketamine',
'midazolam',
'dexmedetomidine'
]
},
opioids: {
name: 'Opioids',
calculations: [
'remifentanil',
'sufentanil'
]
},
neuromuscularBlockers: {
name: 'Neuromuscular blockade',
calculations: [
'rocuronium',
'vecuronium',
'succinylcholine',
'sugammadex',
'neostigmine',
]
},
cardiovascularAgonists: {
name: 'Cardiovascular agonists',
calculations: [
'phenylephrine',
'ephedrine'
]
},
ponv: {
name: 'Postoperative nausea and vomiting',
calculations: [
'dexamethasone',
'ondansetron'
]
},
antibiotics: {
name: 'Antibiotics',
calculations: [
'cefazolin'
]
}
} );
}() );