Difference between revisions of "Template:Infobox drug reference"

From WikiAnesthesia
Tag: 2017 source edit
Tag: 2017 source edit
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<templatestyles src="Infobox drug reference/styles.css" /><div class="infobox">
   <div class="infobox-title {{#if:{{{drug_class_color|}}}|drug-class-{{{drug_class_color}}}}}">{{PAGENAME}}</div>{{#if:{{{trade_names|}}}|<table class="table"><tr>
   <div class="infobox-title {{#if:{{{drug_class_color|}}}|drug-class-{{{drug_class_color}}}}}">{{PAGENAME}}</div>
  <table class="table">{{#if:{{{trade_names|}}}|<tr>
     <th>Trade names</th>
     <th>Trade names</th>
     <td>{{{trade_names}}}</td>
     <td>
</tr></table>}}{{#if:{{{image_file|}}}|
{{{trade_names}}}
  <div class="infobox-image">[[File:{{{image_file}}}|320px]]</div>{{#if:{{{image_caption|}}}|
    </td>
   <div class="infobox-image-caption">{{{image_caption}}}</div>}}}}
</tr>}}{{#if:{{{image_file|}}}|<tr><td colspan="2" class="infobox-image">
  <table class="table">{{#if:{{{drug_class|}}}|<tr>
  <div>[[File:{{{image_file}}}|320px]]</div>{{#if:{{{image_caption|}}}|
   <div>{{{image_caption}}}</div>}}</td></tr>}}<tr>
    <td class="infobox-table-section-heading" colspan="2">Clinical data</td>
</tr>{{#if:{{{drug_class|}}}|<tr>
     <th>Drug class</th>
     <th>Drug class</th>
     <td>{{{drug_class}}}</td>
     <td>
</tr>}}</table>
{{{drug_class}}}
</div>
    </td>
 
</tr>}}{{#if:{{{uses|}}}|<tr>
clinical data
    <th>Uses</th>
trade_names
    <td>
drug_class
{{{uses}}}
drug_class_color
    </td>
uses
</tr>}}{{#if:{{{contraindications|}}}|<tr>
contraindications
    <th>Contraindications</th>
routes
    <td>
dosage (free form block)
{{{contraindications}}}
pharmacodynamics
    </td>
mechanism
</tr>}}{{#if:{{{routes|}}}|<tr>
adverse_effects
    <th>Routes of administration</th>
pharmacokinetics
    <td>
time_onset
{{{routes}}}
halftime_redistribution
    </td>
halftime_elimination
</tr>}}{{#if:{{{dosage|}}}|<tr>
metabolism
    <th>Dosage</th>
clearance
    <td>
bioavailability
{{{dosage}}}
protein binding
    </td>
pka
</tr>}}{{#if:{{{dosage_calculation|}}}|<tr>
voldist_central
    <td class="infobox-table-section-heading" colspan="2">Dosage</td>
voldist_steadystate
</tr><tr>
pkmodel_parameters
    <td colspan="2" class="calculation-infobox">
chemical/physical data
      <calculatormodule id="drugDosage" />
formula
      <calculatoroptions patientInputInline="true" />
molar_mass
      <div class="calculator-calculation calculator-calculation-drugDosages-{{{dosage_calculation}}}"></div>
solubilities
    </td>
 
</tr>}}<tr>
 
    <td class="infobox-table-section-heading" colspan="2">Pharmacodynamics</td>
 
</tr>{{#if:{{{mechanism|}}}|<tr>
<noinclude>
    <th>Mechanism of action</th>
 
    <td>
<templatestyles src="Infobox drug reference/styles.css" />
{{{mechanism}}}
 
    </td>
</tr>}}{{#if:{{{adverse_effects|}}}|<tr>
    <th>Adverse effects</th>
    <td>
{{{adverse_effects}}}
    </td>
</tr>}}<tr>
    <td class="infobox-table-section-heading" colspan="2">Pharmacokinetics</td>
</tr>{{#if:{{{time_onset|}}}|<tr>
    <th>Onset of action</th>
    <td>
{{{time_onset}}}
    </td>
</tr>}}{{#if:{{{duration|}}}|<tr>
    <th>Duration of action</th>
    <td>
{{{duration}}}
    </td>
</tr>}}{{#if:{{{metabolism|}}}|<tr>
    <th>Metabolism</th>
    <td>
{{{metabolism}}}
    </td>
</tr>}}{{#if:{{{halflife_redistribution|}}}|<tr>
    <th>Redistribution half-life</th>
    <td>
{{{halflife_redistribution}}}
    </td>
</tr>}}{{#if:{{{halflife_elimination|}}}|<tr>
    <th>Elimination half-life</th>
    <td>
{{{halflife_elimination}}}
    </td>
</tr>}}{{#if:{{{clearance|}}}|<tr>
    <th>Clearance</th>
    <td>
{{{clearance}}}
    </td>
</tr>}}{{#if:{{{bioavailability|}}}|<tr>
    <th>Bioavailability</th>
    <td>
{{{bioavailability}}}
    </td>
</tr>}}{{#if:{{{protein_binding|}}}|<tr>
    <th>Protein binding</th>
    <td>
{{{protein_binding}}}
    </td>
</tr>}}{{#if:{{{pka|}}}|<tr>
    <th>pKa</th>
    <td>
{{{pka}}}
    </td>
</tr>}}{{#if:{{{volume_distribution|}}}|<tr>
    <th>Volume of distribution</th>
    <td>
{{{volume_distribution}}}
    </td>
</tr>}}<tr>
    <td class="infobox-table-section-heading" colspan="2">Physical and chemical data</td>
</tr>{{#if:{{{formula|}}}|<tr>
    <th>Formula</th>
    <td>
{{{formula}}}
    </td>
</tr>}}{{#if:{{{molar_mass|}}}|<tr>
    <th>Molar mass</th>
    <td>
{{{molar_mass}}}
    </td>
</tr>}}{{#if:{{{boiling_point|}}}|<tr>
    <th>Boiling point</th>
    <td>
{{{boiling_point}}}
    </td>
</tr>}}{{#if:{{{vapor_pressure|}}}|<tr>
    <th>Vapor pressure</th>
    <td>
{{{vapor_pressure}}}
    </td>
</tr>}}{{#if:{{{blood_gas_partition|}}}|<tr>
    <th>Blood-gas partition coefficient</th>
    <td>
{{{blood_gas_partition}}}
    </td>
</tr>}}{{#if:{{{oil_gas_partition|}}}|<tr>
    <th>Oil-gas partition coefficient</th>
    <td>
{{{oil_gas_partition}}}
    </td>
</tr>}}
    {{Infobox content footer}}
</table>
</div><noinclude>
<templatedata>
<templatedata>
{
{
Line 59: Line 156:
"label": "Article image",
"label": "Article image",
"description": "An image relevant to the drug",
"description": "An image relevant to the drug",
"example": "Elevated JVP.jpg",
"example": "Propofol.png",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
Line 71: Line 168:
"description": "List the classes of the drug.",
"description": "List the classes of the drug.",
"example": "Sedative hypnotic",
"example": "Sedative hypnotic",
"type": "line",
"type": "content",
"suggested": true
"suggested": true
},
},
"drug_class_color": {
"drug_class_color": {
"label": "Drug class color",
"label": "Drug class color",
"description": "If applicable, select from one of the predefined options to apply a highlight color for the drug in the title of the infobox. Valid options:\n\nanticholinergic, anxiolytic, cardiovascular_agonist, cardiovascular_antagonist, desflurane, enflurane, halothane, isoflurane, local_anesthetic, nitrous_oxide, neuromuscular_blocker, neuromuscular_blocker_reversal, opioid, opioid_reversal, sedative_hypnotic, sevoflurane",
"description": "If applicable, select from one of the predefined options to apply a highlight color for the drug in the title of the infobox. Valid options:\n\nanticholinergic, benzodiazepine, benzodiazepine_reversal, cardiovascular_agonist, cardiovascular_antagonist, desflurane, enflurane, halothane, isoflurane, local_anesthetic, nitrous_oxide, neuromuscular_blocker, neuromuscular_blocker_reversal, opioid, opioid_reversal, sedative_hypnotic, sevoflurane",
"example": "sedative_hypnotic",
"example": "sedative_hypnotic",
"type": "line",
"type": "line",
Line 86: Line 183:
"example": "Induction and maintenance of anesthesia,\nSedation,\n",
"example": "Induction and maintenance of anesthesia,\nSedation,\n",
"type": "content",
"type": "content",
"required": true
"suggested": true
},
},
"contraindications": {
"contraindications": {
Line 92: Line 189:
"description": "If applicable, list absolute and relative contraindications of the drug. Do not include allergy to the drug itself.",
"description": "If applicable, list absolute and relative contraindications of the drug. Do not include allergy to the drug itself.",
"example": "Egg/soy allergy (controversial)",
"example": "Egg/soy allergy (controversial)",
"type": "content",
"suggested": true
"suggested": true
},
},
"routes": {
"routes": {
"label": "Routes of administration",
"label": "Routes of administration",
"description": "List the routes of administration of the drug. Standardized options: Epidural, Inhalation, Intramuscular, Intranasal, Intrathecal, Intravenous, Transdermal, Transtracheal",
"description": "List the routes of administration of the drug. If one route, use the full term. If multiple routes, use only abbreviations. Standardized options: Epidural (EP), Inhalation (INH), Intramuscular (IM), Intranasal (IN), Intrathecal (IT), Intravenous (IV), Transdermal (TD), Endotracheal (ETT)",
"example": "Intravenous",
"type": "content",
"type": "content",
"required": true
"suggested": true
},
},
"dosage": {
"dosage": {
Line 106: Line 203:
"example": "Induction of anesthesia:\n* Adult: 1-2.5 mg/kg\n* Elderly: 1-1.5 mg/kg\n* Pediatric: 2.5-3.5 mg/kg\nMaintenance of anesthesia:\n* Adult: 100-200 mcg/kg/min\n* Elderly: 50-100 mcg/kg/min\n* Pediatric: 125-300 mcg/kg/min",
"example": "Induction of anesthesia:\n* Adult: 1-2.5 mg/kg\n* Elderly: 1-1.5 mg/kg\n* Pediatric: 2.5-3.5 mg/kg\nMaintenance of anesthesia:\n* Adult: 100-200 mcg/kg/min\n* Elderly: 50-100 mcg/kg/min\n* Pediatric: 125-300 mcg/kg/min",
"type": "content",
"type": "content",
"required": true
"suggested": true
},
"dosage_calculation": {
"label": "Dosage calculation id",
"description": "Embeds a drug dosage calculator into the infobox. The drug id must be defined in MediaWiki:Gadgets-calculator-drugs-data.js.",
"example": "propofol",
"type": "line",
"suggested": true
},
"mechanism": {
"label": "Mechanism of action",
"description": "State the mechanism of action of the drug",
"example": "GABA agonism",
"type": "content",
"suggested": true
},
"adverse_effects": {
"label": "Adverse effects",
"description": "List important adverse effects of the drug",
"example": "Hypotension, bradycardia, pain on injection",
"type": "content",
"suggested": true
},
"time_onset": {
"label": "Onset of action",
"description": "State the onset of action of the drug",
"example": "15-30 seconds",
"type": "content",
"suggested": true
},
"duration": {
"label": "Duration of action",
"description": "State the duration of action of the drug",
"example": "5-10 minutes",
"type": "content",
"suggested": true
},
"metabolism": {
"label": "Metabolism",
"description": "Describe the metabolism of the drug",
"example": "Liver glucuronidation",
"type": "content",
"suggested": true
},
"halflife_redistribution": {
"label": "Redistribution half-life",
"description": "State the redistribution half-life of the drug",
"example": "2-8 minutes (initial)\n30-70 minutes (slow)",
"type": "content",
"suggested": true
},
"halflife_elimination": {
"label": "Elimination half-life",
"description": "State the elimination half-life of the drug",
"example": "1.5-31 hours",
"type": "content",
"suggested": true
},
"clearance": {
"label": "Clearance",
"description": "State the clearance of the drug",
"example": "1.5-2.2 L/min",
"type": "content",
"suggested": true
},
"bioavailability": {
"label": "Bioavailability",
"description": "If applicable, state the bioavailability of the drug",
"example": "100%",
"type": "content"
},
"protein_binding": {
"label": "Protein binding",
"description": "State the protein binding of the drug",
"example": "95-99%",
"type": "content",
"suggested": true
},
"pka": {
"label": "pKa",
"description": "State the pKa of the drug",
"example": "11",
"type": "content"
},
"volume_distribution": {
"label": "Volume of distribution",
"description": "State the volume of distribution of the drug",
"example": "6-40 L (central)\n150-700 L (steady state)",
"type": "content"
},
"formula": {
"label": "Formula",
"description": "State the chemical formula of the drug",
"example": "C<sub>12</sub>H<sub>18</sub>O",
"type": "content"
},
"molar_mass": {
"label": "Molar mass",
"description": "State the molar mass of the drug",
"example": "178.275 g/mol",
"type": "content"
},
"boiling_point": {
"label": "Boiling point",
"description": "State the boiling point of the drug at standard pressure",
"example": "58.6 °C",
"type": "content"
},
"vapor_pressure": {
"label": "Vapor pressure",
"description": "State the vapor pressure of the drug at standard pressure and temperature",
"example": "197 mmHg",
"type": "content"
},
"blood_gas_partition": {
"label": "Blood-gas partition coefficient",
"description": "State the blood-gas partition coefficient of the drug",
"example": "0.68",
"type": "content"
},
"oil_gas_partition": {
"label": "Oil-gas partition coefficient",
"description": "State the oil-gas partition coefficient of the drug",
"example": "47",
"type": "content"
}
}
},
},
Line 120: Line 341:
"contraindications",
"contraindications",
"routes",
"routes",
"dosage"
"dosage",
"dosage_calculation",
"mechanism",
"adverse_effects",
"time_onset",
"duration",
"metabolism",
"halflife_redistribution",
"halflife_elimination",
"clearance",
"bioavailability",
"protein_binding",
"pka",
"volume_distribution",
"formula",
"molar_mass",
"boiling_point",
"vapor_pressure",
"blood_gas_partition",
"oil_gas_partition"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 14:19, 19 August 2022

Infobox drug reference
Clinical data
Pharmacodynamics
Pharmacokinetics
Physical and chemical data

This Infobox will display the most pertinent information about a drug at the top of the article. When appropriate, please use the standardized options listed in the field description (click the (i) icon above each field to show a list which can be copy-pasted). You may also include brief clarification in parenthesis after each item. If using an abbreviation, please link to a page that defines it (e.g. use [[ETT]] not ETT). To display items on separate lines, add <br/> between them.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Trade namestrade_names

If applicable, list trade names of the drug

Example
Diprivan
Contentsuggested
Article imageimage_file

An image relevant to the drug

Example
Propofol.png
Fileoptional
Article image captionimage_caption

A caption for the article image

Contentoptional
Drug classdrug_class

List the classes of the drug.

Example
Sedative hypnotic
Contentsuggested
Drug class colordrug_class_color

If applicable, select from one of the predefined options to apply a highlight color for the drug in the title of the infobox. Valid options: anticholinergic, benzodiazepine, benzodiazepine_reversal, cardiovascular_agonist, cardiovascular_antagonist, desflurane, enflurane, halothane, isoflurane, local_anesthetic, nitrous_oxide, neuromuscular_blocker, neuromuscular_blocker_reversal, opioid, opioid_reversal, sedative_hypnotic, sevoflurane

Example
sedative_hypnotic
Linesuggested
Usesuses

List the uses of the drug

Example
Induction and maintenance of anesthesia,

Sedation,

Contentsuggested
Contraindicationscontraindications

If applicable, list absolute and relative contraindications of the drug. Do not include allergy to the drug itself.

Example
Egg/soy allergy (controversial)
Contentsuggested
Routes of administrationroutes

List the routes of administration of the drug. If one route, use the full term. If multiple routes, use only abbreviations. Standardized options: Epidural (EP), Inhalation (INH), Intramuscular (IM), Intranasal (IN), Intrathecal (IT), Intravenous (IV), Transdermal (TD), Endotracheal (ETT)

Contentsuggested
Dosagedosage

List dosages of the drug. Use multiple lines and/or bullet points if necessary.

Example
Induction of anesthesia:
  • Adult: 1-2.5 mg/kg
  • Elderly: 1-1.5 mg/kg
  • Pediatric: 2.5-3.5 mg/kg

Maintenance of anesthesia:

  • Adult: 100-200 mcg/kg/min
  • Elderly: 50-100 mcg/kg/min
  • Pediatric: 125-300 mcg/kg/min
Contentsuggested
Dosage calculation iddosage_calculation

Embeds a drug dosage calculator into the infobox. The drug id must be defined in MediaWiki:Gadgets-calculator-drugs-data.js.

Example
propofol
Linesuggested
Mechanism of actionmechanism

State the mechanism of action of the drug

Example
GABA agonism
Contentsuggested
Adverse effectsadverse_effects

List important adverse effects of the drug

Example
Hypotension, bradycardia, pain on injection
Contentsuggested
Onset of actiontime_onset

State the onset of action of the drug

Example
15-30 seconds
Contentsuggested
Duration of actionduration

State the duration of action of the drug

Example
5-10 minutes
Contentsuggested
Metabolismmetabolism

Describe the metabolism of the drug

Example
Liver glucuronidation
Contentsuggested
Redistribution half-lifehalflife_redistribution

State the redistribution half-life of the drug

Example
2-8 minutes (initial) 30-70 minutes (slow)
Contentsuggested
Elimination half-lifehalflife_elimination

State the elimination half-life of the drug

Example
1.5-31 hours
Contentsuggested
Clearanceclearance

State the clearance of the drug

Example
1.5-2.2 L/min
Contentsuggested
Bioavailabilitybioavailability

If applicable, state the bioavailability of the drug

Example
100%
Contentoptional
Protein bindingprotein_binding

State the protein binding of the drug

Example
95-99%
Contentsuggested
pKapka

State the pKa of the drug

Example
11
Contentoptional
Volume of distributionvolume_distribution

State the volume of distribution of the drug

Example
6-40 L (central) 150-700 L (steady state)
Contentoptional
Formulaformula

State the chemical formula of the drug

Example
C<sub>12</sub>H<sub>18</sub>O
Contentoptional
Molar massmolar_mass

State the molar mass of the drug

Example
178.275 g/mol
Contentoptional
Boiling pointboiling_point

State the boiling point of the drug at standard pressure

Example
58.6 °C
Contentoptional
Vapor pressurevapor_pressure

State the vapor pressure of the drug at standard pressure and temperature

Example
197 mmHg
Contentoptional
Blood-gas partition coefficientblood_gas_partition

State the blood-gas partition coefficient of the drug

Example
0.68
Contentoptional
Oil-gas partition coefficientoil_gas_partition

State the oil-gas partition coefficient of the drug

Example
47
Contentoptional