Template:ICD10 dx: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
m Text replacement - "[[Category: " to "[[Category:"
 
(37 intermediate revisions by the same user not shown)
Line 5: Line 5:
add <nowiki>{{ICD10 dx}}</nowiki> to the article, save, and then use the "edit ICD10 Dx infobox" link.  
add <nowiki>{{ICD10 dx}}</nowiki> to the article, save, and then use the "edit ICD10 Dx infobox" link.  


OR, until I get to that done:
OR
<pre>{{ICD10 dx
<pre>{{ICD10 dx
| ICD10 Code = <enter code>
| ICD10 Code = <enter code>
| BugRequired = <optional, required, or no entry>
| StartDate =  
| StartDate =  
| StopDate =  
| StopDate =  
}}
}}
</pre>
</pre>
===Cargo declaration===
{{#cargo_declare:
_table = ICD10_Dx
| StartDate= Date
| StopDate = Date
| ICD10_Code = String
}}




Line 18: Line 25:
[[Category:ICD10 wiki infrastructure]]
[[Category:ICD10 wiki infrastructure]]
[[Category:Legacy content wiki infrastructure]]
[[Category:Legacy content wiki infrastructure]]
[[Category:Quality wiki infrastructure]]
[[Category:Data Dependencies wiki infrastructure]]
----
----
</noinclude>
</noinclude>{{#ifeq:  
{{#ifeq:  
{{#expr:
{{#expr:
{{#time: U|{{#show: {{PAGENAME}}|?Has StopDate}} }} < {{#time: U|{{CURRENTTIMESTAMP}} }}
{{#time: U|{{#show: {{PAGENAME}}|?Has StopDate}} }} < {{#time: U|{{CURRENTTIMESTAMP}} }}
}}
}}
| 1
| 1
| :.
| :&nbsp;
:.
:&nbsp;
:.
:&nbsp;
:.
:&nbsp;
{{LegacyContent
{{LegacyContent
|explanation=This is a legacy diagnosis, its stop date is in the past.  
|explanation=This is a legacy diagnosis, its stop date is in the past.  
}}{{ICD10 category|Retired Code}}  
| content=}}{{ICD10 category|Retired Code}}  
| content=<!-- this is where content for still collected dxs could go -->
<!-- this is where content for still collected dxs could go -->
}}
}}<div style="clear:right;">
<div style="clear:right;">
{| class="wikitable" border="1" style="float:right; width:50%"
{| class="wikitable" border="1" style="float:right; width:50%"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">{{#formlink:form=ICD10 dx|link text='''edit ICD10 Dx infobox'''|target={{PAGENAME}}}}</span>
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[ICD10 Diagnosis List|ICD10 Diagnosis]]</span>
|-
|-
| style="background:silver; color:arsenic; width:25%" align="right"| '''Dx: '''
| style="background:silver; color:arsenic; width:25%" align="right"| '''Dx: '''
Line 42: Line 55:
|-
|-
| style="background:silver; color:arsenic" align="right"| '''ICD10 code: '''
| style="background:silver; color:arsenic" align="right"| '''ICD10 code: '''
| [[Has ICD10Code::{{{ICD10 Code}}}]]
| {{{ICD10 Code|}}}
|-
{{
#if:{{{BugRequired|}}}|
{{!}}-
{{!}} style="background:silver; color:arsenic" align="right"{{!}}'''Bug required: '''
{{!}} [[Has BugRequired::{{{BugRequired}}}]]
}}
|-
|-
|style="background:silver; color:arsenic" align="right"| '''[[Minimum combined codes]]: '''
| style="background:silver; color:arsenic" align="right" {{!}} '''Pre-ICD10 counterpart: '''
| {{{MinimumCombinedCodes|0}}}
| {{#if: {{#show: {{PAGENAME}}|?Has ICD10OldArticleLink}}| {{#show: {{PAGENAME}}|?Has ICD10OldArticleLink}} | none  assigned }}
|-
|-
{{#if:{{#ask: [[-Has subobject::Charlson Comorbidities in ICD10 codes]] [[Charlson_ICD10Desription::{{PAGENAME}}]]
| style="background:silver; color:arsenic" align="right" {{!}} '''[[Charlson Comorbidities in ICD10 codes|Charlson]]/[[ALERT Scale]]: '''
| {{#if: {{#ask: [[-Has subobject::Charlson Comorbidities in ICD10 codes]] [[Charlson_ICD10Description::{{PAGENAME}}]]}} | {{#ask: [[-Has subobject::Charlson Comorbidities in ICD10 codes]] [[Charlson_ICD10Description::{{PAGENAME}}]]
|?Charlson_component=
|?Charlson_component=
|format=list
|format=list
|mainlabel=-
|mainlabel=-
}}|{{!}}-
}} | none }}
{{!}} style="background:silver; color:arsenic" align="right"{{!}} '''[[Charlson Comorbidities in ICD10 codes|Charlson]]: '''
|-
{{!}} {{#ask: [[-Has subobject::Charlson Comorbidities in ICD10 codes]] [[Charlson_ICD10Desription::{{PAGENAME}}]]
| style="background:silver; color:arsenic" align="right"{{!}} '''[[APACHE Comorbidities in ICD10 codes|APACHE Como Component]]: '''
|?Charlson_component=
| {{#if: {{#ask: [[-Has subobject::APACHE Comorbidities in ICD10 codes]][[APACHE_ICD10Description::{{PAGENAME}}]]}} | {{#ask: [[-Has subobject::APACHE Comorbidities in ICD10 codes]][[APACHE_ICD10Description::{{PAGENAME}}]]
|format=list
|mainlabel=-
}}}}
 
{{#if:{{#ask: [[-Has subobject::APACHE Comorbidities in ICD10 codes]][[APACHE_ICD10Desription::{{PAGENAME}}]]
|?APACHE_component=APACHE Comorbid component
|format=list
|mainlabel=-
}}|{{!}}-
{{!}} style="background:silver; color:arsenic" align="right"{{!}} '''[[APACHE Comorbidities in ICD10 codes|APACHE Como Component]]: '''
{{!}} {{#ask: [[-Has subobject::APACHE Comorbidities in ICD10 codes]][[APACHE_ICD10Desription::{{PAGENAME}}]]
|?APACHE_component=
|?APACHE_component=
|format=list
|format=list
|mainlabel=-
|mainlabel=-
}}}}
}} | none }}
{{#if:{{#ask: [[-Has subobject::APACHE Acute Dxs in ICD10 codes]][[APACHE_ICD10Desription::{{PAGENAME}}]]
|-
|?APACHE_component=
| style="background:silver; color:arsenic" align="right"{{!}} '''[[APACHE Acute Dxs in ICD10 codes|APACHE Acute Component]]: '''
| {{#if: {{#ask: [[-Has subobject::APACHE Acute Dxs in ICD10 codes]][[APACHE_ICD10Description::{{PAGENAME}}]]}} | {{#ask: [[-Has subobject::APACHE Acute Dxs in ICD10 codes]][[APACHE_ICD10Description::{{PAGENAME}}]]
|?APACHE_component=2019-0
|format=list
|format=list
|mainlabel=-
|mainlabel=-
}}|{{!}}-
}} | none }}
{{!}} style="background:silver; color:arsenic" align="right"{{!}} '''[[APACHE Acute Dxs in ICD10 codes|APACHE Acute Component]]: '''
|-
{{!}} {{#ask: [[-Has subobject::APACHE Acute Dxs in ICD10 codes]][[APACHE_ICD10Desription::{{PAGENAME}}]]
| style="background:silver; color:arsenic" align="right" | '''Start Date: ''' || {{{StartDate|}}}
|?APACHE_component=
|-
|format=list
| style="background:silver; color:arsenic" align="right" | '''Stop Date: ''' || {{{StopDate|}}}
|mainlabel=-
|-
}}}}
| style="background:silver; color:arsenic" align="right"| {{Data Dependencies infobox label}}
{{#if:{{{StartDate|}}}|{{!}}-
|{{#cargo_query:
{{!}} style="background:silver; color:arsenic" align="right" {{!}} '''Start Date: '''
tables=Data_Dependencies
{{!}} [[Has StartDate::{{{StartDate}}}]] | {{#set: Has StartDate=2017-12-01}} }}{{
|fields=Derived
#if:{{{StopDate|}}}|{{!}}-
|where=Components HOLDS '{{urlencode:{{{PAGENAME}}}}}'
{{!}} style="background:silver; color:arsenic" align="right"{{!}} '''Stop Date: '''
|format=ul}}
{{!}} [[Has StopDate::{{{StopDate}}}]] | {{#set:Has StopDate=2999-12-31}} }}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''External ICD10 Documentation'''
| style="background:silver; color:arsenic" align="right"| '''External ICD10 Documentation'''
|  
|  
*[https://tools.wmflabs.org/wikidata-todo/resolver.php?prop=P4229&project=enwiki&value={{#show: {{PAGENAME}}| ?Has ICD10Code | link = none}} ICD-10 CM Wikipedia]  
*[https://tools.wmflabs.org/wikidata-todo/resolver.php?prop=P4229&project=enwiki&value={{#show: {{PAGENAME}}| ?Has ICD10Code | link =No corresponding old article}} ICD-10 CM Wikipedia]  
*[https://tools.wmflabs.org/wikidata-todo/resolver.php?prop=P494&project=enwiki&value={{#show: {{PAGENAME}}| ?Has ICD10Code | link = none}} ICD-10 Wikipedia]
*[https://tools.wmflabs.org/wikidata-todo/resolver.php?prop=P494&project=enwiki&value={{#show: {{PAGENAME}}| ?Has ICD10Code | link =No corresponding old article}} ICD-10 Wikipedia]
*[http://apps.who.int/classifications/icd10/browse/2016/en#/{{#show: {{PAGENAME}}| ?Has ICD10Code | link = none}} WHO ICD10 documentation]
*[https://icd.who.int/browse10/2016/en#/{{#show: {{PAGENAME}}| ?Has ICD10Code | link =No corresponding old article}} WHO ICD10 documentation]
*[http://www.icd10data.com/search?s={{#show: {{PAGENAME}}| ?Has ICD10Code | link = none}} ICD10data.com]
*[http://www.icd10data.com/search?s={{#show: {{PAGENAME}}| ?Has ICD10Code | link =No corresponding old article}} ICD10data.com]
|}[[Category:ICD10 Diagnosis]]{{#set:  
|}
Has MinimumCombinedCodes={{{MinimumCombinedCodes|0}}}
This diagnosis is a part of [[ICD10 collection]].{{#default_form:ICD10 dx}}
|
<includeonly><div style="display: none;">
}}[[Category: ICD10 Diagnosis]]This diagnosis is a part of [[ICD10 collection]].
 
* SMW
** [[Has StartDate::{{{StartDate|2019-01-01}}}]]
** [[Has StopDate::{{{StopDate|2999-12-31}}}]]
** [[Has ICD10Code::{{{ICD10 Code|}}}]]
 
* Cargo
{{#cargo_store:
_table = ICD10_Dx
| StartDate= {{{StartDate|2019-01-01}}}
| StopDate = {{{StopDate|2999-12-31}}}
| ICD10_Code = {{{ICD10 Code|}}}
}}
 
* Categories
[[Category:ICD10 Diagnosis]]
 
</div></includeonly>

Latest revision as of 11:10, 30 July 2025

Template is used in all ICD10 Diagnoses to display standardized info and populate semantic properties.

Template Use

add {{ICD10 dx}} to the article, save, and then use the "edit ICD10 Dx infobox" link.

OR

{{ICD10 dx
| ICD10 Code = <enter code>
| StartDate = 
| StopDate = 
}}

Cargo declaration

This template defines the table "ICD10_Dx". View table.





ICD10 Diagnosis
Dx: ICD10 dx
ICD10 code:
Pre-ICD10 counterpart: none assigned
Charlson/ALERT Scale: none
APACHE Como Component: none
APACHE Acute Component: none
Start Date:
Stop Date:
Data Dependencies(Reports/Indicators/Data Elements): No results
External ICD10 Documentation

This diagnosis is a part of ICD10 collection.