Template:DX tag: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
m make start and stop optional, will only show if populated
mNo edit summary
Line 8: Line 8:
| style="background:silver; color:arsenic" align="right"|  
| style="background:silver; color:arsenic" align="right"|  
'''Type: '''
'''Type: '''
|[[:Category:{{{2|}}}|{{{2|}}}]]
|
{{#if:{{{2|}}}|[[:Category:{{{2|}}}|{{{2|}}}]]|[[:Category:Medical Problem|Medical Problem]]}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''Main Diagnosis: '''
| style="background:silver; color:arsenic" align="right"| '''Main Diagnosis: '''

Revision as of 16:41, 7 November 2017

edit dx infobox
Category/Organ
System:
[[:Category:|]]

Type:

Medical Problem

Main Diagnosis:
Sub Diagnosis:
Diagnosis Code:
Comorbid Code:
Comorbid Points:
Program:
Status:


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

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.

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.