Template:ICD10 transition status: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="background-color:#fcdb35;float:left;width:50%;"
<noinclude>
|| This [[:Category:ICD10 Diagnosis|ICD10 diagnosis article]] is in transition.
This template was initially used to manage the transition to ICD10 codes. The only parameter that is still relevant is the link to the old article. This is encoded as a [[Property:Has ICD10OldArticleLink]]. This page no longer displays anything when called, all it does is encode the property. The value of the property is then shown by [[Template:ICD10 dx]].
|-
|| Current [[ICD10 diagnosis article reconciliation]] status: {{#if:{{{CurrentStatus|}}}|{{{CurrentStatus}}}|'''no status assigned'''}}
|-
|| Team member assigned for integration editing: {{#if:{{{InitialEditorAssigned|}}}|{{{InitialEditorAssigned}}}|'''no editor assigned'''}}
|-
|| Corresponding old diagnosis code: {{#if:{{{OldDxArticle|}}}|{{#arraymap:{{{OldDxArticle}}}|,|x|[[x]][[Has ICD10OldArticleLink::x| ]]}}|'''[[Has ICD10OldArticleLink::no old article assigned]]'''}}
|}{{#set:
Has ICD10TransitionStatus={{#if:{{{CurrentStatus|}}}|{{{CurrentStatus}}}|no status assigned}}
|Has InitialEditorAssigned={{#if:{{{InitialEditorAssigned|}}}|{{{InitialEditorAssigned}}}|no editor assigned}}
|Has ICD10OldArticleLink={{#if:{{{OldDxArticle|}}}|{{{OldDxArticle}}}|no old article assigned}}
}}<noinclude>
----


==Template Use==
To use, add following to article:  
add following to article:  
<pre>{{ICD10 transition status
<pre>{{ICD10 transition status
| OldDxArticle = wiki article of old dx
| OldDxArticle = old dx wiki articles separated by ;s
| CurrentStatus = one of (freshly automatically generated article /
    has been reconciled with old dx article /
    needs review)
| InitialEditor = name, e.g. Tina Tenbergen
}} </pre>
}} </pre>


[[Category:ICD10 wiki infrastructure]]
[[Category:ICD10 wiki infrastructure]]
</noinclude>
 
----
 
 
</noinclude>{{#if:{{{OldDxArticle|}}}|{{#arraymap:{{{OldDxArticle}}}|;|x|{{#set:Has ICD10OldArticleLink=x}}}}|}}

Latest revision as of 20:40, 31 December 2018

This template was initially used to manage the transition to ICD10 codes. The only parameter that is still relevant is the link to the old article. This is encoded as a Property:Has ICD10OldArticleLink. This page no longer displays anything when called, all it does is encode the property. The value of the property is then shown by Template:ICD10 dx.

To use, add following to article:

{{ICD10 transition status
| OldDxArticle = old dx wiki articles separated by ;s
}}