Template:DX tag

From CCMDB Wiki
Revision as of 14:26, 2015 July 22 by Ttenbergen (talk | contribs) (This template's DX code field is inconsistently used, and the dates are often not added, so we won't be able to use this with SMW as is.)
Jump to navigation Jump to search
Category/Organ
System:
[[:Category:{{{1}}}|{{{1}}}]]
Type: {{{2}}}
Main Diagnosis: {{{3}}}
Sub Diagnosis: {{{4}}}
Diagnosis Code: {{{5}}}
Comorbid Code: {{{6}}}
Comorbid Points: {{{7}}}
Program: {{{8}}}
Status: {{{9}}}
Start Date: {{{10}}}
Stop Date: {{{11}}}

[[Category:{{{1}}}]]

The previous line will add every diagnosis to a category with name of applicable organ system.


This template implements a standard Diagnosis Table and is to be used in the top right corner of all diagnoses.

This template's DX code field is inconsistently used, and the dates are often not added, so we won't be able to use this with SMW as is.

Parameter 1, 2, 3 - DX identifier

  • 1 - Organ System (Respiratory, Cardiovascular,
  • 2 - Type: Surgical Procedure, Diagnostic procedure, Medical Problem
  • 3 - Main Diagnosis
  • 4 - Sub diagnosis
  • 5 - diagnosis code - As written in the s_alldiagnoses
  • 6 - Comorbid Code - Yes or No
  • 7 - Comorbid Points - 0 to 6

Parameter 8: Program

Possible values for Program are "Medicine", "Critical Care" or "Critical Care and Medicine".

Parameter 9 - status

Possible values for Status are "Currently Collected" or "Legacy".

Parameter 10, 11 - start and stop date

  • 10 - start date
  • 11 - stop date

To facilitate its use, enter

{{subst:Dx_tag_maker}}

at the beginning of your diagnosis and save. It will generate the code to call this template with meaningful placeholders.