Difference between revisions of "Template:ICD10PCS/doc"

From blackwiki
Jump to navigation Jump to search
imported>Little pob
(Documentation rewritten as both parameters are needed as ICD10data has changed its subfolder structure.)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 26: Line 26:
 
* [[WP:MED]] for WikiProject Medicine
 
* [[WP:MED]] for WikiProject Medicine
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Medicine external link templates|{{PAGENAME}}]]
 
[[Category:Medicine external link templates|{{PAGENAME}}]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:12, 25 April 2020

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