User:Ttenbergen/ICD10 Linking via wikidata

From CCMDB Wiki
Jump to: navigation, search

Sample code to link to an ICD10 code after looking up the property in which it is stored for an article.

[https://tools.wmflabs.org/wikidata-todo/resolver.php?prop=P4229&project=enwiki&value={{#show: {{PAGENAME}}| ?Has ICD10Code | link = none}} Link ]

example: Link

Used in any article in Category:ICD10 Diagnosis, implemented through Template:ICD10.