Difference between revisions of "Template:ICD11/doc"
Jump to navigation
Jump to search
imported>Doc James |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | {{lua|Module:ICD11}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| Line 5: | Line 6: | ||
== Parameters == | == Parameters == | ||
| − | The template | + | The template displays the ICD-11 code, linked to the entry in the ICD-11 website. |
| − | <pre> | + | |
| − | + | The website entry is identified through a url which contains a unique linkID: | |
| + | : For example. in <code><nowiki>https://icd.who.int/browse11/l-m/en#/http://id.who.int/icd/entity/</nowiki>'''123456789'''</code> the linkID is in bold. | ||
| + | |||
| + | The template can take either 1 or 2 parameters: | ||
| + | <pre style="line-height:1.5em;"> | ||
| + | {{ICD11|code}} | ||
| + | {{ICD11|code|linkID}} | ||
</pre> | </pre> | ||
| − | *''' | + | *'''code''' = The complete ICD-11 code (compulsory) |
| − | + | *'''linkID''' = The number at the end of the url line (optional) | |
=== Examples of use === | === Examples of use === | ||
The ICD-11 code 5B81 is for "Obesity". In that case, the WHO website URL will look as follows: | The ICD-11 code 5B81 is for "Obesity". In that case, the WHO website URL will look as follows: | ||
| − | |||
* https://icd.who.int/browse11/l-m/en#/http://id.who.int/icd/entity/149403041 | * https://icd.who.int/browse11/l-m/en#/http://id.who.int/icd/entity/149403041 | ||
Using this template, it will show the WHO website external link as follows: | Using this template, it will show the WHO website external link as follows: | ||
| + | * 5B81: <code><nowiki>{{ICD11|5B81|149403041}}</nowiki></code>: {{ICD11|5B81|149403041}} | ||
| − | * 5B81: <code><nowiki>{{ICD11 | + | However, the linkID may be omitted; then the template will display the ICD-11 code linked by using a lookup table in Lua: |
| + | * 5B81: <code><nowiki>{{ICD11|5B81}}</nowiki></code>: {{ICD11|5B81}} | ||
==See also== | ==See also== | ||
| Line 29: | Line 37: | ||
* {{tl|ICD-10}}, a full list of all ICD-10 chapters, with descriptions and links to each chapter article | * {{tl|ICD-10}}, a full list of all ICD-10 chapters, with descriptions and links to each chapter article | ||
* [[WP:MED]] for WikiProject Medicine | * [[WP:MED]] for WikiProject Medicine | ||
| + | * [[Module:ICD11]] | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Medicine external link templates]] | [[Category:Medicine external link templates]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 17:12, 25 April 2020
| This is a documentation subpage for Template:ICD11. It contains usage information, categories and other content that is not part of the original template page. |
| 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/123456789the 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