dbo.CV3DataItem 
Default Table Name  CV3DataItem 
Definition  A user-defined data element that the facility wishes to capture during order entry, specimen entry, etc. For example: Date/Time of last meal; Misc comments. 

dbo.CV3DataItem 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. 
Code    varchar(40)  YES  The unique identifier for the data item. 
Description    varchar(40)  YES  The description of the data item. 
DataTypeCode    varchar(30)  YES  The data type (for example, free format text, check box, etc.). 
OrderTypeCode    varchar(30)  YES  The Order Type (Medication, Diagnostic, or Other). 
DictionaryName    varchar(30)  YES  Identifies the dictionary from which users can select valid values. 
IsHVCField    bit  NO  Indicates if this data item is pre-defined by Sunrise Clinical Manager. 1 = True; 0 = False 
MaxLen    int  NO  The maximum length of this field. Applicable to Free Format and Numeric fields only 
NumLines    int  NO  The maximum number of lines. Applicable to Free Format only 
Type    int  NO  One of Order, Insurance, Task, or Visit List. 
IsCarryFwdUserData    bit  NO  Indicates if data entered will be carried forward into other orders entered during the same session. 1 = True; 0 = False 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
EnterpriseEntityPathway    varchar(1000)  YES  Stores the dot-delimited string describing the pathway of an entity in the Sunrise Financial Manager Enterprise Entity object hierarchy 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
NumericFormat    varchar(30)  YES  column will store Numeric Format fields 

dbo.CV3DataItem Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3DataItemPK  PrimaryKey  GUID