PatientOutreachCommunicationTrac
This table contains information about communication traces.
| Column Name | Type | Description |
|---|---|---|
| OutreachIdentifier | NUMERIC | The unique identifier (.1 item) for the outreach record record. |
| CommunicationDeliveryLocalInstant | DATETIME | The local instant that that the message was delivered (or as close as we can detect it). |
| CloudReceivedLocalDateTime | DATETIME | The local instant that cloud reports having received this message. |
| CommunicationTraceContent | VARCHAR | The content for the trace. This string should be UTF-8 encoded. The cloud foundation API limits characters to 1500. While not a perfect comparison using server logic, this item also uses 1500. A pure W1252 message is capped at 1500. With UTF8 characers taking various numbers of bytes, a UTF8 message may a lower limit, but that would be based on the characters used. |
| TotalMessageSegments | INTEGER | The number of individual messages that the underlying gateway actually sent for this one message. |
| ReferralNotificationHistoryKey | INTEGER | The line in the notification history table of the associated RFL this communication contact corresponds to. |
| CloudReceiptUniversalTimeDateTime | DATETIME | The UTC instant that cloud reports having received this message. |
| CommunicationTraceContactSerialNumber | NUMERIC | The contact serial number (CSN) of the contact. |
| OutreachTemplateSettingIdentification | NUMERIC | Contains the base template that was sent for this trace. |
| ReceivingUserIdentification | VARCHAR | If the recipient for the trace has an EMP, this should point to it. |
| SendExpirationDatetime | DATETIME | Local time after which this message should NOT be sent. |
| SentToNetworkDatetime | DATETIME | UTC instant the status of this trace was updated to Sent, indicating the message has been passed on to the network. |
| OutreachExternalNumber | VARCHAR | The external number associated with this trace. Data should be stored in E.164 format. The external number is the "to" number when sending from Epic, and the "from" number when receiving a mobile-originated message. |
| OutreachContactNumber | INTEGER | Stores contact number. |
| CommunicationTraceVendorTransmissionInstant | DATETIME | UTC instant the status of this trace was updated to PENDING, indicating the message has been passed from cloud to the vendor. |
| TraceSentToCloudTimestamp | DATETIME | Local instant that this trace was actually sent. |
| Communication | DATETIME | UTC instant the status of this trace was updated to Failed, indicating the message delivery has failed. |
| RecipientAccountIdentification | NUMERIC | If the recipient for the trace has an EAR, this should point to it. |
| ParentCommunicationTraceContactSerialNumber | NUMERIC | Contains a link to the CSN of the trace contact this current trace is in response to. |
| ResponsibleBusinessSegmentRecordIdentifier | NUMERIC | Contains the business segment (EAF) record responsible for the message. |
| DatabaseReceivedUtcDatetime | DATETIME | The UTC instant that cache received this message. |
| PreCommunicationWindowSendRequestDateTime | DATETIME | UTC instant that this trace was requested to be sent before applying communication window restrictions. |
| DatabaseCacheReceivedLocalInstant | DATETIME | The local instant that cache received this message. |
| CloudMessageIdentification | VARCHAR | The message ID for this trace that was assigned from the cloud/gateway. |
| CommunicationTracePriority | INTEGER | The priority for this trace. A value from 1-99 (inclusive) where 1 is high and 99 is low. Code should not set arbitrary values, code should use one of the predefined priority buckets using constants, eg: $$ecsConstPriorityMedium(). |
| RecipientMyChartPortalIdentification | VARCHAR | If the recipient for the trace has a WPR, this should point to it. |
| RequestedLanguageIdentifier | NUMERIC | Contains the language that was requested for this trace. |
| RecipientPatientRelationshipIdentifier | NUMERIC | If the recipient for the trace has a RLA, this should point to it. |
| RootOutreachWorkflowSettingIdentification | NUMERIC | Contains the root base workflow associated with the template sent to start the conversation this trace is a part of. |
| SubjectPatientIdentification | VARCHAR | If this trace was about a specific patient, then this item should point to that patient. Note that the patient need not necessarily be a recipient. |
| RequestedSendUniversalTimeCoordinate | DATETIME | UTC that this trace was requested be sent. |
| CommunicationTraceSendRequestInstant | DATETIME | Local instant that this trace was requested be sent. |
| SendRequestPreCommunicationWindowUtcDatetime | DATETIME | UTC instant that this trace was requested to be sent before applying communication window restrictions. |
| MessagePassedToVendorUtcTimestamp | DATETIME | UTC instant the status of this trace was updated to PENDING, indicating the message has been passed from cloud to the vendor. |
| OutreachGrouperSettingIdentifier | NUMERIC | The Communication Grouper record associated with this trace. |
| MessageSortInstant | DATETIME | UTC instant that represents when the message was sent or received. |
| MessageDeliveryUniversalTime | DATETIME | The UTC instant that that the message was delivered (or as close as we can detect it). |
| CommunicationTraceOwnerCommunityIdentifier | VARCHAR | The Community ID (CID) of the instance that owns this contact. This is only populated if you use IntraConnect. |
| RecipientPatientIdentification | VARCHAR | If the recipient for the trace has an EPT, this should point to it. |
| IsFromLegacyContentIndicator | VARCHAR | If the content of this trace came from legacy content that was passed into the cache API, this flag should be set to indicate that this content DID NOT come from ECS build. |
| OutreachFacilityIdentifier | NUMERIC | Contains the location (EAF) record responsible for the message. |
| SenderSettingIdentifier | NUMERIC | The sender record used to send this trace. |
| MessageRecallActionIdentifier | NUMERIC | Recall (SSA record) related to an outreach message |
| MessageSortInstantUtcTimestamp | DATETIME | UTC instant that represents when the message was sent or received. |
| CommunicationTraceFailedInstant | DATETIME | UTC instant the status of this trace was updated to Failed, indicating the message delivery has failed. |
| OutreachContactDate | DATETIME | The date of this contact in calendar format. |
| OutreachFacilityIdentifier | NUMERIC | Contains the facility (EAF) record responsible for the message. |
| OutreachTraceSentToCloudUtcDatetime | DATETIME | UTC that this trace was actually sent. |
| NetworkSentTimestampUtc | DATETIME | UTC instant the status of this trace was updated to Sent, indicating the message has been passed on to the network. |
| UniqueContactDateTimeIdentifier | FLOAT | A unique contact date in decimal format. The integer portion of the number indicates the date of contact. The digits after the decimal distinguish different contacts on the same date and are unique for each contact on that date. For example, .00 is the first/only contact, .01 is the second contact, etc. |
| InternalPhoneNumber | VARCHAR | The internal number associated with this trace. Data should be stored in E.164 format. The internal number is the "from" number when sending from Epic, and the "to" number when receiving a mobile-originated message. |
| GuarantorAccountIdentification | NUMERIC | If this trace was about a specific guarantor, then this item should point to that guarantor. Note that the guarantor need not necessarily be a recipient. |
| CommunicationTraceStatus</blockquote> | INTEGER | The status of this trace. |