Last Updated: 9/24/2025 12:09:38 PM
Intergy Version: 22.00.00.00
AilmentDiagnosis
Table Definition  Parent Tables  Child Tables
Table Definition| Field | Datatype | Default | Null Option | Comment |
|---|---|---|---|---|
| AilmentSID | INTEGER | ?   | MANDATORY | FK |
| UBDiagnosisType | CHAR(1) | Alpha_-_O   | MANDATORY | The type of UB diagnosis. O = Other, V = Reason for Visit, E = External Cause of Injury, A = Admitting Diagnosis. |
| OrderNumber | INTEGER | 0   | MANDATORY | Programmatically set sequential number of the diagnosis code on the ailment. |
| DiagnosisCode | CHARACTER(10) |   | 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. |
| PresentOnAdmission | CHAR(1) |   | OPTIONAL | Specifies whether or not the diagnosis was present on admission. Possible values include: Y = Yes , N = No , U = Unknown , W = Not Applicable. |
| Parent Table | Join Phrase | When deleting parent record... |
|---|---|---|
| Ailment | AilmentDiagnosis.AilmentSID = Ailment.AilmentSID | CASCADE if AilmentDiagnosis exists |
| Diagnosis | AilmentDiagnosis.DiagnosisCode = Diagnosis.DiagnosisCode | RESTRICT if AilmentDiagnosis exists |
| Child Table | Join Phrase | When deleting AilmentDiagnosis record... |
|---|