dbo.SXAESLocationDefault 
Default Table Name  SXAESLocationDefault 
Definition  Location defaults are now supposed to have an ability to let the user define the order as well as the visibility of the various sections of the book appointment dialog. This table will store that information. 

dbo.SXAESLocationDefault 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. 
LocationDefaultID(PK)    int  NO  Auto generated unique primary key value. 
LocationGUID    bigint  NO  The LocationGUID of the Location this default is defined for. 
LocationDefaultFlags    int  NO  Bit-Mask representing the binary attributes for Location Defaults 
ApptSearchRangeStartDays    smallint  NO  The default start search day, in days forward from the current day. 
ApptSearchRangeEndDays    smallint  NO  The default end search day, in days forward from the current day. 
ApptPriorityCode    varchar(30)  NO  The default priority code in the book appointment screen. 
ApptSearchNumOptions    smallint  NO  Indicates the number of options that the book appointment screen should search for by default. 
MCAppointmentLimit    smallint  NO  The default appointment limit on the master calendar screen. 
MCOverbookLimit    smallint  NO  The default overbook limit on the master calendar screen. 
MCDaysToBook    smallint  NO  The default days to book setting on the master calendar screen. 
MCBookingIntervalMinutes    smallint  NO  The default booking interval setting on the master calendar screen. 
MCCalViewTimeSlotMinutes    smallint  NO  The default time slot setting on the master calendar screen. 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
IsVisitRequired    bit  NO  Indicates whether or not the Event must link to a visit. 
ReminderDays    tinyint  NO  Stores Reminder Days for the location 
IsAppointmentReminder    bit  NO  Stores 0 or 1 for Setting Appointment Reminder 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
MCFreezePeriodInHours    int  NO  Stores the number of hours to start freeze prior to a calendar day. 
IsResourceListEnabled    bit  NO  Specifies whether the EnableResourceList is checked or not. 
HideInactiveResource    bit  NO  Default value to hide inactive at location level 
IsHeaderOnCalendarViewEnabled    bit  NO  Adding new column that will store the information whether to display the patient header on calendar view or not. 

dbo.SXAESLocationDefault Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAESLocationDefaultPK  PrimaryKey  LocationDefaultID