Difference between revisions of "Code Types"

From OpenEMR Project Wiki
Line 68: Line 68:
|<span style="color:red">CPTII</span>
|<span style="color:red">CPTII</span>
|''104''
|''104''
|CPTII Codes
|Performance Measure Codes
|-
|-
|<span style="color:red">ICD9-SG</span>
|<span style="color:red">ICD9-SG</span>

Revision as of 23:37, 7 July 2012

Code Types

Current Code Types

ct_key ct_id description
CPT4 1 Procedure/Service Codes
ICD9 2 Diagnosis Codes
HCPCS 3 Procedure/Service Codes
OPCS 6 Sports Medicine Procedure Codes
PTCJ 7 Sports Medicine Physiotherapy Codes
OSICS10 9 Sports Medicine Diagnosis Codes
SMPC 10 Sports Medicine Radiology Codes
IPPF 11 Family Planning Statistical Codes
MA 12 Family Planning Service Codes
ACCT 13 Family Planning Accounting Codes
REF 16 Family Planning Referral Codes
CVX 100 Immunization Codes
DSMIV 101 Diagnostic and Statistical Manual of Mental Disorders, 4th edition
ICD10 102 The International Statistical Classification of Diseases and Related Health Problems, 10th Revision
SNOMED 103 Systematized Nomenclature of Medicine
CPTII 104 Performance Measure Codes
ICD9-SG 105 Procedure/Service Codes
ICD10-PCS 106 Procedure/Service Codes

LEGEND:

RED - Mandatory setting for this code type
Italic - Optional setting for this code type (ie. the ct_id can be anything greater than or equal to 100 for this code type)
  • Note the ct_key and ct_id are columns from the sql 'code_types' table and that the ct_id column is equal to the code_type column of entries in the sql 'codes' table.

Mechanism for adding Code Types

Can be done in Administration->Lists->Code Types.

If using a code type above, recommend using the same ct_key and ct_id values as above. If creating a new code type, then recommend making sure the ct_id is greater than 100.

Code Type Issues

Two elements in the code_types table were considered to be invariant. The ct_key element which holds a text identifier and the ct_id element which holds an id identifier. Changes either of these for ICD9, CPT4, or HCPCS can cause problems. To support allowance of incorporating new code sets in OpenEMR version upgrades, it is important to code new sets in a way that only the ct_key is invariant (ie. the ct_id does not need to be a pre-determined number). An example of this is the CVX codeset that was added in OpenEMR version 4.1. When adding this type of codeset, we are using a ct_id above 100 to ensure we don't affect any current users that have added their own code types during the upgrade process.

Things TO DO:
1. Increase size of the code_type mysql column in the codes table (COMPLETED 7/6/2012)
2. Add a ct_label element to the code types, which can be used to hold a user friendly label. Then incorporate this label where needed in the codebase. (THIS PART IS DONE)
3. Consider trying to phase away the ct_id identifier.