Template:ICD10 Charlson: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Created page with "<noinclude> This template manages the storage of the Charlson components on the wiki. It is used only on the page Charlson Comorbidities in ICD10 codes, but there repeated..."
 
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This template manages the storage of the Charlson components on the wiki. It is used only on the page [[Charlson Comorbidities in ICD10 codes]], but there repeatedly. The partner template [[Template: ICD10 Charlson Lister]] is also used on this page to use the data set up in this template to present a sortable list.  
This template manages the storage of the Charlson components on the wiki. It is used only on the page [[Charlson Comorbidities in ICD10 codes]], but there repeatedly. [[Charlson Comorbidities in ICD10 codes]] also contains a semantic query to list the data generated by this template.  


To use:  
To use:  
<pre>{{ICD10 Charlson | ICD10 = dxPageName | Charlson = charlsonComponent }}</pre>
<pre>{{ICD10 Charlson | ICD10_Page = dxPageName | ICD10_Code= ICD10Code | Charlson = charlsonComponent }}</pre>
 
The list should usually be populated directly from the [[S ICD10 Charlson Comorbids query]] in [[CCMDB.accdb]] to ensure consistency with that dataset.


The template is part of the [[:Category:ICD10 wiki infrastructure]].
The template is part of the [[:Category:ICD10 wiki infrastructure]].
[[Category:ICD10 wiki infrastructure]]
[[Category:ICD10 wiki infrastructure]]
[[Category:Charlson Comorbid Diagnosis]]






</noinclude>{{#set:
<!-- if "  | c ={{PAGENAME}} " is removed the whole darn thing stops working, so leave it be. -->
  Has_Charlson_Component={{{Charlson}}}
</noinclude>{{#subobject:
  |Has_Charlson_ICD10={{{ICD10}}}
  | c ={{PAGENAME}}
}}{{#subobject:
  | Charlson_ICD10Code={{{ICD10_Code|}}}
  | ICD10={{{ICD10|}}}
  | Charlson_ICD10Description={{{ICD10|}}}
  | Charlson={{{Charlson|}}}
  | Charlson_component={{{Charlson|}}}
}}
}}

Latest revision as of 22:17, 2020 April 9

This template manages the storage of the Charlson components on the wiki. It is used only on the page Charlson Comorbidities in ICD10 codes, but there repeatedly. Charlson Comorbidities in ICD10 codes also contains a semantic query to list the data generated by this template.

To use:

{{ICD10 Charlson | ICD10_Page = dxPageName | ICD10_Code= ICD10Code | Charlson = charlsonComponent }}

The list should usually be populated directly from the S ICD10 Charlson Comorbids query in CCMDB.accdb to ensure consistency with that dataset.

The template is part of the Category:ICD10 wiki infrastructure.