dbo.SXAESEvent 
Default Table Name  SXAESEvent 
Definition  The table is use to save the basic information of Event. 

dbo.SXAESEvent 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. 
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. 
EventID(PK)    bigint  NO  Auto generated unique primary key value. 
EventName    varchar(75)  NO  Name of the event/procedure 
IsEventGroup    bit  YES  Indicator if event is an event group (1=yes, 0=no) 
EventParentLocationGUID    bigint  YES  The parent location GUID for the event 
EventDuration    int  YES  The duration of the event in minutes 
TargetDaysBefore    int  YES  Indicates the number of days prior to target date to search. 
TargetDaysAfter    int  YES  Indicates the number of days after the target date to search. 
IsApptMemoOnly    bit  NO  Indicates if this event is only for appointment memos (1=yes, 0=no) 
IsEventGroupOnly    bit  NO  Indicates if this event is only available as part of an event group 
EventStatus    varchar(30)  NO  Indicates if event is active or not active (A,D) 
EventAliases    varchar(50)  YES  An alias for the event name 
SchedulerInstructions    varchar(1500)  YES  Instructions to the scheduler regarding the event 
PatientInstructions    varchar(1500)  YES  Instructions to the patient regarding the event 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
IsEnterpriseEvent    bit  NO  Indicates that this is an enterprise event, available in all locations 
IsChildEventOnly    bit  NO  Indicates that an event may only be a child event of a set. 
IsLinkedSet    bit  NO  Indicates that an event set should be booked in linked mode. 
IsSetNameOverrideMode    bit  NO  Indicates that the name of this event set should override the names of the individual events. 
IsSetMaintainPosition    bit  NO  Indicates that an event set should be booked in maintain position mode. 
EventType    int  NO  An enumerated type with the following list of possible values: 0 = [ES Event],1 = [Surgical Event], 
EventDescription    nvarchar(250)  YES  Column will store the description about an event in case user would want to have a meaningful names which may take more characters than allowed in Event name and shortnames. 
IsVisitRequired    bit  NO  Indicates whether or not the Event must link to a visit. 
IsAppointmentReminder    bit  NO  Stores 0 or 1 for Setting Appointment Reminder 
ReminderDays    tinyint  NO  Stores Reminder Days for the location 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
ARGBColor    int  NO  Specifies the 32 bit ARGB color value for the event 
IsLinkedEvent    bit  NO  Indicate whether event is linked or not 
ReminderCode    varchar(8)  YES  The columns used to writing into CSV file in Send and Reecive Reminder activity in Appointment Reminder feature. 

dbo.SXAESEvent Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAESEventPK  PrimaryKey  EventID