dbo.CV3UserAlertDeclaration 
Default Table Name  CV3UserAlertDeclaration 
Definition  This is a parallel table to the CV3AlertDeclaration, required to avoid conflicts arising with existing reports that run against the CV3AlertDeclaration table.. 

dbo.CV3UserAlertDeclaration Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  NO  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)  NO  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  NO  The date and time that the row was last updated and will be based on the Enterprise time zone. 
CreatedBy    varchar(50)  NO  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  NO  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. 
Status    varchar(50)  YES  The acknowledgement status. Either Ack or Unack 
UserGUID    HVCIDdt  YES  A link to the User  
DesignatedUserGUID    HVCIDdt  YES  The user who the alert is to be displayed to. Often will be the same as the UserGUID. 
ClientVisitGUID    HVCIDdt  YES  A link to the Client Visit 
ClientGUID    HVCIDdt  YES  A link to the Client 
ChartGUID    HVCIDdt  YES  Link to the CV3Chart table 
Description    varchar(60)  YES  The Short-Message from the Destination clause in the MLM. 
Text    varchar(max)  YES  PHI: The text of the alert. If the text is longer than 155 characters, the first 255 characters are stored here, and the rest are stored in CV3AlertMessage. 
CharacteristicNumber    char(4)  YES  Indicates whether or not the alert was presented to the user, and if it was presented, what action the user took 
ApplicSource    char(5)  YES  The name of the application that generated the alert. Either CV (Sunrise Clinical Manager) or SCH (CDS server) 
TypeCode    varchar(30)  YES  The Alert-Type from the Destination clause in the MLM. Must be a valid item in the Alert Type dictionary 
PriorityCode    varchar(30)  YES  The Priority from the Destination clause in the MLM. Either High, Medium, or Low 
AcknowledgedUserName    varchar(50)  YES  PHI: The name of the user who acknowledged the alert. 
AcknowledgedDtm    datetime  YES  The date and time the alert was acknowledged. 
EventType    varchar(80)  YES  The event that triggered the MLM. See the Arden Extensions for Use with Medical Logic Modules chapter in the Clinical Decision Support Configuration Guide 
MLMName    varchar(80)  YES  The name of the MLM that generated the alert. 
PObjectName    varchar(30)  YES  The class name of the object which triggered the MLM (for example, Order, Result, etc.). See the Arden Extensions for Use with Medical Logic Modules chapter in the Clinical Decision Support Configuration Guide 
PObjectGUID    HVCIDdt  YES  The GUID of the object that triggered the MLM. 
RuleGroup    varchar(255)  YES  The Rule-Group from the Destination clause in the MLM. 
RuleNumber    int  NO  The Rule-Number from the Destination clause in the MLM. 
MLMStatus    int  NO  The status of the MLM that generated the alert. 4 = Production; 3 = Beta 
AlertComments    varchar(255)  YES  An optional comment that may be entered when the alert is acknowledged. 
ArrivalDtm    datetime  YES  The arrival date-time of the alert at the master database. 
NotificationID    varchar(128)  YES  For internal use. Contains the ID of the alert in the external notification system 
UserAlertRepositoryGUID    HVCIDdt  YES  Link to corresponding initial-state alert in CV3UserAlertRepository. 
AcknowledgedUserGUID    HVCIDdt  YES  The GUID for the CV3User who has acknowledged the alert. 
Urgency    int  YES  A numeric value of 0 thru 99 used to sort alerts by their urgency level as set by an MLM. Default value is 50. 
RuleSubGroup    varchar(255)  YES  Used for alert filtering purposes  
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
Abstract    varchar(2000)  YES  PHI: Value from the Alert_Abstact property of an MLMs Destination clause. 
AsyncCommentRqmtType    tinyint  YES  Async Dialog Setting for Comments 
AsyncDocumentRqmtType    tinyint  YES  Async Dialog Setting for Documents 
DocumentName    varchar(60)  YES  Structured Note Document Name 
DocumentConditionalText    varchar(4000)  YES  Conditions for Must Acknowledge 
AckCommentUDDD    varchar(30)  YES  User Defined Data Dictionary for Comment 
IsRestrictedAckCommentUDDD    bit  YES  Is the User Defined Data Dictionary Restricted 
RenderAsType    int  YES  Enumeration that specifies how the alert text should be rendered on the UI (RTF or HTML) 
ReferenceText    varchar(max)  YES  Contains reference information for the alert 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.CV3UserAlertDeclaration Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3UserAlertDeclarationPK  PrimaryKey  GUID