A Thread Message represents an actual message inside a Message Thread.
Every time a Message Thread is created, a Thread Message with the actual message is created inside of it.
Every time a reply is sent, a new Thread Message is created inside the Message Thread.
Object Definition
{
"body" : "Test",
"id" : 140754851856478,
"patient" : 140754851266561,
"practice" : 140754847006724,
"thread" : 140754851725403,
"to_document" : {
"chart_date" : "2021-05-06T16:22:00",
"created_date" : "2021-05-06T16:22:00",
"deleted_date" : None,
"document_date" : "2021-05-06T16:22:00",
"signed_by" : null,
"signed_date" : null
},
"sender" : 383,
"send_date" : "2021-05-06T16:22:00"
}
Attribute | Type | Allowed values | Description |
---|---|---|---|
body | string | The actual message body | |
id | int | The id of the thread message | |
patient | int | The patient id | |
practice | int | The practice id | |
thread | int | The message thread id | |
to_document.chart_date | date | The creation date of the to_document's patient chart | |
to_document.created_date | date | The creation date of the to_document | |
to_document.deleted_date | date | The deleted date of the to_document | |
to_document.document_date | date | The creation date of the to_document | |
to_document.signed_by | int | The id of whoever signed the to_document (if signed) | |
to_document.signed_date | date | The date of when the to_document was signed (if signed) | |
sender | int | The id of who sent the message | |
send_date | date | The date of when the message was sent |