dbo.CV3User 
Default Table Name  CV3User 
Definition  Contains user account information (user name, last name, first name, etc.) 

dbo.CV3User Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  YES  Identifies the unique distributed database ID where the row was inserted. Distributed databases are no longer supported so this column is deprecated. 
RepFlags    tinyint  YES  Indicates the action in a distributed database environment. Distributed databases are no longer supported so this column is deprecated. 
Build    int  NO  Identifies the build number and patch level of the software that inserted/updated this row. The format is the Build number followed by 3 digits for the patch level which is typically 000. The build number is tied to specific versions of the software, e.g. Sunrise 15.3 is Build 5021, Sunrise 16.3 is Build 5503. 
TouchedBy    varchar(50)  YES  Information about the user that last updated the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
TouchedWhen    datetime  YES  The date and time that the row was last updated and will be based on the Enterprise time zone. 
CreatedBy    varchar(50)  YES  Information about the user that created the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
CreatedWhen    datetime  YES  The date and time that the row was created and will be based on the Enterprise time zone. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
GUID(PK)    HVCIDdt  NO  Unique primary key value. 
BirthDayNum    int  NO  PHI: Not used. The day of birth. 
BirthMonthNum    int  NO  PHI: Not used. The month of birth. 
BirthYearNum    int  NO  PHI: Not used. The year of birth. 
DeceasedDtm    datetime  YES  PHI: Not used The deceased date. 
DisplayName    varchar(50)  YES  PHI: The LastName, FirstName MiddleName. 
FirstName    varchar(35)  YES  PHI: The first name. 
LastName    varchar(35)  YES  PHI: The last name. 
MiddleName    varchar(35)  YES  PHI: The middle name. 
Title    varchar(20)  YES  PHI: Not used. The title. 
ReligionCode    varchar(20)  YES  PHI: Not used. The religion. 
LanguageCode    varchar(20)  YES  PHI: not used The language. 
GenderCode    varchar(15)  YES  PHI: Not used. The gender. 
RaceCode    varchar(20)  YES  PHI: Not used. The race. 
MaritalStatusCode    varchar(15)  YES  PHI: Not used. The marital status. 
OccupationCode    varchar(30)  YES  PHI: The occupation. 
IDCode    varchar(30)  YES  The system logon ID. 
OrderRoleType    varchar(30)  YES  The type of ordering role this user will have when entering orders. From OrderRoleType dictionary 
EffectiveDtm    datetime  YES  The user effective date. 
ExpiryDtm    datetime  YES  The user expiration date. Individual expiration dates must precede the security group assignment expiration date 
PasswordExpInterval    int  NO  Not used. The number of days a password is active. Zero indicates the user password will never expire 
OrgUnitGUID    HVCIDdt  YES  The link to the organizational unit. 
IsFirstLogon    bit  NO  Not used. Indicates the first logon. 1 = True; 0 = False 
LastPswdChng    datetime  YES  Not used. Indicates the date of the last password change. 
PWAccess    varchar(60)  YES  Not used. The system encrypted password. 
IsSecurityOfficer    bit  NO  Indicates security officer status. 1 = True; 0 = False 
CreateDBAccount    bit  NO  Indicates that an account is created in the database. 1 = True; 0 = False 
EmailAddress    varchar(100)  YES  PHI: The email address. 100 character maximum 
Initials    varchar(4)  YES  The initials. 
Locked    tinyint  YES  Not used. Indicates whether or not the user's account is locked. 
LockedWhen    datetime  YES  Not used. The time when the account was locked. 
FailCount    int  YES  Not used. The number of sequential failed attempts from the fail start time. 
FailStart    datetime  YES  Not used. The time of the first failed attempt since the last successful logon. 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
IsSHMActive    bit  NO  Specifies whether this user is active in Secure Health Messaging. 
UserType    int  NO  An enumerated type with the following list of possible values: 1 = [SXA User],2 = [Care Provider],3 = [Client], 
FSSUserID    varchar(30)  YES  Contains an HSS user ID that is mapped to CV3User account 
FSSUserDomain    varchar(50)  YES  PHI: Contains an HSS domain information assigned an HSS user account that is mapped to CV3User account 
IsSyncFSSUserNames    bit  NO  Indicates if First Name, Last Name and Middle Name should be sync up with FSS account 
UMPStatus    tinyint  NO  0 indicates the user has not been migrated to UMP(User Management Portal).
1 indicates the user has been migrated to UMP.
Note: At present we only required 0 and 1 status but in future we may required more 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
AllscriptsID    uniqueidentifier  YES  Shield service user's AllscriptsID 

dbo.CV3User Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3UserPK  PrimaryKey  GUID