Template:ICD11/doc

From HandWiki
< Template:ICD11
Revision as of 19:15, 14 May 2022 by imported>Xurizuri (+ TemplateData)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 be:

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:

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for ICD11

This template displays an ICD-11 code, linked to its entry in the ICD-11 website.

Template parameters

ParameterDescriptionTypeStatus
Code1

The ICD-11 codea

Example
5B81, for Obesity
Stringrequired
22

The 9-character number at the end of URL

Example
149403041, for Obesity
Numbersuggested

See also