dbo.SXARCMStatementVisitInfo 
Default Table Name  SXARCMStatementVisitInfo 
Definition  Stores Visit Data for statement 

dbo.SXARCMStatementVisitInfo 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. 
MSRowVersion    timestamp  NO  Optimistic lock identifier using rowversion datatype. 
StatementVisitInfoId(PK)    bigint  NO  Auto generated unique primary key value. 
StatementArtifactID(FK)    bigint  NO  A foreign key to the StatementArtifactID column in the SXARCMStatementArtifact table. 
ClientId    HVCIDdt  YES  Contains the Client Id for which it was created 
visitId    HVCIDdt  YES  Contains the visit Id for which it was created 
VisitStatus    char(3)  YES  Contains the Visit Status for which it was created 
InternalVisitStatus    char(3)  YES  Contains the Internal Visit Status for which it was created 
ChartGUID    HVCIDdt  YES  Contains the ChartGUID 
AdmitDtm    datetime  YES  PHI: Contains the Admitted date 
DischargeDtm    datetime  YES  PHI: Contains the Discharged date 
VisitIDCode    char(20)  YES  Contains the VisitIDCode for which it was created 
CareLevelCode    char(15)  YES  Contains the Care Level Code for which it was created 
VisitTypeCareLevelGUID    HVCIDdt  YES  Contains the VisitTypeCareLevelGUID 
ClientDisplayName    varchar(50)  YES  PHI: Contains the Client Display Name 
ProviderDisplayName    varchar(50)  YES  Contains the Provider Display Name 
CurrentLocationGUID    HVCIDdt  YES  Contains the Current Location GUID 
DischargeDisposition    varchar(75)  YES  Contains the Discharge Disposition 
DischargeLocation    varchar(75)  YES  Contains the Discharge Location 
Note    varchar(255)  YES  Contains the Visit Note 
DischargeNote    varchar(100)  YES  PHI: Contains the Discharge Note 
IsCompleteRegistration    bit  NO  Contains the Complete Registration status 
IsShortNoticeAdmit    bit  NO  Contains the Short Notice Admit status 
IsPendingDischarge    bit  NO  Contains the Pending Discharge status 
ReferringFacility    varchar(75)  YES  Contains the Referring Facility 
CopaymentDue    decimal(10, 2)  YES  Contains the Co payment Due of visit 
CopaymentDueSource    varchar(30)  YES  Contains the Copayment Due Source detail 
DeductibleDue    decimal(10, 2)  YES  Contains the Deductible Due 
DeductibleDueSource    varchar(30)  YES  Contains the Deductible Due Source detail 
MammographyCertNum    varchar(25)  YES  Contains the Mammography Certificate Number 
AdmitSource    varchar(30)  YES  Visit Admit Source like HMO Referral 
AdmitType    varchar(30)  YES  Visit Admit Type like Emergency 
DischargeInstruction    varchar(15)  YES  Reason for Discharge 
DischargeCondition    varchar(15)  YES  Discharge Condition like recover 
SpecialProgramIndicator    varchar(30)  YES  Special Program Indicator information 
WorkSheetYear(FK)    int  NO  A foreign key to the WorkSheetYear column in the SXARCMStatementArtifact table. 
GuarantorID    bigint  YES  Contains the Guarantor unique ID 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
GroupPracticeID(FK)    int  YES  A foreign key to the GroupPracticeID column in the SXAAMGroupPractice table. 
VisittypeDesc    varchar(15)  YES  store visit type description 

dbo.SXARCMStatementVisitInfo Primary and Unique Keys 
Key Name  Key Type  Keys 
SXARCMStatementVisitInfoPK  PrimaryKey  StatementVisitInfoId