dbo.SXASNSectionSource 
Default Table Name  SXASNSectionSource 
Definition  This table is used to store the source items selected for a given section within a Pull set on a Structured Note document. 

dbo.SXASNSectionSource 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  YES  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  YES  The date and time that the row was created and will be based on the Enterprise time zone. 
SectionSourceID(PK)    bigint  NO  Auto generated unique primary key value. 
SectionID(FK)    bigint  NO  A foreign key to the SectionID column in the SXASNSection table. 
ClientDocGUID    HVCIDdt  NO  Link to the document on table CV3ClientDocument 
SourceType    smallint  NO  An enumerated type with the following list of possible values: 20 = [HealthIssues],21 = [CareProviders],22 = [Referrals],23 = [Allergies],24 = [Orders],25 = [Prescriptions],26 = [MedicationProfiles],27 = [LabResults],28 = [OtherResults],29 = [Flowsheets],31 = [AssessmentAndPlan],32 = [Addendum],33 = [SignificantEvents],34 = [Disposition],35 = [OutPatientMedication],37 = [HealthIssues/Risk],38 = [HealthIssues/Differential],40 = [Additional Information],42 = [Immunizations],43 = [CancerStaging],44 = [PatientEducationLog],45 = [WellnessManager],46 = [ResultsByOrder],47 = [ResultsByTrendView],57 = [PatientInformation],58 = [Language],59 = [Pregnancy],60 = [SupportInformation],61 = [AdvancedDirective],62 = [InsuranceProviderInformation],63 = [Vital Signs],64 = [Observation Results],65 = [HealthManagement], 
SourceGUID    HVCIDdt  YES  The GUIDs selected for the given section. 
SourceLabel    varchar(50)  YES  The label used within the structured note for this section and source 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
SourceID    bigint  YES  Used when the source has a PK Identity instead of GUID (see SourceGUID) 
SourceXML    varchar(max)  YES  Field required to store XML of Pull Set Data 
SourceText    varchar(max)  YES  The text used within the structured note document for this section and source 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXASNSectionSource Primary and Unique Keys 
Key Name  Key Type  Keys 
SXASNSectionSourcePK  PrimaryKey  SectionSourceID