dbo.CV3Address 
Default Table Name  CV3Address 
Definition  The address of a client, user, or location. 

dbo.CV3Address 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. 
Line1    varchar(64)  YES  PHI: Line 1 of the address. 
Line2    varchar(50)  YES  PHI: Line 2 of the address. 
Line3    varchar(50)  YES  PHI: Line 3 of the address. 
City    varchar(35)  YES  PHI: The name of the city. 
CountryCode    varchar(30)  YES  PHI: The name of the country. 
PostalCode    varchar(15)  YES  PHI: The postal code or Zip code. 
PhoneNumber    varchar(40)  YES  PHI: The phone number. Mostly use to store the “Facility”/”Confidential Visit” phone number. 
AreaCode    varchar(10)  YES  PHI: The area code. Mostly use to store the “Facility”/”Confidential Visit” area code.
 
IsCurrent    bit  NO  This column is obsolete. 
EffectiveDate    datetime  YES  The date the address is effective. 
ExpiryDate    datetime  YES  The date the address expires. 
ParentGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3Client table. 
ClientVisitGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3ClientVisit table. 
TypeCode    varchar(15)  YES  The type of address. 
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) 
CountryDvsnCode(FK)    varchar(30)  YES  A foreign key to the Code column in the CV3CountryDivision table. 
ScopeLevel    char(1)  YES  Identifies if the data is has a scope of General, Chart, or Visit. 3 = General scope; 2 = Chart scope; 1 = Visit scope 
Status    varchar(10)  YES  Indicates the address status. Active or Inactive. 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
County    varchar(50)  YES  PHI: County name 
IsIncomplete    bit  NO  Indicates whether the user bypassed validation when the address information was entered by checking the "Complete Information Not Available" checkbox in the UI. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.CV3Address Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3AddressPK  PrimaryKey  GUID