Last Updated: 7/22/2025 8:42:49 PM
Intergy Version: 22.00.00.00
PatientCareProgram
Table Definition  Parent Tables  Child Tables
Table DefinitionField | Datatype | Default | Null Option | Comment |
---|---|---|---|---|
PracticeID | INTEGER | ?   | MANDATORY | FK |
PatientID | INTEGER | ?   | MANDATORY | FK |
ProgramType | CHAR(12) | Set_To_Empty_String   | MANDATORY | The type of Care Program that current Patient is participating in. Defined by lookupType PatientCareProgram. |
RecordStatus | CHAR(1) | Set_To_Empty_String   | OPTIONAL | Indicates if PatientCareProgram was previously set to active or not. Possible values: (A)ctive, (I)nactive. |
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. |
CreateStampUTC | DATETIME-TZ |   | OPTIONAL | This is a denormalized field based off the CreateStamp. This field contains the Date, Time and timezone offset. |
TimeStampUTC | DATETIME-TZ |   | OPTIONAL | This is a denormalized field based off the TimeStamp. This field contains the Date, Time and timezone offset. |
Parent Table | Join Phrase | When deleting parent record... |
---|---|---|
Patient | PatientCareProgram.PracticeID = Patient.PracticeID and PatientCareProgram.PatientID = Patient.PatientID |
CASCADE if PatientCareProgram exists |
Child Table | Join Phrase | When deleting PatientCareProgram record... |
---|---|---|
PatientCareProgramHistory | PatientCareProgramHistory.PracticeID = PatientCareProgram.PracticeID and PatientCareProgramHistory.PatientID = PatientCareProgram.PatientID and PatientCareProgramHistory.ProgramType = PatientCareProgram.ProgramType |
CASCADE if PatientCareProgramHistory exists |