Template:ICD11/sandbox
This is the template sandbox page for Template:ICD11 (diff). See also the companion subpage for test cases. |
This template uses Lua: |
This template creates a direct URL to an entity in the ICD-11 Browser when given an ICD-11 MMS code. The accompanying module converts this code to a Foundation entity ID, which is needed for the link.
For example:
https://icd.who.int/browse/latest-release/mms/en#753780243
The entity ID is in bold.
When the above URL is opened, it will automatically redirect to the latest version of the ICD-11 Browser, which is currently 2024-01. The /latest-release/
bit in the URL is automatically replaced with /2024-01/
.
The template can take one or two parameters:
- ICD-11 code = An ICD-11 MMS code
- entity ID = A WHO-FIC Foundation entity ID (optional)
Usage
[edit]For the disease pneumonia, the ICD-11 MMS code is CA40. Its Foundation entity ID is 142052508.
The URL to the Pneumonia entity in the ICD-11 Browser is:
https://icd.who.int/browse/latest-release/mms/en#142052508
Using the template:
{{ICD11|CA40}}
→ CA40
TemplateData
[edit]TemplateData for ICD11
This template displays an ICD-11 MMS code, linked to its entry in the ICD-11 Browser.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Code | 1 | The ICD-11 MMS code
| String | required |
2 | 2 | The WHO-FIC Foundation entity ID
| Number | suggested |
See also
[edit]- {{Medical resources}}
- {{ICD10}}
- {{ICD9}}
- {{ICD9proc}}
- {{ICDO}}
- WP:MED for WikiProject Medicine
- Module:ICD11