Difference between revisions of "Template:Drug"

From Psychiatrienet
Jump to: navigation, search
(lowercase needed for ftk link)
 
(38 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
}}
 
}}
 
|-  
 
|-  
{{#if:{{{medscape|}}}|
+
{{#ifeq: {{Name2Medscapelink|{{lcfirst:{{{name|}}}}}}} | NA |  |
{{!}} Medscape {{!!}} [http://www.medscape.com/druginfo/dosage?drugid={{{medscape}}}&drugname={{{medname|{{{name}}}}}}+{{{medextra|Oral}}}&monotype=default {{{medscape}}}]
+
{{!}} Medscape {{!!}} [http://reference.medscape.com/drug/{{Name2Medscapelink|{{lcfirst:{{{name|}}}}}}} {{{medname|{{{name}}}}}}]
 
}}
 
}}
 
|-  
 
|-  
Line 41: Line 41:
 
|-
 
|-
 
{{#if:{{{pubchem|}}}|
 
{{#if:{{{pubchem|}}}|
{{!}} PubChem {{!!}} [http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid={{{pubchem}}} {{{pubchem}}}]
+
{{!}} PubChem {{!!}} [http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid={{{pubchem}}} {{{pubchemid|{{{pubchem}}}}}}]
 +
}}
 +
|-
 +
{{#ifeq:{{{pubmed|}}}|-| |
 +
{{!}} PubMed {{!!}} [http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=pubmed&term=%22{{{pubmed|{{{name}}}}}}%22 {{{pubmed|{{{name}}}}}}]
 
}}
 
}}
 
|-  
 
|-  
 
{{#if:{{{drugscom|}}}|  
 
{{#if:{{{drugscom|}}}|  
{{!}} Drugs.com {{!!}} [http://www.drugs.com/ppa/{{{drugscom|}}}.html {{{drugscom|}}}]
+
{{!}} Drugs.com {{!!}} [http://www.drugs.com/ppa/{{{drugscom|}}}.html {{{drugscomid|{{{drugscom|}}}}}}]
 
}}
 
}}
 
|-  
 
|-  
Line 51: Line 55:
 
{{!}} dailymed {{!!}} [http://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?id={{{dailymed}}} {{{dailymed}}}]
 
{{!}} dailymed {{!!}} [http://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?id={{{dailymed}}} {{{dailymed}}}]
 
}}
 
}}
|-  
+
|-
 
{{#ifeq:{{{ftk|}}}|-| |
 
{{#ifeq:{{{ftk|}}}|-| |
{{!}} Kompas (Dutch) {{!!}} [http://www.fk.cvz.nl/preparaattekstFrameset.asp?bestandsnaam={{{ftk|{{{name}}}}}} {{{ftkid|{{{name}}}}}}]
+
{{!}} Kompas (Dutch) {{!!}} [https://www.farmacotherapeutischkompas.nl/bladeren/preparaatteksten/{{lc:{{#sub:{{{ftk|{{{name}}}}}}|0|1}}}}/{{lc:{{{ftk|{{{name}}}}}}}} {{{ftkid|{{{name}}}}}}]
 
}}
 
}}
 
|-  
 
|-  
Line 64: Line 68:
 
}}
 
}}
 
|-  
 
|-  
{{#if:{{{ATC|}}}{{{halflife|}}}{{{dosage|}}}{{{administration|}}}{{{adverse-reactions|}}}{{{contra-indications|}}}{{{lactation|}}}{{{pregnancy|}}}{{{renal|}}}{{{hepatic|}}}{{{sedation|}}}{{{cva|}}}{{{cvd|}}}|
+
{{#if:{{#isloggedin:}}|
{{!}}  colspan="2" {{!}} {{DrugInfo
+
{{!}}  colspan="2" {{!}} {{DrugInfoBox
 
| isswitch = {{{isswitch|}}}
 
| isswitch = {{{isswitch|}}}
 
| group = {{{group|}}}
 
| group = {{{group|}}}
Line 106: Line 110:
 
| comparison = {{{comparison|}}}
 
| comparison = {{{comparison|}}}
 
| addition = {{{addition|}}}
 
| addition = {{{addition|}}}
 +
| addition_ref = {{{addition_ref|}}}
 
| removal = {{{removal|}}}
 
| removal = {{{removal|}}}
 +
| removal_ref = {{{removal_ref|}}}
 
| metabolization = {{{metabolization|}}}
 
| metabolization = {{{metabolization|}}}
 +
| metabolization_ref = {{{metabolization_ref|}}}
 
}} }}
 
}} }}
 
|}
 
|}
 
{{#if:{{{isswitch|}}}| |
 
{{#if:{{{isswitch|}}}| |
<div class="references">
+
{{#if:{{{ATC|}}}|
 +
  {{#set:ATC={{{ATC|}}} }}
 +
  {{#set:ATC-main={{#sub:{{{ATC|}}}|0|4}} }}
 +
  {{#set:ATC-sub={{#sub:{{{ATC|}}}|0|5}} }}
 +
}}
 +
{{#if:{{{dmin|}}} | {{#set:dmin={{{dmin}}} }} }}
 +
{{#if:{{{dmax|}}} | {{#set:dmax={{{dmax}}} }} }}
 +
{{#if:{{{DDD|}}}  | {{#set:DDD={{{DDD}}}  }} }}
 +
{{#if:{{{dose|}}} | {{#set:dose={{{dose}}} }} }}
 +
{{#if:{{{cth|}}}  | {{#set:cth={{{cth}}}  }} }}
 +
{{#if:{{{ctox|}}} | {{#set:ctox={{{ctox}}} }} }}
 +
{{#if:{{{equivalent|}}} | {{#set:equivalent={{{equivalent}}} }} }}
 +
{{#if:{{{halflife|}}} | {{#set:halflife={{{halflife}}} }} }}
 +
{{#if:{{{tplasma|}}}  | {{#set:Tplasma={{{tplasma}}} }} }}
 +
{{#if:{{{tc|}}}      | {{#set:Tclear={{{tc}}} }} }}
 +
{{#if:{{{metabolites|}}} | {{#set:metabolites={{{metabolites}}} }} }}
 +
{{#if:{{{bioavailability|}}} | {{#set:bioavailability={{{bioavailability}}} }} }}
 +
{{#if:{{{administration|}}} | {{#set:administration={{{administration}}} }} }}
 +
{{#if:{{{metabolization|}}} | {{#set:metabolization={{{metabolization}}} }} }}
 +
{{#if:{{{addition|}}} | {{#set:addition={{{addition}}} }} }}
 +
{{#if:{{{removal|}}} | {{#set:removal={{{removal}}} }} }}
 +
{{#if:{{{info|}}} | {{#set:info={{{info}}} }} }}
 +
{{#if:{{{group|}}} | {{#set:group={{{group}}} }} }}
 +
 
 +
'''{{{name}}}''' {{#if:{{{addname|}}}|({{{addname}}})}} is a ''{{{type}}}'' in the group ''{{{group}}}''.
 +
{{#if:{{{otheruse|}}}|{{{name}}} is also used as {{{otheruse|}}}.}}
 +
 
 +
{{#if:{{{info|}}}|
 +
 
 +
;Information
 +
{{{info}}}
 +
 +
}}<!--
 +
 
 +
-->{{#if:{{{metabolization|}}}|
 +
 
 +
;Metabolization
 +
{{{metabolization|}}}{{{metabolization_ref|}}}
 +
}}<!--
 +
 
 +
-->{{#if:{{{addition|}}}|
 +
 
 +
;Addition
 +
When adding {{{name|}}} to another drug the following information becomes relevant:
 +
{{{addition|}}}
 +
}}<!--
 +
 
 +
-->{{#if:{{{removal|}}}|
 +
 
 +
;Removal
 +
When removing {{{name|}}} from a drug combination the following information becomes relevant:
 +
{{{removal|}}}
 +
}}<!--
 +
 
 +
--><div class="references">
 
<br clear="all">
 
<br clear="all">
 
<references />
 
<references />
</div>
+
</div><includeonly>
}}
+
{{#if:{{{otheruse|}}}|[[category:{{{otheruse}}}]]}}
<includeonly>
 
{{#if:{{{isswitch|}}}| |
 
{{#if:{{{addition|}}}|
 
When adding {{{name|}}} to another drug the following informations becomes relevant:
 
{{{addition|}}}
 
}}{{#if:{{{removal|}}}|
 
When removing {{{name|}}} to another drug the following informations becomes relevant:
 
{{{removal|}}}
 
}}{{#if:{{{metabolization|}}}|
 
==Metabolization==
 
{{{metabolization|}}}
 
}}{{#if:{{{otheruse|}}}|[[category:{{{otheruse}}}]]}}
 
 
{{#if:{{{type|}}}|[[category:{{{type}}}]]}}
 
{{#if:{{{type|}}}|[[category:{{{type}}}]]}}
 
[[category:Drug]]
 
[[category:Drug]]
 +
</includeonly>
 
}}
 
}}
</includeonly>
+
<noinclude>
 
<pre>
 
<pre>
 
{{Drug
 
{{Drug

Latest revision as of 16:48, 30 June 2023

{{{name}}}
links
PubMed {{{name}}}
Kompas (Dutch) {{{name}}}
Wikipedia {{{name}}}

{{{name}}} is a {{{type}}} in the group {{{group}}}.



{{Drug
| name = 
| group = 
| pubchem = 
| medscape = 
| emea = 
| ftk =
| ATC = 
| halflife = 
| metabolites = 
| bioavailability = 
| ctox = 
| cth = 
| DDD = 
| dmax = 
| dose = 
| <includeonly>| isswitch = 1</includeonly>
}}