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

Intergy Version: 22.00.00.00

RxDiagnosis

Table Definition  Parent Tables  Child Tables

Table Definition

Description: This table records the diagnosis codes to support a patient prescription.

Field Datatype Default Null Option Comment
RxSID INTEGER ?   MANDATORY FK
Order INTEGER 0   MANDATORY System set order of the diagnosis codes as determined by the user.
DiagnosisCode CHAR(18)   MANDATORY FK
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.

Parent Tables
Parent TableJoin PhraseWhen deleting parent record...
Diagnosis RxDiagnosis.DiagnosisCode = Diagnosis.DiagnosisCode RESTRICT if RxDiagnosis exists
PatientRx RxDiagnosis.RxSID = PatientRx.RxSID CASCADE if RxDiagnosis exists

Child Tables
Child TableJoin PhraseWhen deleting RxDiagnosis record...