Difference between revisions of "Template:ICD10PCS/doc"
imported>ShelleyAdams (Pages do not exist for codes 02130 and 0TF30.) |
imported>Cydebot m (Robot - Speedily moving category Medical external link templates to Category:Medicine external link templates per CFDS.) |
||
| Line 44: | Line 44: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | [[Category: | + | [[Category:Medicine external link templates|{{PAGENAME}}]] |
}}</includeonly> | }}</includeonly> | ||
Revision as of 10:12, 22 February 2018
| 40px | This is a documentation subpage for Template:ICD10PCS. It contains usage information, categories and other content that is not part of the original template page. |
The goal of the template is to directly link the ICD-10-PCS lookup service on the ICD10data.com website with the medical intervention infobox.
Parameters
There are two parameters to this template. The first parameter sets the code, the second helps parse the link for the lookup site.
Full code
When pointing to a complete 7 character code; the second parameter is optional:
{{ICD10PCS|code|character1/character2/character3/character4}}
and
{{ICD10PCS|code}}
will both work, as the ICD10data.com website will correctly parse the link from the full code.
Partial code
If only characters 1 through 4 are needed to be linked to; only one parameter is needed:
{{ICD10PCS|code}}
as the ICD10data.com website will correctly parse the link from this set of partial codes.
However, it is not possible to link directly to 5th and 6th level of characters. To display codes at these levels in the medical intervention infobox, both parameters are needed:
{{ICD10PCS|code|character1/character2/character3/character4}}
(This effectively links to the 4th character level.)
Examples of use
The ICD-10-PCS code F13Z00Z is for "Hearing Screening Assessment using Occupational Hearing Equipment". In that case, the ICD10data.com website URL will look as follows:
Using this, see how the external link handles the data sent by the template in the following examples:
Other examples:
- B845ZZZ:
{{ICD10PCS|B845ZZZ }}: B845ZZZ - 0213:
{{ICD10PCS|0213}}: 0213 - 0213:
{{ICD10PCS|0213|0/2/1/3}}: 0213 - 0TF3:
{{ICD10PCS|0TF3}}: 0TF3 - 0TF3:
{{ICD10PCS|0TF3|0/T/F/3}}: 0TF3 - 0TF30ZZ:
{{ICD10PCS|0TF30ZZ}}: 0TF30ZZ
See also
- WP:MED for WikiProject Medicine