Last Updated: 7/22/2025 8:42:49 PM

Intergy Version: 22.00.00.00

RxEligRequest

Table Definition  Parent Tables  Child Tables

Table Definition

Description: This table stores Rx eligibility requests.

Field Datatype Default Null Option Comment
RxEligRequestSID INTEGER ?   MANDATORY System generated unique ID using the RxEligibility sequence.
PracticeID INTEGER ?   MANDATORY FK - From Patient
PatientID INTEGER ?   MANDATORY FK - From Patient
IsRealTime LOGICAL Logical_False   MANDATORY Yes for real time request, No for batch.
ApptSID INTEGER ?   OPTIONAL FK - From Appointment (no RFI to Appointment)
ServiceCenterID INTEGER ?   OPTIONAL FK - From Appointment (no RFI to Appointment)
TransmitStamp CHARACTER(14)   OPTIONAL Timestamp of the request transmission
ResponseStamp CHARACTER(14)   OPTIONAL Timestamp of the response reception
ResponseString CHAR(6000)   OPTIONAL data (TA1, 997, or 271) received as response
ResponseType CHAR(8)   OPTIONAL Code to represent the type of response. Ex: TA1
TimeStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was last written.
LastUser INTEGER ?   OPTIONAL User ID of user that last wrote the record.
CreateStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was created.
CreateUser INTEGER ?   OPTIONAL User ID of user that created the record.
MessageID CHAR(50) Set_To_Empty_String   OPTIONAL Message ID on eligibility check.
RxExtMessageSID INTEGER ?   OPTIONAL PK. Uses sequence for RxExtMessage.

Parent Tables
Parent TableJoin PhraseWhen deleting parent record...
RxExtMessage RxEligRequest.RxExtMessageSID = RxExtMessage.RxExtMessageSID CASCADE if RxEligRequest exists
Appointment RxEligRequest.ApptSID = Appointment.ApptSID and
RxEligRequest.PracticeID = Appointment.PracticeID and
RxEligRequest.ServiceCenterID = Appointment.ServiceCenterID
NONE if RxEligRequest exists
Patient RxEligRequest.PracticeID = Patient.PracticeID and
RxEligRequest.PatientID = Patient.PatientID
CASCADE if RxEligRequest exists

Child Tables
Child TableJoin PhraseWhen deleting RxEligRequest record...
RxEligPBMResponse RxEligPBMResponse.RxEligRequestSID = RxEligRequest.RxEligRequestSID CASCADE if RxEligPBMResponse exists