dbo.SXAEDI270Message 
Default Table Name  SXAEDI270Message 
Definition  PHI: Stores the 270 messages. 

dbo.SXAEDI270Message 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. 
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. 
MessageID(PK)    int  NO  Auto generated unique primary key value. 
Status    char(3)  NO  PHI: "REV": received in the DB but not yet sent to eLink; "SND": sent to eLink and pending response 
Message    xml  NO  PHI: 270 message xml. 
PatientGUID    numeric(16, 0)  NO  PHI: Identifier to the patient in the external patient system. 
InsurancePlanCode    varchar(40)  NO  PHI: Code of the insurance plan for this inquiry. 
ReceiverCode    varchar(80)  NO  PHI: Denormalized from inquiry xml. 
InsuredLastName    varchar(60)  YES  PHI: Denormalized from inquiry xml. 
InsuredFirstName    varchar(35)  YES  PHI: Denormalized from inquiry xml. 
InsuredMiddleName    varchar(35)  YES  PHI: Denormalized from inquiry xml. 
InsuredID    varchar(80)  YES  PHI: Denormalized from inquiry xml. 
InsuredSerialNum    varchar(50)  YES  PHI: Denormalized from inquiry xml. 
InsuredGender    char(1)  YES  PHI: Denormalized from inquiry xml. 
InsuredDOB    varchar(8)  YES  PHI: Denormalized from inquiry xml. 
InsuredSSN    varchar(9)  YES  PHI: Denormalized from inquiry xml. 
ServiceType    varchar(2)  YES  PHI: Denormalized from inquiry xml. 
ServiceDate    varchar(17)  YES  PHI: Denormalized from inquiry xml. 
PatientLastName    varchar(60)  YES  PHI: Denormalized from inquiry xml. 
PatientFirstName    varchar(35)  YES  PHI: Denormalized from inquiry xml. 
PatientMiddleName    varchar(35)  YES  PHI: Denormalized from inquiry xml. 
PatientDOB    varchar(8)  YES  PHI: Denormalized from inquiry xml. 
PatientGender    char(1)  YES  PHI: Denormalized from inquiry xml. 
PatientAddress    varchar(55)  YES  PHI: Denormalized from inquiry xml. 
PatientCity    varchar(35)  YES  PHI: Denormalized from inquiry xml. 
PatientState    char(2)  YES  PHI: Denormalized from inquiry xml. 
PatientZip    varchar(15)  YES  PHI: Denormalized from inquiry xml. 
PatientCountry    varchar(3)  YES  PHI: Denormalized from inquiry xml. 
CarrierName    varchar(30)  YES  PHI: Name of the carrier for this inquiry (from the external patient system). 
InsurancePlanName    varchar(40)  YES  PHI: Name of the insurance plan for the inquiry (from the external patient system). 
Facility    varchar(40)  YES  PHI: Code of the facility when the inquiry is sent out (from the external patient system) 
PatientEntity    varbinary(max)  YES  PHI: Column is needed to store binary compressed version of patient entity that was known at the time that the eligibility request is sent. 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXAEDI270Message Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAEDI270MessagePK  PrimaryKey  MessageID