Template:CCI 2 Procedure component: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
m Text replacement - "[[Category: " to "[[Category:"
 
(22 intermediate revisions by the same user not shown)
Line 7: Line 7:
| CCI_2_Code = the CCI code
| CCI_2_Code = the CCI code
| CCI_Category = [[CCI Category]]
| CCI_Category = [[CCI Category]]
| CCI_Collection_Mode = CCI collect first, CCI collect count, CCI collect each
| StartDate =  
| StartDate =  
| StopDate =  
| StopDate =  
Line 18: Line 19:




</noinclude><div style="clear:right;">
</noinclude>{{#ifeq:
{{#expr:
{{#time: U|{{#show: {{PAGENAME}}|?Has StopDate}} }} < {{#time: U|{{CURRENTTIMESTAMP}} }}
}}
| 1
| :&nbsp;
:&nbsp;
:&nbsp;
:&nbsp;
{{LegacyContent
|explanation=This is a legacy diagnosis, its stop date is in the past.
| content=}}{{ICD10 category|Retired Code}}
<!-- this is where content for still collected dxs could go -->
}}
<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 CCI_2 Dx infobox'''|target={{PAGENAME}}}}</span>
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">'''[[CCI component 2 codes - what was done]]'''</span>
|-
|-
| style="background:silver; color:arsenic; width:25%" align="right"| '''Procedure: '''
| style="background:silver; color:arsenic" align="right" | '''Procedure: ''' || {{PAGENAME}}
| [[Has CCIP rocedure::{{PAGENAME}}]]
|-
|-
| style="background:silver; color:arsenic" align="right"| '''CCI 2 code: '''
| style="background:silver; color:arsenic" align="right" | '''[[CCI component 2 codes - what was done|CCI 2 code]]: ''' || {{{CCI_2_Code|Should always have a code}}}
| [[Has CCI_2_Code::{{{CCI_2_Code}}}]]
|-
|-
| style="background:silver; color:arsenic" align="right"| '''[[CCI Category]]: '''
| style="background:silver; color:arsenic" align="right" | '''[[CCI Collection Mode]]: ''' || {{{CCI_Collection_Mode|CCI collect each}}}  
| [[Has CCI_Category::{{{CCI_Category}}}]][[Category:{{{CCI_Category}}}]]
{{#if: {{{StartDate|}}} |
|-  
{{!}}-
| style="background:silver; color:arsenic" align="right"| '''Start Date: '''
{{!}} style="background:silver; color:arsenic" align="right" {{!}} '''Start Date: ''' {{!}}{{!}} {{{StartDate|2019-01-01}}} }}{{#if: {{{StopDate|}}} |
| [[Has StartDate::{{#if:{{{StartDate|}}}|{{{StartDate}}}|2017-11-01}}]]{{
{{!}}-
#if:{{{StopDate|}}}|{{!}}-
{{!}} style="background:silver; color:arsenic" align="right" {{!}} '''Stop Date: ''' {{!}}{{!}} {{{StopDate|}}} }} <!-- -->
{{!}} style="background:silver; color:arsenic" align="right"{{!}} '''Stop Date: '''
|} <includeonly>{{
{{!}} [[Has StopDate:{{{StopDate}}}]] | [[Has StopDate::2999-12-31| ]]}}
#set: Has CCI_Procedure ={{PAGENAME}} }}{{
|}  
#set: Has CCI_2_Code ={{{CCI_2_Code}}} }}{{
This procedure is a part of [[CCI collection]].<includeonly>[[Category: CCI Procedure]]</includeonly>
#set: Has CCI_Collection_Mode ={{{CCI_Collection_Mode|CCI collect each}}} }}{{
#set: Has_CCIexportCat={{#show:{{PAGENAME}}|?Has CCI 1 Code}}{{#show:{{PAGENAME}}|?Has CCI 2 Code}}{{#show:{{PAGENAME}}|?Has CCI Picklist Code}};{{{CCI_Collection_Mode|CCI collect each}}} }}{{
#set: Has StartDate = {{{StartDate|2017-11-01}}} }}{{
#set: Has StopDate = {{{StopDate|2999-12-31}}} }}</includeonly>
This procedure is a part of [[CCI Collection]]. This is one of the [[CCI component 2 codes - what was done]]. <includeonly>[[Category:CCI Procedure]]</includeonly>

Latest revision as of 11:11, 30 July 2025

Template Use

Add {{CCI_2_procedure}} to the article, save, and then use the "edit CCI_2 Procedure infobox" link.

OR, until I get to that done:

{{CCI_2_procedure
| CCI_2_Code = the CCI code
| CCI_Category = [[CCI Category]]
| CCI_Collection_Mode = CCI collect first, CCI collect count, CCI collect each
| StartDate = 
| StopDate = 
}}




CCI component 2 codes - what was done
Procedure: CCI 2 Procedure component
CCI 2 code: Should always have a code
CCI Collection Mode: CCI collect each

This procedure is a part of CCI Collection. This is one of the CCI component 2 codes - what was done.