TreatmentPlanDayStatus
This table stores treatment day or pathway step information that is contact-independent, such as the treatment day/pathway step status, the reason for canceling or deferring the day/step, the ID of the treatment plan (TPL) record that contains this treatment day or the ID of the pathway (TPL) record that contains this step, etc.
| Column Name | Type | Description |
|---|---|---|
| TreatmentDayName | VARCHAR | The name of the treatment day in this row. |
| TreatmentDayDeferralReason | INTEGER | The reason for deferring the treatment day in this row. |
| TreatmentDayCancellationReason | INTEGER | The reason for canceling the treatment day in this row. |
| SmartGroupPathwayIdentifier | NUMERIC | The ID of the pathway (TPL) containing the smart group in this record. |
| LogicalDeploymentOwnerIdentifier | VARCHAR | ID of the logical deployment owner for this record. Logical owners show the deployment where the record was created but doesn't represent if the record is a part of version skew. |
| RecordType | INTEGER | The record type associated with this record. |
| PhysicalDeploymentOwnerIdentifier | VARCHAR | ID of the physical deployment owner for this record. Physical owners will be where the data is hosted, either on the cross-over server or the owner deployment. |
| TreatmentRemovalUtcDatetime | DATETIME | The the date and time when the treatment was removed. |
| RecordArchivedIndicator | VARCHAR | Indicates whether the Treatment Day record is archived at the record level. |
| TreatmentDayStatusFlag | INTEGER | Record Status Flag. Used in conjunction with the archived record flag as part of encounter archiving. |
| RecordLastUpdateTime | DATETIME | Instant when record was updated |
| IsTreatmentDayDeletedByPlanConversion | VARCHAR | Virtual item that determines if a treatment day (TRG) has been deleted by treatment plan conversion or not. A treatment day is deleted by treatment plan conversion if it was replaced or discarded in a conversion (I TPL 5052, 5053), or if it's in a snapshot cycle (I TPL 1020). |
| RemovedTreatmentUserIdentifier | VARCHAR | The unique ID of the user who removed the treatment. |
| TreatmentRemovalReasonCategoryId | INTEGER | The category ID for the treatment removal reason. This is usually the same as the internal ID. If you use IntraConnect, this is the Community ID (CID). |
| TreatmentRemovalComments | VARCHAR | The comments entered by the user who removed the treatment. |
| TreatmentDayIdentifier | NUMERIC | The treatment day ID. |
| ReconciliationEventIdentification | VARCHAR | This item contains the ID of the event used to track reconciliation actions for this day |
| RequiresReconciliationIndicator | VARCHAR | This item contains whether or not the day needs reconciliation |
| TreatmentDayStatus | INTEGER | Stores the status of the treatment day. |
| IsTreatmentDayDeleted | VARCHAR | Virtual item that determines if a treatment day (TRG) has been deleted or not. A treatment day is considered deleted if it's associated with a deleted treatment plan (VI TPL 10120), it's associated with a deleted treatment cycle (I TPL 1020), it's deleted through a normal workflow (I TPL 5050), it's no longer associated with a treatment plan, or it was soft-deleted by system administrator (I TRG 14). If it's a BMT treatment and at least one of the treatment plans associated with it is not deleted, the treatment is not deleted. |
| TreatmentDayStatusChangeComments | VARCHAR | The status change comments for the treatment day in this row. |