dbo.SXAAMBSBillChargeDetail 
Default Table Name  SXAAMBSBillChargeDetail 
Definition  Detail for ilink HL7 integration 

dbo.SXAAMBSBillChargeDetail 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. 
SXAAMBSBillChargeDetailId(PK)    bigint  NO  Auto generated unique primary key value. 
SXAAMBSBillChargeHeaderId(FK)    bigint  NO  A foreign key to the SXAAMBSBillChargeHeaderId column in the SXAAMBSBillChargeHeader table. 
TransactionType    varchar(50)  NO  Transaction Type 
DateOfService    datetime  NO  visit TimeZone - DOS 
TransactionCode    varchar(30)  NO  Trans code 
LocationCode    varchar(50)  NO  Location Code 
VisitClass    varchar(50)  NO  Type of visit according to the billing classification 
DiagnosisCodeList    varchar(250)  NO  "^" delimited ICD code list .Up to 25 ICD codes 
PerformedByCode    varchar(50)  NO  Code for the performer 
OrderedByCode    varchar(50)  YES  Ordered by code 
HCPCSCode    varchar(30)  NO  Procedure HCPCS code 
CodeModifier    varchar(30)  NO  Code Modifier 
Quantity    numeric(18, 8)  NO  int 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
LocationGUID    HVCIDdt  YES  Reference to GUID in CV3Location table. This identifies the location where the SuperBill charge(s) took place. 
OrderedByProviderGUID    HVCIDdt  YES  Reference to GUID in CV3User table. Identifies the user who entered the SuperBill charge(s). 
PerformedByProviderGUID    HVCIDdt  YES  Reference to GUID in CV3CareProvider table. Identifies the Care Provider who performed the SuperBill charge(s). 
ReferredByCode    varchar(50)  YES  Referring Provider Billing Code 
NDC    varchar(20)  YES  National Drug Code 
NDCQuantity    float  YES  The billable quantity 
NDCLabel    varchar(500)  YES  Drug name and strength 
NDCConversionFactor    decimal(18, 8)  YES  The Conversion Factor translates the value of one NCPDP Standard billing unit for a particular NDC to the corresponding units for a particular HCPCS Code. 
NDCUnitOfMeasure    varchar(30)  YES  NDC unit of measure 
ReferredByProviderGUID    HVCIDdt  YES  Referring Provider, link to the CV3Careprovider.GUID 
BillingProviderGUID    HVCIDdt  YES  Billing Provider GUID, link to the CV3Careprovider.GUID 
BillingProviderCode    varchar(50)  YES  Billing Provider Identification Code 
DiagnosisCodeSetList    varchar(1000)  YES  The codeset for DiagnosisCodelist 
HCPCSCodeSet    varchar(250)  YES  The codeset for HCPCSCode 
CodeSetModifier    varchar(250)  YES  The codeset for Modifier 
UserNPICode    varchar(30)  YES  User NPI Code 
AttendingByCode    varchar(50)  YES  To save attending provider code 
AttendingByProviderGUID    HVCIDdt  YES  To save attending provider GUID 
DiagnosisCodeSetListXML    xml  YES  It saves diagnosis code set XML with their mapping codes 
HCPCSDescription    varchar(250)  YES  It saves superBill procedure description 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXAAMBSBillChargeDetail Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAAMBSBillChargeDetailPK  PrimaryKey  SXAAMBSBillChargeDetailId