Template:CCI 2 Procedure component: Difference between revisions

mNo edit summary
m Text replacement - "[[Category: " to "[[Category:"
 
(28 intermediate revisions by the same user not shown)
Line 6: Line 6:
<pre>{{CCI_2_procedure
<pre>{{CCI_2_procedure
| CCI_2_Code = the CCI code
| CCI_2_Code = the CCI code
| CCI_TDI = Diagnostic Intervention '''or''' Diagnostic Imaging '''or''' Therapeutic Intervention
| 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 CCIProcedure::{{PAGENAME}}]]
|-
|-
| style="background:silver; color:arsenic" align="right"| '''CCI 1 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"| '''TDI: '''
| style="background:silver; color:arsenic" align="right" | '''[[CCI Collection Mode]]: ''' || {{{CCI_Collection_Mode|CCI collect each}}}  
| [[Has CCICategory::{{{CCI_TDI}}}]][[Category:{{{CCI_TDI}}}]]
{{#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 diagnosis is a part of [[CCI collection]].[[Category: CCI Procedure]]
#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>