Template:ICD10/sandbox
This is the template sandbox page for Template:ICD10 (diff). See also the companion subpage for test cases. |
This template is used on approximately 5,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template allows editors to directly link to the 2019 online version of the World Health Organization's diagnostic classification ICD-10. It's primarily intended for use with {{medical resources}}.
Please do not use this template to parse codes only found within ICD-10-CM – use the {{ICD10CM}} template instead.
Parameters
[edit]The template takes 1 parameter:
{{ICD10|code}}
- code - The complete ICD-10 code
Deprecated parameters
[edit]- If a second parameter is present, the first parameter would be treated as the Group letter, and the second parameter as the major group number (2 digits).
- If a third parameter is present, it is treated as the minor group number and the link will be displayed with a period between major and minor group numbers.
Examples of use
[edit]The ICD-10 code R03 is for "Abnormal blood-pressure reading, without diagnosis". In that case, the WHO website URL will look as follows:
Using this template, it will show the WHO website external link as follows:
- R03:
{{ICD10|R03}}
: R03
Other examples:
- A03:
{{ICD10|A03}}
: A03 - A38:
{{ICD10|A38}}
: A38 - A60:
{{ICD10|A60}}
: A60 - G08:
{{ICD10|G08}}
: G08 - H05.5:
{{ICD10|H05.5}}
: H05.5 - H67:
{{ICD10|H67}}
: H67 - M83.2:
{{ICD10|M83.2}}
: M83.2 - P04.1:
{{ICD10|P04.1}}
: P04.1
Ranges
[edit]Using code ranges within the template that are not found in the classification will cause the link to the online code browser to return a "Not Found" message.
Therefore it is best to avoid using formatting that will cause this issue
{{ICD10|I44.4–I44.7}}
{{ICD10|I44.4–.7}}
Instead link to each code individually, or the first and last code in the range:
{{ICD10|I44.4}}, {{ICD10|I44.5}}, {{ICD10|I44.6}}, {{ICD10|I44.7}}
{{ICD10|I44.4}}–{{ICD10|I44.7}}
Listing the fourth character range outside and directly after the template is also an option. However, it is worth noting that with this method the fourth characters will appear after the external link () indicator:
{{ICD10|I44}}.4–.7
will be displayed as I44.4–.7
See also
[edit]- {{Medical resources}}
- {{ICD9}}
- {{ICD9proc}}
- {{ICDO}}
- WP:MED for WikiProject Medicine