Key | Name | Data Type | Max Length (Bytes) | Nullability | Identity | Default | Description |
---|
  | ID | [dbo].[dict_id] | 5 | NOT NULL | 1 - 1 | | Key to the Security_Code_DE table. |
 | DefinitionSetID | [dbo].[dict_id] | 5 | NOT NULL | | | Master (enterprise) dictionary surrogate key. Points to Dictionary_Entry.EnterpriseEntryID |
| EnterpriseEntryID | [dbo].[uniqueid] | 9 | NOT NULL | | | Points to Dict_Definition_Set.DefinitionSetID but is typically zero. |
| Entry | [dbo].[dict_id] | 5 | NOT NULL | | | Calculated during insert as rowcount + 1 from Dict_Definition_Set for this dictionary and set |
(3) | EntryCode | [dbo].[code] | 10 | NOT NULL | | | Unique alphanumeric code. Brief but cryptic. |
(4) | EntryName | [dbo].[name] | 255 | NOT NULL | | | Unique alphanumeric "friendly" display name |
(3) | EntryMnemonic | [dbo].[code] | 10 | NOT NULL | | | Typically the same as the Code value, but can be blank. If present, it must be unique. |
(3)![Check Constraints CK_Security_Code_DE_IsInactiveFLAG_Yes_Or_No : ([IsInactiveFLAG]='N' OR [IsInactiveFLAG]='Y') Check Constraints CK_Security_Code_DE_IsInactiveFLAG_Yes_Or_No : ([IsInactiveFLAG]='N' OR [IsInactiveFLAG]='Y')](../../../../Images/c-constraint.png) | IsInactiveFLAG | [dbo].[BOOL] | 1 | NOT NULL | | | Y=row is not active; N=row is active. (Rows are inactivated rather than deleted for history) |
![Check Constraints CK_Security_Code_DE_IsEnforcedFLAG_Yes_Or_No : ([IsEnforcedFLAG]='N' OR [IsEnforcedFLAG]='Y') Check Constraints CK_Security_Code_DE_IsEnforcedFLAG_Yes_Or_No : ([IsEnforcedFLAG]='N' OR [IsEnforcedFLAG]='Y')](../../../../Images/c-constraint.png) | IsEnforcedFLAG | [dbo].[BOOL] | 1 | NOT NULL | | | Y=row is readonly; N=row is modifiable |
(4)![Check Constraints CK_Security_Code_DE_IsCurrentFLAG_Yes_Or_No : ([IsCurrentFLAG]='N' OR [IsCurrentFLAG]='Y') Check Constraints CK_Security_Code_DE_IsCurrentFLAG_Yes_Or_No : ([IsCurrentFLAG]='N' OR [IsCurrentFLAG]='Y')](../../../../Images/c-constraint.png) | IsCurrentFLAG | [dbo].[BOOL] | 1 | NOT NULL | | | Usually 'Y' but occasionally used to subordinate rows. Not exposed to the end user. |
| EffectiveDT | datetime | 8 | NULL allowed | | | Time of last modification (not "when this row goes into effect") |
![Check Constraints CK_Security_Code_DE_AllowOverrideFLAG_Yes_Or_No : ([AllowOverrideFLAG]='N' OR [AllowOverrideFLAG]='Y') Check Constraints CK_Security_Code_DE_AllowOverrideFLAG_Yes_Or_No : ([AllowOverrideFLAG]='N' OR [AllowOverrideFLAG]='Y')](../../../../Images/c-constraint.png) | AllowOverrideFLAG | [dbo].[BOOL] | 1 | NOT NULL | | | Y/N (not settable in the app) |
| Message | [dbo].[message] | 255 | NOT NULL | | (' ') | not used |
| AccessTypes | int | 4 | NULL allowed | | | Access Types |
| IsConfidentialFLAG | [dbo].[BOOL] | 1 | NOT NULL | | ('N') | Confidential Flag for Security Code. When "Y" then Only Users with this Security Code can see the Document. |
![Foreign Keys FK_Security_Code_DE_FHIRSecurityLabelID: [dbo].[FHIR_Security_Label].FHIRSecurityLabelID Foreign Keys FK_Security_Code_DE_FHIRSecurityLabelID: [dbo].[FHIR_Security_Label].FHIRSecurityLabelID](../../../../Images/fk.png) | FHIRSecurityLabelID | [dbo].[uniqueid] | 9 | NOT NULL | | ((0)) | FHIR Security Label. Reference to FHIR_Security_Label.ID column |
| IncludeInExportFLAG | [dbo].[BOOL] | 1 | NOT NULL | | ('N') | Documents need this Security code to be exported with EHI Export |