Tables [dbo].[ICD9_Diagnosis_DE]
ICD9 Diaganosis
KeyNameData TypeMax Length (Bytes)NullabilityIdentityDefaultDescription
Cluster Primary Key PK_ICD9_Diagnosis_DE_ID: IDIndexes TWstat_ICD9_Diagnosis_DE_HighAge_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_InjuryTypeReqFLAG_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_IsCurrentFLAG_EntryName_ID, TWstat_ICD9_Diagnosis_DE_IsEnforcedFLAG_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_LowAge_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_SexDE_EntryName_IsCurrentFLAG_ID(6)ID[dbo].[dict_id]5NOT NULL1 - 1Key to the ICD9_Diagnosis_DE table.
EnterpriseEntryID[dbo].[uniqueid]9NOT NULLMaster (enterprise) dictionary surrogate key.  Points to Dictionary_Entry.EnterpriseEntryID
DefinitionSetID[dbo].[dict_id]5NOT NULLPoints to Dict_Definition_Set.DefinitionSetID but is typically zero.
Entry[dbo].[dict_id]5NOT NULLCalculated during insert as rowcount + 1 from Dict_Definition_Set for this dictionary and set
Indexes NIX_ICD9_Diagnosis_DE_EntryCode_WithIncludeColumns, XAK5ICD9_DIAG_DE, NIX_ICD9_Diagnosis_DE_EntryMnemonic_WithIncludeColumns, NIX_ICD9_Diagnosis_DE_EntryName_WithIncludeColumns(4)EntryCode[dbo].[code]10NOT NULLUnique alphanumeric code.  Brief but cryptic.
Indexes NIX_ICD9_Diagnosis_DE_EntryCode_WithIncludeColumns, XAK5ICD9_DIAG_DE, NIX_ICD9_Diagnosis_DE_EntryMnemonic_WithIncludeColumns, NIX_ICD9_Diagnosis_DE_EntryName_WithIncludeColumns, TWstat_ICD9_Diagnosis_DE_HighAge_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_InjuryTypeReqFLAG_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_IsCurrentFLAG_EntryName_ID, TWstat_ICD9_Diagnosis_DE_IsEnforcedFLAG_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_LowAge_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_SexDE_EntryName_IsCurrentFLAG_ID(10)EntryName[dbo].[name]255NOT NULLUnique alphanumeric "friendly" display name
Indexes NIX_ICD9_Diagnosis_DE_EntryCode_WithIncludeColumns, NIX_ICD9_Diagnosis_DE_EntryMnemonic_WithIncludeColumns, NIX_ICD9_Diagnosis_DE_EntryName_WithIncludeColumns(3)EntryMnemonic[dbo].[code]10NOT NULLTypically the same as the Code value, but can be blank.  If present, it must be unique.
Indexes NIX_ICD9_Diagnosis_DE_EntryCode_WithIncludeColumns, XAK5ICD9_DIAG_DE, NIX_ICD9_Diagnosis_DE_EntryMnemonic_WithIncludeColumns, NIX_ICD9_Diagnosis_DE_EntryName_WithIncludeColumns(4)Check Constraints CK_ICD9_Diagnosis_DE_IsInactiveFLAG_Yes_Or_No : ([IsInactiveFLAG]='N' OR [IsInactiveFLAG]='Y')IsInactiveFLAG[dbo].[BOOL]1NOT NULLY=row is not active; N=row is active.  (Rows are inactivated rather than deleted for history)
Indexes TWstat_ICD9_Diagnosis_DE_IsEnforcedFLAG_EntryName_IsCurrentFLAG_IDCheck Constraints CK_ICD9_Diagnosis_DE_IsEnforcedFLAG_Yes_Or_No : ([IsEnforcedFLAG]='N' OR [IsEnforcedFLAG]='Y')IsEnforcedFLAG[dbo].[BOOL]1NOT NULLY=row is readonly;  N=row is modifiable
Indexes NIX_ICD9_Diagnosis_DE_EntryCode_WithIncludeColumns, NIX_ICD9_Diagnosis_DE_EntryMnemonic_WithIncludeColumns, NIX_ICD9_Diagnosis_DE_EntryName_WithIncludeColumns, TWstat_ICD9_Diagnosis_DE_HighAge_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_InjuryTypeReqFLAG_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_IsCurrentFLAG_EntryName_ID, TWstat_ICD9_Diagnosis_DE_IsEnforcedFLAG_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_LowAge_EntryName_IsCurrentFLAG_ID, TWstat_ICD9_Diagnosis_DE_SexDE_EntryName_IsCurrentFLAG_ID(9)Check Constraints CK_ICD9_Diagnosis_DE_IsCurrentFLAG_Yes_Or_No : ([IsCurrentFLAG]='N' OR [IsCurrentFLAG]='Y')IsCurrentFLAG[dbo].[BOOL]1NOT NULLUsually 'Y' but occasionally used to subordinate rows.  Not exposed to the end user.
EffectiveDTdatetime8NULL allowedTime of last modification  (not "when this row goes into effect")
Indexes TWstat_ICD9_Diagnosis_DE_HighAge_EntryName_IsCurrentFLAG_IDHighAgesmallint2NOT NULLHigh Age Limit
Indexes TWstat_ICD9_Diagnosis_DE_LowAge_EntryName_IsCurrentFLAG_IDLowAgesmallint2NOT NULLLow Age Limit
Indexes TWstat_ICD9_Diagnosis_DE_SexDE_EntryName_IsCurrentFLAG_IDForeign Keys FK_ICD9_Diagnosis_DE_SexDE_Sex_DE_ID: [dbo].[Sex_DE].SexDESexDE[dbo].[dict_id]5NOT NULLGender. Foreign key to Sex_DE.ID
Indexes XAK4ICD9_DIAG_DE, XAK5ICD9_DIAG_DE(2)DisplayNamevarchar(255)255NULL allowedDisplay Name
Indexes TWstat_ICD9_Diagnosis_DE_InjuryTypeReqFLAG_EntryName_IsCurrentFLAG_IDCheck Constraints CK_ICD9_Diagnosis_DE_InjuryTypeReqFLAG_Yes_Or_No : ([InjuryTypeReqFLAG]='N' OR [InjuryTypeReqFLAG]='Y')InjuryTypeReqFLAG[dbo].[BOOL]1NOT NULL('N')Requires injury type and date