Template:Infobox diagnostic: Difference between revisions

From WikiMD's Wellness Encyclopedia

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
{{main other
{| class="infobox" style="width: 22em; font-size: 90%;"
|{{short description
|-
|Medical diagnostic {{#switch: 1
! colspan="2" style="background-color: {{{background|lightblue}}}; font-size: 110%; text-align: center;" | {{{Name|<includeonly>{{{name}}}</includeonly>}}}
|{{#if:{{In string|source={{{Name|}}}|target=test|plain=false|nomatch=}}|1|0}} = test
|-
|{{#if:{{In string|source={{{Name|}}}|target=sign|plain=false|nomatch=}}|1|0}} = sign
| colspan="2" style="text-align: center;" | [[File:{{{image|}}}|{{{image_size|250px}}}|alt={{{alt|}}}|{{{caption|}}}]]
|{{#if:{{In string|source={{{Name|}}}|target=score|plain=false|nomatch=}}{{In string|source={{{Name|}}}|target=scoring|plain=false|nomatch=}}{{In string|source={{{Name|}}}|target=index|plain=false|nomatch=}}{{In string|source={{{Name|}}}|target=scale|plain=false|nomatch=}}|1|0}} = score
|-
|1 = method}}
| '''Pronunciation'''
|noreplace}}}}
| {{{pronounce|}}}
|-
| '''Synonyms'''
| {{{Synonym|}}}
|-
| '''Reference range'''
| {{{reference_range|}}}
|-
| '''Calculator'''
| {{{Calculator|}}}
|-
| '''Purpose'''
| {{{Purpose|}}}
|-
| '''Test&nbsp;of'''
| {{{Test of|}}}
|-
| '''Based&nbsp;on'''
| {{{Based on|}}}
|-
| '''ICD-10-PCS'''
| {{{ICD10|}}}
|-
| '''ICD-9-CM'''
| {{{ICD9|}}}
|-
| '''ICD-9'''
| {{{ICD9unlinked|}}}
|-
| '''MeSH'''
| {{#if:{{{MeshID|}}}|[https://www.nlm.nih.gov/cgi/mesh/{{{MeshYear|2011}}}/MB_cgi?field=uid&term={{{MeshID}}} {{{MeshID}}}]}}
|-
| '''OPS-301 code'''
| {{{OPS301|}}}
|-
| '''Other codes'''
| {{{OtherCodes|}}}
|-
| '''MedlinePlus'''
| {{#if:{{{MedlinePlus|}}}|[https://medlineplus.gov/ency/article/{{{MedlinePlus}}}.htm {{{MedlinePlus}}}]}}
|-
| '''eMedicine'''
| {{#if:{{{eMedicine|}}}|[http://emedicine.medscape.com/article/{{{eMedicine}}}-overview {{{eMedicine}}}]}}
|-
| '''LOINC'''
| {{{LOINC|}}}
|-
| '''HCPCS-L2'''
| {{{HCPCSlevel2|}}}
|}
</includeonly>
<noinclude>
== Documentation ==
This template is used to provide a structured summary of medical procedures or conditions.


=== Parameters ===
{{infobox
* `Name` - Title of the infobox.
| abovestyle = background-color: {{{background|{{{Background|lightblue}}}}}}
* `image` - Image file for the condition or procedure.
| above      = {{{Name|<includeonly>{{{name}}}</includeonly>}}}
* `image_size` - Size of the image (default: 250px).
| subheader2 = {{{subheader|{{{Subheader|}}}}}}
* `alt` - Alternative text for the image.
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Image|}}}}}}|size={{{image_size|{{{Width|}}}}}}|sizedefault=frameless|upright=1.3|alt={{{alt|{{{Alt|}}}}}}}}
* `caption` - Caption for the image.
| caption   = {{{caption|{{{Caption|}}}}}}
* `pronounce` - Pronunciation of the term.
* `Synonym` - Synonyms for the condition or procedure.
* `reference_range` - Reference range for measurements.
* `Calculator` - Links to any relevant calculators.
* `Purpose` - The purpose of the procedure or condition.
* `ICD10`, `ICD9`, `ICD9unlinked`, `MeshID`, etc. - Relevant medical codes.


=== Example ===
| label1    = Pronunciation
<syntaxhighlight lang="mediawiki">
|  data1    = {{#if:{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce comment|}}} |{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce ref|}}}&#x20;{{{pronounce comment|}}} }}<!--
{{Infobox
        -->{{#if:{{{pronounce 2|}}} |<br/>{{{pronounce 2|}}} }}
| Name = Example Condition
| image = Example.jpg
| caption = Example Image Caption
| pronounce = Example Pronunciation
| Synonym = Example Synonym
| reference_range = 1–10
| Calculator = [Example Link]
| Purpose = Example Purpose
}}
</syntaxhighlight>


[[Category:Infobox templates]]
| label2    = [[Synonym]]s
</noinclude>
|  data2    = {{{Synonym|{{{synonym|{{{Synonyms|{{{synonyms|}}}}}}}}}}}}
 
| label3    = [[Reference range]]
| data3      = {{{reference_range|{{{Reference_range|}}}}}}
 
| label4    = Calculator
|  data4    = {{{Calculator|{{{calculator|}}}}}}
 
| label5    = Purpose
|  data5    = {{{Purpose|{{{purpose|{{{Purposes|{{{purposes|}}}}}}}}}}}}
 
| label6    = Test&nbsp;of
|  data6    = {{{Test of|{{{test of|}}}}}}
 
| label7    = Based&nbsp;on
|  data7    = {{{Based on|{{{based on|}}}}}}
 
| label8    = [[ICD-10 Procedure Coding System|ICD-10-PCS]]
| data8      = {{{ICD10|}}}
 
| label9    = [[ICD-9-CM Volume 3|ICD-9-CM]]
| data9      = {{{ICD9|}}}
 
| label10    = [[ICD-9-CM Volume 3|ICD-9]]
| data10      = {{{ICD9unlinked|}}}
 
| label11    = [[Medical Subject Headings|MeSH]]
| data11      = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion">[https://meshb.nlm.nih.gov/record/ui?ui={{{MeshID|}}} {{{MeshID}}}]</span>}}
 
| label12    = [[OPS-301|OPS-301 code]]
| data12    = {{{OPS301|}}}
 
| label13    = Other [[procedure codes|codes]]
| data13    = {{{OtherCodes|}}}
 
| label14    = [[MedlinePlus]]
| data14    = {{#if:{{{MedlinePlus|}}}|<span class="reflink plainlinks nourlexpansion">[https://medlineplus.gov/ency/article/{{{MedlinePlus}}}.htm {{{MedlinePlus}}}]</span>}}
 
| label15    = [[eMedicine]]
| data15    = {{#if:{{{eMedicine|}}}|<span class="reflink plainlinks nourlexpansion">[http://emedicine.medscape.com/article/{{{eMedicine}}}-overview {{{eMedicine}}}]</span>}}
 
| label16    = [[LOINC]]
| data16    = {{{LOINC|}}}
 
| label17    = [[HCPCS Level 2|HCPCS-L2]]
| data17    = {{{HCPCSlevel2|}}}
 
| belowstyle  = border-top:3px solid #ccc;padding-top:0.5em;
| below      = {{ubl | {{{video1|}}} | {{{video2|}}} }}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox diagnostic with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox diagnostic]] with unknown parameter "_VALUE_"|ignoreblank=y| Alt | alt | Background | background | based on | Based on | calculator | Calculator | Caption | caption | eMedicine | HCPCSlevel2 | ICD9 | ICD9unlinked | ICD10 | Image | image | image_size | LOINC | MedlinePlus | MeshID | name | Name | OPS301 | OtherCodes | Pronounce | pronounce | pronounce 2 | pronounce comment | pronounce ref | pronunciation | Pronunciation | purpose | Purpose | purposes | Purposes | Reference_range | reference_range | Subheader | subheader | synonym | Synonym | synonyms | Synonyms | test of | Test of | video1 | video2 | Width }}<noinclude>{{documentation}}<!-- Add cats to the /doc subpage, not here! --></noinclude>

Revision as of 10:46, 18 December 2024


  [[File:Script error: No such module "InfoboxImage".|frameless|alt=]]


Pronunciation
Synonyms
Reference range
Calculator
Purpose
Test of
Based on
ICD-10-PCS
ICD-9-CM
ICD-9