dbo.SXARCMRefundInfo 
Default Table Name  SXARCMRefundInfo 
Definition  The table will contain refund transaction details 

dbo.SXARCMRefundInfo 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. 
MSRowVersion    timestamp  NO  Optimistic lock identifier using rowversion datatype. 
RefundInfoId(PK)    bigint  NO  Auto generated unique primary key value. 
TransactionId(FK)    bigint  NO  A foreign key to the TransactionID column in the SXARCMTransaction table. 
IssueRefundToId(FK)    int  NO  A foreign key to the IssueRefundToID column in the SXARCMIssueRefundTo table. 
Prefix    varchar(100)  YES  PHI: This property will store the prefix of the payer. 
Suffix    varchar(100)  YES  PHI: This property will store the suffix of the payer. 
FirstName    varchar(100)  YES  PHI: This property will store the first name of the payer. 
MiddleName    varchar(100)  YES  PHI: This property will store the middle name of the payer. 
LastName    varchar(100)  YES  PHI: This property will store the last name of the payer. 
InsurancePlan    varchar(100)  YES  PHI: This property will store the name of the insurance or Organisation name of the payer. 
Address1    varchar(300)  NO  PHI: This property will store the address line one of the payer. 
Address2    varchar(300)  YES  PHI: This property will store the address line two of the payer. 
AddressNote    varchar(100)  YES  PHI: This property will store the address note of the payer. 
City    varchar(100)  NO  PHI: This property will store the city of the payer. 
State    varchar(30)  NO  PHI: This property will the state of the payer. 
Zip    varchar(20)  NO  PHI: This property will store the zip code of the payer. 
Country    varchar(50)  NO  PHI: This property will store the country of the payer. 
PrimaryPhoneAreaCode    varchar(50)  YES  PHI: This property will store the area code of the phone number of the payer. 
PrimaryPhoneNumber    varchar(50)  YES  PHI: This property will store phone number of the payer. 
PatientId    bigint  NO  PHI: Id of Patient 
TransactionCodeMasterID(FK)    int  NO  A foreign key to the TransactionCodeMasterID column in the SXARCMTransactionCodeMaster table. 
TransactionDesc    varchar(100)  YES  PHI: This property will store the transaction desc  of the refund transaction 
TransactionAmount    decimal(15, 2)  NO  This property will store the amount of the transaction to be refunded. 
TransactionNote    varchar(100)  YES  PHI: This property will store the transaction notes. 
IsCredit    bit  NO  This property will store if the amount is to be credited.(+/-) 
TransactionYear(FK)    int  NO  A foreign key to the TransactionYear column in the SXARCMTransaction table. 
WSLineItem    varchar(100)  YES  Worksheet line item 
ServiceDate    date  NO  stores service date 
WSFromDate    date  YES  stores worksheet from date 
WSThruDate    date  YES  stores worksheet thru date 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXARCMRefundInfo Primary and Unique Keys 
Key Name  Key Type  Keys 
SXARCMRefundInfoPK  PrimaryKey  RefundInfoId