dbo.CV3ClientName 
Default Table Name  CV3ClientName 
Definition  Alias names for a client. 

dbo.CV3ClientName 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. 
FirstName    varchar(35)  YES  PHI: The client's first name. Always in uppercase 
LastName    varchar(35)  YES  PHI: The client's last name. Always in uppercase 
MiddleName    varchar(35)  YES  PHI: The client's middle name. Always in uppercase 
Title    varchar(20)  YES  PHI: The client's title. 
NameTypeCode    char(1)  YES  The type of name. 
SoundexCode    char(4)  YES  PHI: The beginning characters of the client's name. Used when finding a visit by client name 
PersonGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3Client table. 
LastNameMask    int  NO  PHI: A bit mask that indicates which letters should be capitalized in the last name. If bit is on, the corresponding letter should be capitalized 
FirstNameMask    int  NO  PHI: A bit mask that indicates which letters should be capitalized in the first name. If bit is on, the corresponding letter should be capitalized 
ClientVisitGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3ClientVisit table. 
Status    varchar(10)  YES  The status of the client name. 
ApplicSource    char(5)  YES  Identifies which Eclipsys application was used to enter the information. Either CV (Sunrise Clinical Manager), ADT (ADT interface), or LAB (LAB interface) 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
Degree    varchar(30)  YES  PHI: Degree deformalized from SXAAMDegree 
Suffix    varchar(30)  YES  PHI: Suffix deformalized from SXAAMSuffix 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.CV3ClientName Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3ClientNamePK  PrimaryKey  GUID