Difference between revisions of "MediaWiki:Gadget-calculator-drugs-data.js"
From WikiAnesthesia
Chris Rishel (talk | contribs) |
Chris Rishel (talk | contribs) |
||
Line 350: | Line 350: | ||
} ); | } ); | ||
/** | /** | ||
* Etomidate | * Etomidate | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
etomidate: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Etomidate', | name: 'Etomidate', | ||
color: 'sedativeHypnotic' | color: 'sedativeHypnotic', | ||
dosages: [ | |||
{ | |||
indication: 'generalAnesthesia', | |||
population: 'general', | |||
dose: { | |||
min: '0.2 mg/kg', | |||
max: '0.6 mg/kg', | |||
weightCalculation: 'lbw' | |||
} | |||
} | |||
], | |||
preparations: [ | |||
{ | |||
concentration: '2 mg/mL' | |||
} | |||
] | |||
} | |||
} | } | ||
} ); | |||
Line 388: | Line 384: | ||
* Ketamine | * Ketamine | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
ketamine: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Ketamine', | name: 'Ketamine', | ||
color: 'sedativeHypnotic' | color: 'sedativeHypnotic', | ||
dosages: [ | |||
{ | |||
indication: 'generalAnesthesia', | |||
population: 'general', | |||
dose: { | |||
min: '1 mg/kg', | |||
max: '2 mg/kg', | |||
weightCalculation: 'lbw' | |||
} | |||
}, { | |||
indication: 'generalAnesthesia', | |||
population: 'general', | |||
route: 'im', | |||
dose: { | |||
min: '4 mg/kg', | |||
max: '6 mg/kg' | |||
} | |||
} | |||
], preparations: [ | |||
{ | |||
concentration: '10 mg/mL' | |||
}, { | |||
concentration: '50 mg/mL' | |||
}, { | |||
concentration: '100 mg/mL' | |||
} | |||
] | |||
} | } | ||
} ); | |||
Line 433: | Line 424: | ||
* Lidocaine | * Lidocaine | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
lidocaine: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Lidocaine', | name: 'Lidocaine', | ||
color: 'localAnesthetic' | color: 'localAnesthetic', | ||
dosages: [], | |||
preparations: [ | |||
{ | |||
concentration: '1 pct' | |||
}, { | |||
concentration: '2 pct' | |||
} | |||
] | |||
} | } | ||
} ); | |||
Line 456: | Line 445: | ||
* Midazolam | * Midazolam | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
midazolam: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Midazolam', | name: 'Midazolam', | ||
color: 'benzodiazepine' | color: 'benzodiazepine', | ||
dosages: [ | |||
{ | |||
indication: 'anxiolysis', | |||
population: 'general', | |||
dose: { | |||
min: '0.01 mg/kg', | |||
max: '0.03 mg/kg' | |||
} | |||
}, { | |||
indication: 'anxiolysis', | |||
population: 'general', | |||
route: 'im', | |||
dose: { | |||
min: '0.07 mg/kg', | |||
max: '0.08 mg/kg' | |||
} | |||
}, { | |||
indication: 'anxiolysis', | |||
population: 'general', | |||
route: 'po', | |||
dose: { | |||
dose: '0.5 mg/kg', | |||
absoluteMax: '20 mg' | |||
} | |||
}, { | |||
indication: 'generalAnesthesia', | |||
population: 'general', | |||
dose: { | |||
min: '0.1 mg/kg', | |||
max: '0.3 mg/kg', | |||
weightCalculation: 'lbw' | |||
} | |||
} | |||
], | |||
preparations: [ | |||
{ | |||
concentration: '1 mg/mL' | |||
}, { | |||
concentration: '5 mg/mL' | |||
} | |||
] | |||
} | } | ||
} ); | |||
Line 514: | Line 499: | ||
* Neostigmine | * Neostigmine | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
neostigmine: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Neostigmine', | name: 'Neostigmine', | ||
color: 'neuromuscularBlockerReversal' | color: 'neuromuscularBlockerReversal', | ||
dosages: [ | |||
{ | |||
indication: 'neuromuscularBlockadeReversal', | |||
population: 'general', | |||
dose: { | |||
min: '0.03 mg/kg', | |||
max: '0.07 mg/kg', | |||
absoluteMax: '5 mg' | |||
}, | |||
description: 'For each 1 mg of neostigmine, give 0.2 mg of glycopyrrolate to avoid bradycardia' | |||
} | |||
], | |||
preparations: [ | |||
{ | |||
concentration: '0.5 mg/mL' | |||
}, { | |||
concentration: '1 mg/mL' | |||
} | |||
] | |||
} | } | ||
} ); | |||
Line 550: | Line 531: | ||
* Ondansetron | * Ondansetron | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
ondansetron: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Ondansetron' | name: 'Ondansetron', | ||
dosages: [ | |||
{ | |||
indication: 'ponv', | |||
population: 'general', | |||
dose: { | |||
dose: '4 mg' | |||
} | |||
}, { | |||
indication: 'ponv', | |||
population: 'pediatric', | |||
dose: { | |||
dose: '0.1 mg/kg', | |||
absoluteMax: '4 mg' | |||
} | |||
} | |||
], | |||
preparations: [ | |||
{ | |||
concentration: '2 mg/mL' | |||
} | |||
] | |||
} | |||
} | } | ||
} ); | |||
Line 589: | Line 566: | ||
drugId = 'phenylephrine'; | drugId = 'phenylephrine'; | ||
mw.calculators.addDrugs( | mw.calculators.addDrugs( { | ||
{ | phenylephrine: { | ||
id: drugId, | id: drugId, | ||
name: 'Phenylephrine', | name: 'Phenylephrine', | ||
color: 'cardiovascularAgonist | color: 'cardiovascularAgonist', | ||
dosages: [ | |||
{ | { | ||
name: 'Bolus', | indication: 'hypotension', | ||
population: 'general', | |||
dose: [ | |||
{ | |||
name: 'Bolus', | |||
min: '1 mcg/kg', | |||
max: '2 mcg/kg' | |||
}, { | |||
name: 'Infusion', | |||
min: '0.25 mcg/kg/min', | |||
max: '1 mcg/kg/min' | |||
} | |||
] | |||
}, { | }, { | ||
name: 'Infusion', | indication: 'hypotension', | ||
population: 'pediatric', | |||
dose: [ | |||
{ | |||
name: 'Bolus', | |||
min: '0.5 mcg/kg', | |||
max: '1 mcg/kg' | |||
}, { | |||
name: 'Infusion', | |||
min: '0.1 mcg/kg/min', | |||
max: '0.5 mcg/kg/min' | |||
} | |||
] | |||
} | } | ||
] | ], | ||
preparations: [ | |||
{ | { | ||
concentration: '10 mcg/mL' | |||
}, { | }, { | ||
concentration: '100 mcg/mL', | |||
default: true | |||
}, { | |||
concentration: '160 mcg/mL' | |||
}, { | |||
concentration: '10 mg/mL', | |||
dilutionRequired: true | |||
} | } | ||
] | ] | ||
} | } | ||
} ); | |||
Line 648: | Line 623: | ||
* Propofol | * Propofol | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
propofol: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Propofol', | name: 'Propofol', | ||
color: 'sedativeHypnotic | color: 'sedativeHypnotic', | ||
dosages: [ | |||
{ | { | ||
name: 'Induction', | indication: 'generalAnesthesia', | ||
population: 'general', | |||
dose: [ | |||
{ | |||
name: 'Induction', | |||
min: '1 mg/kg', | |||
max: '2.5 mg/kg', | |||
weightCalculation: 'lbw' | |||
}, { | |||
name: 'Maintenance', | |||
min: '100 mcg/kg/min', | |||
max: '200 mcg/kg/min' | |||
} | |||
] | |||
}, { | }, { | ||
name: 'Maintenance', | indication: 'generalAnesthesia', | ||
population: 'pediatric', | |||
dose: [ | |||
{ | |||
name: 'Induction', | |||
min: '2.5 mg/kg', | |||
max: '3.5 mg/kg', | |||
weightCalculation: 'lbw' | |||
}, { | |||
name: 'Maintenance', | |||
min: '125 mcg/kg/min', | |||
max: '300 mcg/kg/min' | |||
} | |||
] | |||
}, { | |||
indication: 'generalAnesthesia', | |||
population: 'geriatric', | |||
dose: [ | |||
{ | |||
name: 'Induction', | |||
min: '1 mg/kg', | |||
max: '1.5 mg/kg', | |||
weightCalculation: 'lbw' | |||
}, { | |||
name: 'Maintenance', | |||
min: '50 mcg/kg/min', | |||
max: '100 mcg/kg/min' | |||
} | |||
] | |||
}, { | }, { | ||
indication: 'mac', | |||
min: ' | population: 'general', | ||
dose: { | |||
min: '25 mcg/kg/min', | |||
max: '75 mcg/kg/min' | |||
} | |||
} | } | ||
] | ], | ||
preparations: [ | |||
{ | { | ||
concentration: '10 mg/mL' | |||
} | } | ||
] | ] | ||
} | } | ||
} ); | |||
Line 727: | Line 698: | ||
drugId = 'remifentanil'; | drugId = 'remifentanil'; | ||
mw.calculators.addDrugs( | mw.calculators.addDrugs( { | ||
{ | remifentanil: { | ||
id: drugId, | id: drugId, | ||
name: 'Remifentanil', | name: 'Remifentanil', | ||
color: 'opioid' | color: 'opioid', | ||
dosages: [ | |||
{ | |||
indication: 'tiva', | |||
population: 'general', | |||
dose: [ | |||
{ | |||
name: 'Load', | |||
min: '1 mcg/kg', | |||
max: '2 mcg/kg', | |||
weightCalculation: 'lbw' | |||
}, { | |||
name: 'Maintenance', | |||
min: '0.1 mcg/kg/min', | |||
max: '1 mcg/kg/min' | |||
} | |||
] | |||
} | |||
], | |||
preparations: [ | |||
{ | { | ||
concentration: '50 mcg/mL' | |||
}, { | }, { | ||
concentration: '1 mg/vial', | |||
dilutionRequired: true | |||
}, { | |||
concentration: '2 mg/vial', | |||
dilutionRequired: true | |||
} | } | ||
] | ] | ||
} | } | ||
} ); | |||
Line 771: | Line 740: | ||
* Rocuronium | * Rocuronium | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
rocuronium: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Rocuronium', | name: 'Rocuronium', | ||
color: 'neuromuscularBlocker' | color: 'neuromuscularBlocker', | ||
dosages: [ | |||
{ | |||
indication: 'neuromuscularBlockade', | |||
population: 'general', | |||
dose: [ | |||
{ | |||
name: 'Standard', | |||
dose: '0.6 mg/kg' | |||
}, { | |||
name: 'Rapid sequence', | |||
dose: '1.2 mg/kg' | |||
} | |||
] | |||
} | |||
], | |||
preparations: [ | |||
{ | { | ||
concentration: '10 mg/mL' | |||
} | } | ||
] | ] | ||
} | } | ||
} ); | |||
Line 808: | Line 773: | ||
* Succinylcholine | * Succinylcholine | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
succinylcholine: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Succinylcholine', | name: 'Succinylcholine', | ||
color: 'succinylcholine' | color: 'succinylcholine', | ||
dosages: [ | |||
{ | |||
indication: 'neuromuscularBlockade', | |||
population: 'general', | |||
dose: { | |||
min: '1 mg/kg', | |||
max: '1.5 mg/kg' | |||
} | |||
}, { | |||
indication: 'neuromuscularBlockade', | |||
population: 'general', | |||
route: 'im', | |||
dose: { | |||
min: '3 mg/kg', | |||
max: '5 mg/kg' | |||
} | |||
} | |||
], | |||
preparations: [ | |||
{ | |||
concentration: '20 mg/mL' | |||
}, { | |||
concentration: '100 mg/mL' | |||
} | |||
] | |||
} | } | ||
} ); | |||
Line 852: | Line 813: | ||
drugId = 'sufentanil'; | drugId = 'sufentanil'; | ||
mw.calculators.addDrugs( | mw.calculators.addDrugs( { | ||
{ | sufentanil: { | ||
id: drugId, | id: drugId, | ||
name: 'Sufentanil', | name: 'Sufentanil', | ||
color: 'opioid' | color: 'opioid', | ||
dosages: [ | |||
{ | |||
indication: 'tiva', | |||
population: 'general', | |||
dose: [ | |||
{ | |||
name: 'Load', | |||
min: '0.25 mcg/kg', | |||
max: '2 mcg/kg', | |||
weightCalculation: 'lbw' | |||
}, { | |||
name: 'Maintenance', | |||
min: '0.5 mcg/kg/hr', | |||
max: '1.5 mcg/kg/hr' | |||
} | |||
] | |||
} | |||
], | |||
preparations: [ | |||
{ | |||
concentration: '5 mcg/mL' | |||
}, | |||
{ | { | ||
concentration: '50 mcg/mL' | |||
} | } | ||
] | ] | ||
} | } | ||
} ); | |||
Line 893: | Line 852: | ||
* Sugammadex | * Sugammadex | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
sugammadex: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Sugammadex', | name: 'Sugammadex', | ||
color: 'neuromuscularBlockerReversal' | color: 'neuromuscularBlockerReversal', | ||
dosages: [ | |||
{ | |||
indication: 'neuromuscularBlockadeReversal', | |||
population: 'general', | |||
dose: { | |||
min: '2 mg/kg', | |||
max: '16 mg/kg' | |||
} | |||
} | |||
], | |||
preparations: [ | |||
{ | |||
concentration: '100 mg/mL' | |||
} | |||
] | |||
} | } | ||
} ); | |||
Line 925: | Line 880: | ||
* Vecuronium | * Vecuronium | ||
*/ | */ | ||
mw.calculators.addDrugs( { | |||
vecuronium: { | |||
mw.calculators.addDrugs( | |||
{ | |||
id: drugId, | id: drugId, | ||
name: 'Vecuronium', | name: 'Vecuronium', | ||
color: 'neuromuscularBlocker' | color: 'neuromuscularBlocker', | ||
dosages: [ | |||
{ | |||
indication: 'neuromuscularBlockade', | |||
population: 'general', | |||
dose: [ | |||
{ | |||
name: 'Standard', | |||
dose: '0.1 mg/kg' | |||
}, { | |||
name: 'Rapid sequence', | |||
dose: '1.2 mg/kg' | |||
} | |||
] | |||
} | |||
], | |||
preparations: [ | |||
{ | { | ||
concentration: '10 mg/vial' | |||
} | } | ||
] | ] | ||
} | } | ||
} ); | |||
}() ); | }() ); |
Revision as of 18:41, 19 August 2021
/** * @author Chris Rishel */ ( function() { /** * DrugColor data */ mw.calculators.addDrugColors( { anticholinergic: { primaryColor: '#00ac8c' }, benzodiazepine: { primaryColor: '#ff6c2f' }, benzodiazepineReversal: { parentColor: 'benzodiazepine', striped: true }, cardiovascularAgonist: { primaryColor: '#ba93df' }, cardiovascularAntagonist: { parentColor: 'cardiovascularAgonist', striped: true }, default: { primaryColor: '#fff', highlightColor: '#fff' }, desflurane: { primaryColor: '#0ab8fd' }, enflurane: { primaryColor: '#f58733' }, epinephrine: { parentColor: 'cardiovascularAntagonist', highlightColor: '#000' }, halothane: { primaryColor: '#b20107' }, isoflurane: { primaryColor: '#ca7fc0' }, localAnesthetic: { primaryColor: '#dad9d6' }, neuromuscularBlocker: { primaryColor: '#fe5442' }, neuromuscularBlockerReversal: { parentColor: 'neuromuscularBlocker', striped: true }, nitrousOxide: { primaryColor: '#2d549f' }, opioid: { primaryColor: '#6cd1ef' }, opioidReversal: { parentColor: 'opioid', striped: true }, sedativeHypnotic: { primaryColor: '#ffe800' }, sevoflurane: { primaryColor: '#f8da00' }, succinylcholine: { parentColor: 'neuromuscularBlocker', highlightColor: '#000' } } ); /** * DrugPopulation data */ mw.calculators.addDrugPopulations( { general: { name: 'General', }, general120kg: { name: 'General (≥120kg)', abbreviation: '≥120kg', variables: { weight: { min: '120 kgwt' } } }, neonatal: { name: 'Neonatal', variables: { age: { max: '0 yo' } } }, pediatric: { name: 'Pediatric', variables: { age: { min: '0 yo', max: '17.9 yo' } } }, geriatric: { name: 'Geriatric', variables: { age: { min: '65 yo' } } } } ); /** * DrugRoute data */ mw.calculators.addDrugRoutes( { iv: { name: 'Intravenous', abbreviation: 'IV', default: true }, im: { name: 'Intramuscular', abbreviation: 'IM' }, po: { name: 'Oral', abbreviation: 'PO' } } ); /** * DrugIndication data */ mw.calculators.addDrugIndications( { abxProphylaxis: { name: 'Antimicrobial prophylaxis', abbreviation: 'Abx.' }, anxiolysis: { name: 'Anxiolysis', abbreviation: 'Anxiety' }, generalAnesthesia: { name: 'General anesthesia', abbreviation: 'GA' }, hypotension: { name: 'Hypotension', abbreviation: 'Hypoten.' }, neuromuscularBlockade: { name: 'Neuromuscular blockade', abbreviation: 'NMB' }, neuromuscularBlockadeReversal: { name: 'Neuromuscular blockade reversal', abbreviation: 'NMB reversal' }, mac: { name: 'Monitored anesthesia care', abbreviation: 'MAC' }, ponv: { name: 'Postoperative nausea & vomiting', abbreviation: 'PONV' }, tiva: { name: 'Total intravenous anesthesia', abbreviation: 'TIVA' } } ); /** * Drug data */ /** * Cefazolin */ mw.calculators.addDrugs( { cefazolin: { name: 'Cefazolin', dosages: [ { indication: 'abxProphylaxis', population: 'general', dose: { dose: '2 g', frequency: 'q4h' } }, { indication: 'abxProphylaxis', population: 'general120kg', dose: { dose: '3 g', frequency: 'q4h' } }, { indication: 'abxProphylaxis', population: 'pediatric', dose: { dose: '30 mg/kg', frequency: 'q4h' } } ], preparations: [ { concentration: '1 g/vial' } ] } } ); /** * Dexmedetomidine */ mw.calculators.addDrugs( { dexmedetomidine: { name: 'Dexmedetomidine', color: 'sedativeHypnotic', dosages: [ { indication: 'mac', population: 'general', dose: [ { name: 'Load', dose: '1 mcg/kg', duration: '10 min' }, { name: 'Maintenance', min: '0.2 mcg/kg/hr', max: '1 mcg/kg/hr' } ] } ], preparations: [ { concentration: '4 mcg/mL' }, { concentration: '100 mcg/mL', dilutionRequired: true } ] } } ); /** * Dexamethasone */ mw.calculators.addDrugs( [ { id: 'dexamethasone', name: 'Dexamethasone', dosages: [ { indication: 'ponv', population: 'general', dose: { min: '4 mg', max: '8 mg' } }, { indication: 'ponv', population: 'pediatric', dose: { dose: '0.1 mg/kg', absoluteMax: '10 mg' } } ], preparations: [ { concentration: '2 mg/mL' } ] } ] ); /** * Ephedrine */ drugId = 'ephedrine'; mw.calculators.addDrugs( { ephedrine: { id: drugId, name: 'Ephedrine', color: 'cardiovascularAgonist', dosages: [ { indication: 'hypotension', population: 'general', dose: { min: '2.5 mg', max: '25 mg' } }, { indication: 'hypotension', population: 'general', route: 'im', dose: { min: '25 mg', max: '50 mg' } }, { indication: 'hypotension', population: 'pediatric', dose: { min: '0.02 mg/kg', max: '0.2 mg/kg' } } ], preparations: [ { concentration: '5 mg/mL' }, { concentration: '50 mg/mL' } ] } } ); /** * Etomidate */ mw.calculators.addDrugs( { etomidate: { id: drugId, name: 'Etomidate', color: 'sedativeHypnotic', dosages: [ { indication: 'generalAnesthesia', population: 'general', dose: { min: '0.2 mg/kg', max: '0.6 mg/kg', weightCalculation: 'lbw' } } ], preparations: [ { concentration: '2 mg/mL' } ] } } ); /** * Ketamine */ mw.calculators.addDrugs( { ketamine: { id: drugId, name: 'Ketamine', color: 'sedativeHypnotic', dosages: [ { indication: 'generalAnesthesia', population: 'general', dose: { min: '1 mg/kg', max: '2 mg/kg', weightCalculation: 'lbw' } }, { indication: 'generalAnesthesia', population: 'general', route: 'im', dose: { min: '4 mg/kg', max: '6 mg/kg' } } ], preparations: [ { concentration: '10 mg/mL' }, { concentration: '50 mg/mL' }, { concentration: '100 mg/mL' } ] } } ); /** * Lidocaine */ mw.calculators.addDrugs( { lidocaine: { id: drugId, name: 'Lidocaine', color: 'localAnesthetic', dosages: [], preparations: [ { concentration: '1 pct' }, { concentration: '2 pct' } ] } } ); /** * Midazolam */ mw.calculators.addDrugs( { midazolam: { id: drugId, name: 'Midazolam', color: 'benzodiazepine', dosages: [ { indication: 'anxiolysis', population: 'general', dose: { min: '0.01 mg/kg', max: '0.03 mg/kg' } }, { indication: 'anxiolysis', population: 'general', route: 'im', dose: { min: '0.07 mg/kg', max: '0.08 mg/kg' } }, { indication: 'anxiolysis', population: 'general', route: 'po', dose: { dose: '0.5 mg/kg', absoluteMax: '20 mg' } }, { indication: 'generalAnesthesia', population: 'general', dose: { min: '0.1 mg/kg', max: '0.3 mg/kg', weightCalculation: 'lbw' } } ], preparations: [ { concentration: '1 mg/mL' }, { concentration: '5 mg/mL' } ] } } ); /** * Neostigmine */ mw.calculators.addDrugs( { neostigmine: { id: drugId, name: 'Neostigmine', color: 'neuromuscularBlockerReversal', dosages: [ { indication: 'neuromuscularBlockadeReversal', population: 'general', dose: { min: '0.03 mg/kg', max: '0.07 mg/kg', absoluteMax: '5 mg' }, description: 'For each 1 mg of neostigmine, give 0.2 mg of glycopyrrolate to avoid bradycardia' } ], preparations: [ { concentration: '0.5 mg/mL' }, { concentration: '1 mg/mL' } ] } } ); /** * Ondansetron */ mw.calculators.addDrugs( { ondansetron: { id: drugId, name: 'Ondansetron', dosages: [ { indication: 'ponv', population: 'general', dose: { dose: '4 mg' } }, { indication: 'ponv', population: 'pediatric', dose: { dose: '0.1 mg/kg', absoluteMax: '4 mg' } } ], preparations: [ { concentration: '2 mg/mL' } ] } } ); /** * Phenylephrine */ drugId = 'phenylephrine'; mw.calculators.addDrugs( { phenylephrine: { id: drugId, name: 'Phenylephrine', color: 'cardiovascularAgonist', dosages: [ { indication: 'hypotension', population: 'general', dose: [ { name: 'Bolus', min: '1 mcg/kg', max: '2 mcg/kg' }, { name: 'Infusion', min: '0.25 mcg/kg/min', max: '1 mcg/kg/min' } ] }, { indication: 'hypotension', population: 'pediatric', dose: [ { name: 'Bolus', min: '0.5 mcg/kg', max: '1 mcg/kg' }, { name: 'Infusion', min: '0.1 mcg/kg/min', max: '0.5 mcg/kg/min' } ] } ], preparations: [ { concentration: '10 mcg/mL' }, { concentration: '100 mcg/mL', default: true }, { concentration: '160 mcg/mL' }, { concentration: '10 mg/mL', dilutionRequired: true } ] } } ); /** * Propofol */ mw.calculators.addDrugs( { propofol: { id: drugId, name: 'Propofol', color: 'sedativeHypnotic', dosages: [ { indication: 'generalAnesthesia', population: 'general', dose: [ { name: 'Induction', min: '1 mg/kg', max: '2.5 mg/kg', weightCalculation: 'lbw' }, { name: 'Maintenance', min: '100 mcg/kg/min', max: '200 mcg/kg/min' } ] }, { indication: 'generalAnesthesia', population: 'pediatric', dose: [ { name: 'Induction', min: '2.5 mg/kg', max: '3.5 mg/kg', weightCalculation: 'lbw' }, { name: 'Maintenance', min: '125 mcg/kg/min', max: '300 mcg/kg/min' } ] }, { indication: 'generalAnesthesia', population: 'geriatric', dose: [ { name: 'Induction', min: '1 mg/kg', max: '1.5 mg/kg', weightCalculation: 'lbw' }, { name: 'Maintenance', min: '50 mcg/kg/min', max: '100 mcg/kg/min' } ] }, { indication: 'mac', population: 'general', dose: { min: '25 mcg/kg/min', max: '75 mcg/kg/min' } } ], preparations: [ { concentration: '10 mg/mL' } ] } } ); /** * Remifentanil */ drugId = 'remifentanil'; mw.calculators.addDrugs( { remifentanil: { id: drugId, name: 'Remifentanil', color: 'opioid', dosages: [ { indication: 'tiva', population: 'general', dose: [ { name: 'Load', min: '1 mcg/kg', max: '2 mcg/kg', weightCalculation: 'lbw' }, { name: 'Maintenance', min: '0.1 mcg/kg/min', max: '1 mcg/kg/min' } ] } ], preparations: [ { concentration: '50 mcg/mL' }, { concentration: '1 mg/vial', dilutionRequired: true }, { concentration: '2 mg/vial', dilutionRequired: true } ] } } ); /** * Rocuronium */ mw.calculators.addDrugs( { rocuronium: { id: drugId, name: 'Rocuronium', color: 'neuromuscularBlocker', dosages: [ { indication: 'neuromuscularBlockade', population: 'general', dose: [ { name: 'Standard', dose: '0.6 mg/kg' }, { name: 'Rapid sequence', dose: '1.2 mg/kg' } ] } ], preparations: [ { concentration: '10 mg/mL' } ] } } ); /** * Succinylcholine */ mw.calculators.addDrugs( { succinylcholine: { id: drugId, name: 'Succinylcholine', color: 'succinylcholine', dosages: [ { indication: 'neuromuscularBlockade', population: 'general', dose: { min: '1 mg/kg', max: '1.5 mg/kg' } }, { indication: 'neuromuscularBlockade', population: 'general', route: 'im', dose: { min: '3 mg/kg', max: '5 mg/kg' } } ], preparations: [ { concentration: '20 mg/mL' }, { concentration: '100 mg/mL' } ] } } ); /** * Sufentanil */ drugId = 'sufentanil'; mw.calculators.addDrugs( { sufentanil: { id: drugId, name: 'Sufentanil', color: 'opioid', dosages: [ { indication: 'tiva', population: 'general', dose: [ { name: 'Load', min: '0.25 mcg/kg', max: '2 mcg/kg', weightCalculation: 'lbw' }, { name: 'Maintenance', min: '0.5 mcg/kg/hr', max: '1.5 mcg/kg/hr' } ] } ], preparations: [ { concentration: '5 mcg/mL' }, { concentration: '50 mcg/mL' } ] } } ); /** * Sugammadex */ mw.calculators.addDrugs( { sugammadex: { id: drugId, name: 'Sugammadex', color: 'neuromuscularBlockerReversal', dosages: [ { indication: 'neuromuscularBlockadeReversal', population: 'general', dose: { min: '2 mg/kg', max: '16 mg/kg' } } ], preparations: [ { concentration: '100 mg/mL' } ] } } ); /** * Vecuronium */ mw.calculators.addDrugs( { vecuronium: { id: drugId, name: 'Vecuronium', color: 'neuromuscularBlocker', dosages: [ { indication: 'neuromuscularBlockade', population: 'general', dose: [ { name: 'Standard', dose: '0.1 mg/kg' }, { name: 'Rapid sequence', dose: '1.2 mg/kg' } ] } ], preparations: [ { concentration: '10 mg/vial' } ] } } ); }() );