Difference between revisions of "Template:CalculateBenzo"
From Psychiatrienet
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
}}{{#if: {{{dose5|}}} | {{ShowBenzoDosage|{{{benzo5}}}|{{{dose5}}}|{{{replacement}}} }} | }}{{#if: {{{dose5|}}} | {{ShowBenzoDosage|{{{benzo5}}}|{{{dose5}}}|{{{replacement}}} }} | ||
}} | }} | ||
− | + | {{ShowTotalDosage | {{#expr: | |
{{#if: {{{dose1|}}} | {{ConvertBenzoDosage|{{{benzo1}}}|{{{dose1}}}|{{{replacement}}} }} }} | {{#if: {{{dose1|}}} | {{ConvertBenzoDosage|{{{benzo1}}}|{{{dose1}}}|{{{replacement}}} }} }} | ||
{{#if: {{{dose2|}}} | + {{ConvertBenzoDosage|{{{benzo2}}}|{{{dose2}}}|{{{replacement}}} }} }} | {{#if: {{{dose2|}}} | + {{ConvertBenzoDosage|{{{benzo2}}}|{{{dose2}}}|{{{replacement}}} }} }} | ||
Line 19: | Line 19: | ||
{{#if: {{{dose4|}}} | + {{ConvertBenzoDosage|{{{benzo4}}}|{{{dose4}}}|{{{replacement}}} }} }} | {{#if: {{{dose4|}}} | + {{ConvertBenzoDosage|{{{benzo4}}}|{{{dose4}}}|{{{replacement}}} }} }} | ||
{{#if: {{{dose5|}}} | + {{ConvertBenzoDosage|{{{benzo5}}}|{{{dose5}}}|{{{replacement}}} }} }} | {{#if: {{{dose5|}}} | + {{ConvertBenzoDosage|{{{benzo5}}}|{{{dose5}}}|{{{replacement}}} }} }} | ||
− | }} | + | }} | {{{replacement|}}} }} |
− | |||
</includeonly><noinclude>[[Category:Queries]]</noinclude> | </includeonly><noinclude>[[Category:Queries]]</noinclude> |