Difference between revisions of "Template:ICD10PCS"

From blackwiki
Jump to navigation Jump to search
imported>Little pob
(Template currently parsing parameter 1 in to the url twice; have removed one of the declarations to see if fixes the issue. (Given mention of cached pages on the talk page, I will periodically check the change has worked/filtered down over the next 24hrs))
imported>Galobtter
(Reverted 1 edit by Little pob (talk): Isn't actually passing it in twice (code makes it like that), the problem appears to be as it wants chapter number too. (TW))
 
Line 1: Line 1:
[http://www.icd10data.com/ICD10PCS/Codes/{{#if:{{{2|}}}|{{{2|}}}/{{{1|}}}| {{{1|}}}]<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>

Latest revision as of 13:36, 22 May 2018

[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