code_types


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ct_key VARCHAR 15 null

short alphanumeric name

ct_id INT 10 null

numeric identifier

ct_seq INT 10 0

sort order

ct_mod INT 10 0

length of modifier field

ct_just VARCHAR 15 ''

ct_key of justify type, if any

ct_mask VARCHAR 9 ''

formatting mask for code values

ct_fee BOOLEAN 3 0

1 if fees are used

ct_rel BOOLEAN 3 0

1 if can relate to other code types

ct_nofs BOOLEAN 3 0

1 if to be hidden in the fee sheet

ct_diag BOOLEAN 3 0

1 if this is a diagnosis type

ct_active BOOLEAN 3 1

1 if this is active

ct_label VARCHAR 31 ''

label of this code type

ct_external BOOLEAN 3 0

0 if stored codes in codes tables, 1 or greater if codes stored in external tables

ct_claim BOOLEAN 3 0

1 if this is used in claims

ct_proc BOOLEAN 3 0

1 if this is a procedure type

ct_term BOOLEAN 3 0

1 if this is a clinical term

ct_problem BOOLEAN 3 0

1 if this code type is used as a medical problem

ct_drug BOOLEAN 3 0

1 if this code type is used as a medication

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc ct_key
ct_id Must be unique Asc ct_id

Relationships