Last Updated: 9/24/2025 12:09:38 PM
Intergy Version: 22.00.00.00
PatientCareProgramHistory
Table Definition  Parent Tables  Child Tables
Table Definition| Field | Datatype | Default | Null Option | Comment |
|---|---|---|---|---|
| PracticeID | INTEGER | ?   | MANDATORY | FK - from PatientCareProgram table |
| PatientID | INTEGER | ?   | MANDATORY | FK - from PatientCareProgram table |
| ProgramType | CHAR(12) | Set_To_Empty_String   | MANDATORY | FK - from PatientCareProgram table. The type of Care Program that current Patient is participating in. Defined by lookupType PatientCareProgram. |
| HistoryCount | INTEGER | 0   | MANDATORY | Programmatically set to the next sequential number that represents the next history that occurred for the PatientCareProgram. |
| RecordStatus | CHARACTER(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... |
|---|---|---|
| PatientCareProgram | PatientCareProgramHistory.PracticeID = PatientCareProgram.PracticeID and PatientCareProgramHistory.PatientID = PatientCareProgram.PatientID and PatientCareProgramHistory.ProgramType = PatientCareProgram.ProgramType |
CASCADE if PatientCareProgramHistory exists |
| Child Table | Join Phrase | When deleting PatientCareProgramHistory record... |
|---|