Difference between revisions of "Template:ICD10PCS"

From blackwiki
Jump to navigation Jump to search
imported>Little pob
(Self revert: Although changes work when using the "preview page with this template", they don't once saved. Therefore reverted and await knowledgeable input.)
imported>ShelleyAdams
(I think it just needed a little conditional logic.)
Line 1: Line 1:
[http://www.icd10data.com/ICD10PCS/Codes/]<noinclude>
+
[http://www.icd10data.com/ICD10PCS/Codes/{{#if:{{{2|}}}|{{{2|}}}/{{{1|}}}|{{{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>

Revision as of 14:24, 26 September 2017

[1]

50px Template documentation[view] [edit] [history] [purge]

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

{{ICD10PCS|code|character1/character2/character3/character4}}


Partial code

The ICD10data.com website no longer correctly parses the link from partial codes.

Both parameters must be present:

{{ICD10PCS|code|character1/character2/character3/character4}}

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

  • F13Z00Z: {{ICD10PCS|F13Z00Z|F/1/3/Z}}: F13Z00Z

See also

  • WP:MED for WikiProject Medicine