Template:InfectiousDisease: Difference between revisions

Jump to navigation Jump to search
Matt Pijoan (talk | contribs)
No edit summary
Matt Pijoan (talk | contribs)
No edit summary
Line 51: Line 51:
{{:{{{description}}}}}
{{:{{{description}}}}}
</div>
</div>
{{#if: {{{historicalPerspective|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="historicalPerspective">
==Historical Perspective==
{{:{{{historicalPerspective}}}}}
</div>| }}{{#if: {{{classificationClassic|}}} |
==Classification Scheme==
{{#if:{{{classificationAtypical|}}}|
Classic: {{#arraymap:{{{classificationClassic|}}}|,|%$|%$|{{!}} }}
Atypical: {{#arraymap:{{{classificationAtypical|}}}|,|%$|%$|{{!}} }}
| {{#arraymap:{{{classificationClassic|}}}|,|%$|%$|{{!}} }} }} |
}} 
{{#if: {{{pathophysiology|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="pathophysiology">
==Pathophysiology==
{{:{{{pathophysiology|}}}}}
</div>|
}}{{#if: {{{epidemiology|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="epidemiology">
==Epidemiology and Demographics==
{{:{{{epidemiology}}}}}
</div>|
}}{{#if: {{{riskFactors|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="riskFactors">
==Risk Factors==
{{#widget:SchemaItemDef|object=MedicalRiskFactor}}
{{#widget:SchemaNameDef|name={{#titleparts: {{PAGENAME}} Risk Factors | | -1 }}}}
{{#widget:SchemaGenDef|content={{#titleparts: {{PAGENAME}} Risk Factors | | -1 }}|item=increasesRiskOf}}
<div itemprop="description">
{{:{{{riskFactors}}}}}
</div>
</div>
</div>|
}}{{#if: {{{secondaryPrevention|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="secondaryPrevention">
==Screening==
{{:{{{secondaryPrevention}}}}}
</div>|
}}{{#if: {{{causedby|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="causedBy">
==Causes==
{{:{{{causedby}}}}}
</div>|
{{#ask:[[Caused By::{{#titleparts: {{PAGENAME}} | | -1 }}]]
|format=list
|headers=hide
|link=none
|sep=&nbsp;{{!}}&nbsp;
|template=MedicalCauseQuery
}}
}}{{#if: {{{differentialDiagnoses|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="differentialDiagnoses">
==Differential Diagnosis==
{{#widget:SchemaItemDef|object=MedicalDDxElement}}
{{#widget:SchemaNameDef|name={{#titleparts: {{PAGENAME}} DifferentialDiagnosis | | -1 }}}}
{{#widget:SchemaGenDef|content={{#titleparts: {{PAGENAME}} Risk Factors | | -1 }}|item=diagnosis}}
<div itemprop="description">
{{:{{{differentialDiagnoses|}}}}}
</div>
</div>
</div>
</div>|
}}
<div class="mw-collapsible mw-collapsed">
==Natural History, Complications & Prognosis==
<div class="mw-collapsible-content">
{{#if: {{{naturalProgression|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="naturalProgression">
===Natural History===
{{:{{{naturalProgression}}}}}
</div>|
}}{{#if: {{{complications|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="prognosis">
===Complications===
{{#ifexist: {{{complications}}} | {{:{{{complications}}}}} |  }}
</div> |
}}{{#if: {{{prognosis|}}} |
<div class="mw-collapsible mw-collapsed" itemprop="prognosis">
===Prognosis===
{{:{{{prognosis|}}}}}
</div> | }}
</div>
==Diagnosis==
{{#ask:[[Used To Diagnose::{{#titleparts: {{PAGENAME}} | | -1 }}]]
|?Sort Order
|format=list
|headers=hide
|link=none
|sep=&nbsp;{{!}}&nbsp;
|template=MedicalTestQuery
|sort=Sort Order
}}
==Treatment==
{{#ask:[[Used To Treat::{{#titleparts: {{PAGENAME}} | | -1 }}]]
|?Sort Order
|format=list
|headers=plain
|link=none
|sep=&nbsp;{{!}}&nbsp;
|limit=
|template=MedicalTreatmentQuery
|sort=Sort Order
}}
{{#ask:[[Prevents::{{#titleparts: {{PAGENAME}} | | -1 }}]]
|?Sort Order
|intro=&nbsp;{{!}}&nbsp;
|format=list
|headers=plain
|link=none
|sep=&nbsp;{{!}}&nbsp;
|limit=
|template=MedicalTreatmentQuery2
|sort=Sort Order
}}
</div>
</div>
</includeonly>
</includeonly>

Revision as of 14:38, 3 April 2012

This is the "InfectiousDisease" template. It should be called in the following format:

{{InfectiousDisease
|description=
|image=
|name=
|url=
|codes=
|guidelines=
|authors=
|historicalPerspective=
|medicineSystem=
|recognizingAuthority=
|relevantSpeciality=
|studies=
|classificationClassic=
|classificationAtypical=
|associatedAnatomy=
|causedby=
|complications=
|differentialDiagnoses=
|epidemiology=
|naturalProgression=
|pathophysiology=
|primaryPrevention=
|prognosis=
|riskfactors=
|secondaryPrevention=
|signsAndSymptoms=
|stage=
|tests=
|treatments=
|typesOfCondition=
|infectiousAgent=
|infectiousAgentClass=
|transmissionMethod=
}}

Edit the page to see the template text.