Difference between revisions of "Template:ICD11/sandbox"
Jump to navigation
Jump to search
imported>RexxS (one line) |
imported>RexxS (match parentheses) |
||
Line 1: | Line 1: | ||
− | {{#if:{{{1|}}}|[https://icd.who.int/browse11/l-m/en#/http://id.who.int/icd/entity/{{{2|{{#invoke:ICD11 |code2link |{{{1 | + | {{#if:{{{1|}}}|[https://icd.who.int/browse11/l-m/en#/http://id.who.int/icd/entity/{{{2|{{#invoke:ICD11 |code2link |{{{1}}} }} }}} {{{1}}}]}}<noinclude> |
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 15:05, 25 October 2019
![]() | This is the template sandbox page for Template:ICD11 (diff). |
![]() | This template uses Lua: |
The goal of the template is to directly link to the World Health Organization's online version of ICD-11.
Parameters
The template displays the ICD-11 code, linked to the entry in the ICD-11 website.
The website entry is identified through a url which contains a unique linkID:
- For example. in
https://icd.who.int/browse11/l-m/en#/http://id.who.int/icd/entity/123456789
the linkID is in bold.
The template can take either 1 or 2 parameters:
{{ICD11|code}} {{ICD11|code|linkID}}
- code = The complete ICD-11 code (compulsory)
- linkID = The number at the end of the url line (optional)
Examples of use
The ICD-11 code 5B81 is for "Obesity". In that case, the WHO website URL will look as follows:
Using this template, it will show the WHO website external link as follows:
- 5B81:
{{ICD11|5B81|149403041}}
: 5B81
However, the linkID may be omitted; then the template will display the ICD-11 code linked by using a lookup table in Lua:
- 5B81:
{{ICD11|5B81}}
: 5B81
See also
- {{Medical resources}}
- {{ICD10}}
- {{ICD9}}
- {{ICD9proc}}
- {{ICDO}}
- {{ICD-10}}, a full list of all ICD-10 chapters, with descriptions and links to each chapter article
- WP:MED for WikiProject Medicine
- Module:ICD11
The above documentation is transcluded from Template:ICD11/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |