AppointmentRequestScheduledAppointmentLink
This table stores links between appointment requests and appointments scheduled from them.
| Column Name | Type | Description |
|---|---|---|
| CommunityPhysicalOwnerIdentification | VARCHAR | The Community ID (CID) of the instance that owns this record or line. This is only populated if you use IntraConnect. |
| LinkedAppointmentIdentifier | NUMERIC | This column stores an identifier of the appointment linked to the request. If an appointment is canceled and then rescheduled, both the canceled appointment and the rescheduled appointment will share an appointment serial number. This column can be used to find any appointments that were ever linked to this request, even if they were canceled and rescheduled. To find the most recently-scheduled appointment for this link, use the PAT_ENC_CSN_ID column. |
| AppointmentRequestIdentifier | NUMERIC | The unique identifier (.1 item) for the appointment request record. |
| LastSeriesAppointmentContactSerialNumber | NUMERIC | This column contains the most recently scheduled appointment for the series in APPT_SERIAL_NUM. In a cancel/reschedule chain, this will be the final rescheduled appointment. If you want to find all appointments that were ever part of this link in a cancel/reschedule chain, use the APPT_SERIAL_NUM column. |
| CommunityLogOwnerIdentifier | VARCHAR | The Community ID (CID) of the instance from which this record or line was extracted. This is only populated if you use IntraConnect. |
| IsOrderReturnedToWorkqueue | VARCHAR | This column will be "Y" if the appointment link was active when the clinical order was canceled. This indicates that the appointment needs to be followed up on. Otherwise, it will be null. For appointment requests that are not clinical orders, this column will always be null. Additionally, the link status will always be 2-Disassociated if this flag is set. |
| AppointmentRequestLinkStatus | INTEGER | This column stores the status of the link between this request and the appointment specified by this row. When appointments are unlinked from the request the status is updated to an inactive status (Dissociated, Unkept, or Unlinked) instead of removing the row. Once linked to the appointment request, an appointment will typically not be removed, though its status might change. A status of 1-Scheduled indicates that the link is active, and the appointment will happen or has happened. |
| AppointmentRequestLineNumber | INTEGER | The line number for the information associated with this record. Multiple pieces of information can be associated with this record. |