dbo.SXAHMEventSeriesDefinition 
Default Table Name  SXAHMEventSeriesDefinition 
Definition  Defines the dosing rules, or the irregular series definition, associated with a property-condition group of an EventDefinition. This table is the parent of 1 to many occurrence rules that define when an occurrence will be scheduled, relative to a specific date, as well as the required spacing between the occurrences. 

dbo.SXAHMEventSeriesDefinition Columns 
ColumnName  Domain  Datatype  NULL  Definition 
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. 
TouchedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was last updated including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is 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. 
CreatedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was created including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is 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. 
EventSeriesDefinitionID(PK)    int  NO  Auto generated unique primary key value. 
Name    varchar(100)  NO  The Event Series Definition Name describes the intended functionality of the series definition, and what type of patients the series applies to. It allows users to quickly determine which event series they should use, without analyzing the actual series data. The name should be unique. 
RelativeDateType    int  NO  Enum to specify the type of date we are comparing to, such as birthdate or first contact date. 
MSRowVersion    timestamp  NO  Optimistic lock identifier using rowversion datatype. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
FirstDoseGapRulesXML    xml  YES  Contains the gap rules for the first dose. 

dbo.SXAHMEventSeriesDefinition Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAHMEventSeriesDefinitionPK  PrimaryKey  EventSeriesDefinitionID