dbo.SXAAMBPatientEducationLog 
Default Table Name  SXAAMBPatientEducationLog 
Definition  This table tracks the data of the patient education log 

dbo.SXAAMBPatientEducationLog 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. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
PatEducationLogID(PK)    bigint  NO  Auto generated unique primary key value. 
ProviderGUID    HVCIDdt  YES  The provider who gave the education 
EducationDtm    datetime  NO  Enterprise TimeZone - The date the Education was given 
ModifiedDtm    datetime  YES  Enterprise TimeZone - The date the log was modified 
LocationGUID    HVCIDdt  YES  The location where education was given 
ClientVisitGUID(FK)    HVCIDdt  NO  A foreign key to the ClientVisitGUID column in the SXAAMVisitRegistration table. 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
Comment    varchar(4000)  YES  PHI: Comments related to this Patient Education experience 
PatEducationDocID(FK)    int  YES  A foreign key to the PatEducationDocID column in the SXAAMBPatientEducationDoc table. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
Code    varchar(30)  YES  This column defines the medication code number. E.g. R10.9 
CodeType    int  YES  An enumerated type with the following list of possible values: 0 = [NA],1 = [RxNorm],2 = [NDC], 
TextSearch    varchar(255)  YES  Name of the medication topic for which InfoButton is invoked 
ActionType    int  YES  An enumerated type with the following list of possible values: 0 = [Printed],1 = [Sent],2 = [Printed and Sent], 

dbo.SXAAMBPatientEducationLog Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAAMBPatientEducationLogPK  PrimaryKey  PatEducationLogID