Template:Infobox diagnostic: Difference between revisions

From WikiMD's Wellness Encyclopedia

No edit summary
No edit summary
Line 1: Line 1:
{{main other
<includeonly>
|{{short description
{| class="infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background-color:#f9f9f9;"
|Medical diagnostic {{#switch: 1
|-
|{{#if:{{In string|source={{{Name|}}}|target=test|plain=false|nomatch=}}|1|0}} = test
! colspan="2" style="text-align:center; background-color:{{{background|lightblue}}}; font-size:110%;" | {{{Name|{{{name|Unnamed Diagnostic}}}}}
|{{#if:{{In string|source={{{Name|}}}|target=sign|plain=false|nomatch=}}|1|0}} = sign
|-
|{{#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
| colspan="2" style="text-align:center;" | [[File:{{{image|}}}|{{{image_size|frameless}}}|alt={{{alt|}}}|upright=1.3|{{{caption|}}}]]
|1 = method}}
|-
|noreplace}}}}
| '''Pronunciation'''
| {{{pronounce|}}}
|-
| '''Synonyms'''
| {{{synonym|}}}
|-
| '''Reference Range'''
| {{{reference_range|}}}
|-
| '''Calculator'''
| {{{calculator|}}}
|-
| '''Purpose'''
| {{{purpose|}}}
|-
| '''Test of'''
| {{{test_of|}}}
|-
| '''Based on'''
| {{{based_on|}}}
|-
| '''ICD-10-PCS'''
| {{{ICD10|}}}
|-
| '''ICD-9-CM'''
| {{{ICD9|}}}
|-
| '''MeSH'''
| {{#if:{{{MeshID|}}}|[https://meshb.nlm.nih.gov/record/ui?ui={{{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|}}}
|-
| colspan="2" style="border-top:3px solid #ccc; padding-top:0.5em;" | {{{video1|}}} {{{video2|}}}
|}
</includeonly>
<noinclude>
== Usage ==
This template is used to display diagnostic information in an infobox format.


{{infobox
=== Parameters ===
| abovestyle = background-color: {{{background|{{{Background|lightblue}}}}}}
* `Name` - Title of the diagnostic.
| above      = {{{Name|<includeonly>{{{name}}}</includeonly>}}}
* `image` - Image filename related to the diagnostic.
| subheader2 = {{{subheader|{{{Subheader|}}}}}}
* `image_size` - Size of the image (default: frameless).
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Image|}}}}}}|size={{{image_size|{{{Width|}}}}}}|sizedefault=frameless|upright=1.3|alt={{{alt|{{{Alt|}}}}}}}}
* `alt` - Alternative text for the image.
| caption   = {{{caption|{{{Caption|}}}}}}
* `caption` - Caption for the image.
* `pronounce` - Pronunciation of the diagnostic term.
* `synonym` - Synonyms of the diagnostic.
* `reference_range` - Reference range of measurements.
* `calculator` - Links to relevant calculators.
* `purpose` - Purpose of the diagnostic.
* `test_of` - What the diagnostic tests.
* `based_on` - What the diagnostic is based on.
* `ICD10` - ICD-10 code.
* `ICD9` - ICD-9 code.
* `MeshID` - MeSH identifier.
* `OPS301` - OPS-301 code.
* `OtherCodes` - Other diagnostic codes.
* `MedlinePlus` - MedlinePlus article ID.
* `eMedicine` - eMedicine article ID.
* `LOINC` - LOINC code.
* `HCPCSlevel2` - HCPCS Level 2 code.
* `video1` / `video2` - Additional multimedia content.


| label1    = Pronunciation
=== Example ===
|  data1    = {{#if:{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce comment|}}} |{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce ref|}}}&#x20;{{{pronounce comment|}}} }}<!--
<syntaxhighlight lang="mediawiki">
        -->{{#if:{{{pronounce 2|}}} |<br/>{{{pronounce 2|}}} }}
{{Infobox diagnostic
| Name = Example Diagnostic
| image = Example.jpg
| caption = Example Caption
| pronounce = Example Pronunciation
| synonym = Example Synonym
| ICD10 = A01
| MeshID = D123456
| MedlinePlus = 12345
}}
</syntaxhighlight>


| label2    = [[Synonym]]s
[[Category:Infobox templates]]
|  data2    = {{{Synonym|{{{synonym|{{{Synonyms|{{{synonyms|}}}}}}}}}}}}
</noinclude>
 
| 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:47, 18 December 2024


Usage

This template is used to display diagnostic information in an infobox format.

Parameters

  • `Name` - Title of the diagnostic.
  • `image` - Image filename related to the diagnostic.
  • `image_size` - Size of the image (default: frameless).
  • `alt` - Alternative text for the image.
  • `caption` - Caption for the image.
  • `pronounce` - Pronunciation of the diagnostic term.
  • `synonym` - Synonyms of the diagnostic.
  • `reference_range` - Reference range of measurements.
  • `calculator` - Links to relevant calculators.
  • `purpose` - Purpose of the diagnostic.
  • `test_of` - What the diagnostic tests.
  • `based_on` - What the diagnostic is based on.
  • `ICD10` - ICD-10 code.
  • `ICD9` - ICD-9 code.
  • `MeshID` - MeSH identifier.
  • `OPS301` - OPS-301 code.
  • `OtherCodes` - Other diagnostic codes.
  • `MedlinePlus` - MedlinePlus article ID.
  • `eMedicine` - eMedicine article ID.
  • `LOINC` - LOINC code.
  • `HCPCSlevel2` - HCPCS Level 2 code.
  • `video1` / `video2` - Additional multimedia content.

Example

{{Infobox diagnostic
| Name = Example Diagnostic
| image = Example.jpg
| caption = Example Caption
| pronounce = Example Pronunciation
| synonym = Example Synonym
| ICD10 = A01
| MeshID = D123456
| MedlinePlus = 12345
}}