Difference between revisions of "Template:CalculateBenzo"

From Psychiatrienet
Jump to: navigation, search
Line 7: Line 7:
 
{{#if: {{{dose2|}}} |
 
{{#if: {{{dose2|}}} |
 
* [[{{{benzo2}}}]] in dosage {{{dose2}}}mg/d corresponds to {{#ask: [[{{{benzo2|}}}]] | ?Equivalent= }} * {{{dose2|}}} = {{#expr: {{#ask: [[{{{benzo2|}}}]] | ?Equivalent= }} * {{{dose2|}}} }} mg [[Diazepam]] / day
 
* [[{{{benzo2}}}]] in dosage {{{dose2}}}mg/d corresponds to {{#ask: [[{{{benzo2|}}}]] | ?Equivalent= }} * {{{dose2|}}} = {{#expr: {{#ask: [[{{{benzo2|}}}]] | ?Equivalent= }} * {{{dose2|}}} }} mg [[Diazepam]] / day
}}
+
}}{{#if: {{{dose3|}}} |
{{#if: {{{dose3|}}} |
 
 
* [[{{{benzo3}}}]] in dosage {{{dose3}}}mg/d corresponds to {{#ask: [[{{{benzo3|}}}]] | ?Equivalent= }} * {{{dose3|}}} = {{#expr: {{#ask: [[{{{benzo3|}}}]] | ?Equivalent= }} * {{{dose3|}}} }} mg [[Diazepam]] / day
 
* [[{{{benzo3}}}]] in dosage {{{dose3}}}mg/d corresponds to {{#ask: [[{{{benzo3|}}}]] | ?Equivalent= }} * {{{dose3|}}} = {{#expr: {{#ask: [[{{{benzo3|}}}]] | ?Equivalent= }} * {{{dose3|}}} }} mg [[Diazepam]] / day
}}
+
}}{{#if: {{{dose4|}}} |
{{#if: {{{dose4|}}} |
 
 
* [[{{{benzo4}}}]] in dosage {{{dose4}}}mg/d corresponds to {{#ask: [[{{{benzo4|}}}]] | ?Equivalent= }} * {{{dose4|}}} = {{#expr: {{#ask: [[{{{benzo4|}}}]] | ?Equivalent= }} * {{{dose4|}}} }} mg [[Diazepam]] / day
 
* [[{{{benzo4}}}]] in dosage {{{dose4}}}mg/d corresponds to {{#ask: [[{{{benzo4|}}}]] | ?Equivalent= }} * {{{dose4|}}} = {{#expr: {{#ask: [[{{{benzo4|}}}]] | ?Equivalent= }} * {{{dose4|}}} }} mg [[Diazepam]] / day
}}
+
}}{{#if: {{{dose5|}}} |
{{#if: {{{dose5|}}} |
 
 
* [[{{{benzo5}}}]] in dosage {{{dose5}}}mg/d corresponds to {{#ask: [[{{{benzo5|}}}]] | ?Equivalent= }} * {{{dose5|}}} = {{#expr: {{#ask: [[{{{benzo5|}}}]] | ?Equivalent= }} * {{{dose5|}}} }} mg [[Diazepam]] / day
 
* [[{{{benzo5}}}]] in dosage {{{dose5}}}mg/d corresponds to {{#ask: [[{{{benzo5|}}}]] | ?Equivalent= }} * {{{dose5|}}} = {{#expr: {{#ask: [[{{{benzo5|}}}]] | ?Equivalent= }} * {{{dose5|}}} }} mg [[Diazepam]] / day
 
}}
 
}}
 
+
Corresponding total dosage: {{#expr:
total dosage:  
 
{{#expr:
 
 
{{#if: {{{dose1|}}} | ( {{#ask: [[{{{benzo1|}}}]] | ?Equivalent= }} * {{{dose1|}}} ) }}
 
{{#if: {{{dose1|}}} | ( {{#ask: [[{{{benzo1|}}}]] | ?Equivalent= }} * {{{dose1|}}} ) }}
 
{{#if: {{{dose2|}}} | + ( {{#ask: [[{{{benzo2|}}}]] | ?Equivalent= }} * {{{dose2|}}} ) }}
 
{{#if: {{{dose2|}}} | + ( {{#ask: [[{{{benzo2|}}}]] | ?Equivalent= }} * {{{dose2|}}} ) }}

Revision as of 20:24, 8 June 2010