dbo.CV3AlertDeclaration 
Default Table Name  CV3AlertDeclaration 
Definition  Record of when an alert was raised and its details. An alert is a condition requiring special attention. Alerts are generated from the Clinical Decision Support (CDS) sub-system. 

dbo.CV3AlertDeclaration 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. 
Entered    datetime  YES  Not used. 
Status    varchar(10)  YES  The acknowledgement status. Either Ack or Unack 
ToBeVerified    bit  NO  Not used. 
ToBeSigned    bit  NO  Not used. 
EnterRole    varchar(30)  YES  Not used. 
UserGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3User table. 
ClientVisitGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3ClientVisit table. 
ClientGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3Client table. 
ChartGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3Chart table. 
IsChronic    bit  NO  Not used. 
ScopeLevel    char(1)  YES  Identifies if the data is applicable to the patient, chart, or visit. Comes from the Scope in the Destination clause in the MLM. 3 = General scope; 2 = Chart scope, 1 = Visit scope 
Description    varchar(60)  YES  The Short-Message from the Destination clause in the MLM. 
Text    varchar(255)  YES  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. 
OnsetDayNum    int  NO  Not used. 
OnsetMonthNum    int  NO  Not used. 
OnsetYearNum    int  NO  Not used. 
ResolvedDate    datetime  YES  Not used. 
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. 
IsIntermediateMsg    bit  NO  Identifies whether this is an intermediate alert. Set by using an IntermediateMessage type of Destination clause. 1 = True; 0 = False 
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. 
HasLongText    bit  NO  Identifies whether the text is longer than 255 characters. If so, the remaining text is stored in CV3AlertMessage. 1 = True; 0 = False 
ArrivalTime    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. 
AlertRepositoryGUID    HVCIDdt  YES  Link to corresponding initial-state alert in CV3AlertRepository.
 
SendStatus    int  YES  An enumerated type with the following list of possible values: 0 = [Do Not Send],1 = [To Be Sent],2 = [Send In Progress],3 = [Has Been Sent], 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
AcknowledgedUserGUID    HVCIDdt  YES  The GUID for the CV3User who has acknowledged the alert. 
PrimaryProviderGUID    HVCIDdt  YES  The GUID for the last provider assigned to the chart in the Care Provider Role Type that is a primary provider. 
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 
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.CV3AlertDeclaration Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3AlertDeclarationPK  PrimaryKey  GUID